Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by TCS Team. If you also belong to the team, you can get access from here

TCS Verified Tick

Compare button icon Compare button icon Compare
3.7

based on 86.2k Reviews

Filter interviews by

TCS Ruby on Rails Developer Interview Questions, Process, and Tips

Updated 16 Feb 2024

TCS Ruby on Rails Developer Interview Experiences

1 interview found

Interview experience
3
Average
Difficulty level
Easy
Process Duration
-
Result
-

I was interviewed in Jan 2024.

Round 1 - Technical 

(6 Questions)

  • Q1. Why is docker ps command used?
  • Ans. 

    The docker ps command is used to list all the running containers on a Docker host.

    • It provides information about the container ID, image used, command being run, status, ports, and names of the running containers.

    • It helps in monitoring and managing the containers on a Docker host.

    • The command can be used with various options to filter and format the output as per requirements.

    • Example: 'docker ps -a' lists all containers,...

  • Answered by AI
  • Q2. Why is docker system prune used?
  • Ans. 

    docker system prune is used to clean up unused Docker resources.

    • docker system prune helps to free up disk space by removing unused containers, images, networks, and volumes

    • It can be used to remove stopped containers, dangling images, unused networks, and unused volumes

    • The command can be customized with flags to specify which resources to prune

    • Example: docker system prune -a removes all unused resources, including stopp

  • Answered by AI
  • Q3. How is Ruby return keyword different from Java
  • Ans. 

    Ruby's return keyword is different from Java in terms of behavior and syntax.

    • In Ruby, the return keyword is optional and can be omitted.

    • Ruby's return keyword can be used to explicitly return a value from a method.

    • In Java, the return keyword is mandatory and must be used to return a value from a method.

    • Java's return keyword cannot be used to return from a block or lambda expression.

  • Answered by AI
  • Q4. How do you declare variable in ruby
  • Ans. 

    Variables in Ruby are declared by assigning a value to a name using the assignment operator (=).

    • To declare a variable, simply write the name of the variable followed by the assignment operator (=) and the value.

    • Ruby is dynamically typed, so you don't need to specify the type of the variable.

    • Variables can hold any type of data, including numbers, strings, arrays, hashes, etc.

    • Variable names in Ruby are case-sensitive and...

  • Answered by AI
  • Q5. List any 5 gems you have used in rails application
  • Ans. 

    1. Devise - authentication solution. 2. Paperclip - file attachment management. 3. Cancancan - authorization solution. 4. Sidekiq - background job processing. 5. RSpec - testing framework.

    • Devise: A flexible authentication solution for Rails applications.

    • Paperclip: A file attachment management library for ActiveRecord.

    • Cancancan: An authorization solution that provides a simple way to define abilities.

    • Sidekiq: A backgrou...

  • Answered by AI
  • Q6. What are migrations in rails
  • Ans. 

    Migrations in Rails are a way to manage database schema changes.

    • Migrations are Ruby classes that help modify the database schema.

    • They allow you to create, modify, or delete database tables, columns, and indexes.

    • Migrations provide a version control system for the database schema.

    • They ensure that all developers working on the project have the same database structure.

    • Migrations can be easily rolled back if needed, making ...

  • Answered by AI

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Oct 2022. There were 2 interview rounds.

Round 1 - Aptitude Test 

1 hr test with mcq and coding snippet

Round 2 - One-on-one 

(6 Questions)

  • Q1. What are pointers in c?
  • Ans. 

    Pointers are variables that store memory addresses of other variables in C programming language.

    • Pointers are used to manipulate data structures like arrays, linked lists, and trees.

    • They can be used to pass values by reference to functions.

    • Pointers can also be used to allocate memory dynamically using functions like malloc() and calloc().

  • Answered by AI
  • Q2. Write a linked list program.
  • Ans. 

    A linked list program is a data structure that stores a sequence of elements with pointers to the next element.

    • Create a Node class with a value and a next pointer

    • Create a LinkedList class with a head pointer and methods to add, remove, and traverse nodes

    • Example: LinkedList ll = new LinkedList(); ll.add(5); ll.add(10); ll.remove(5);

  • Answered by AI
  • Q3. Applications of data structures
  • Ans. 

    Data structures are used to organize and manipulate data efficiently in various applications.

    • Data structures are used in databases to store and retrieve data quickly.

    • In computer graphics, data structures are used to represent geometric objects.

    • Data structures are used in algorithms such as sorting and searching.

    • In networking, data structures are used to represent network packets and routing tables.

    • Data structures are u...

  • Answered by AI
  • Q4. Algorithm for merge sort
  • Ans. 

    Merge sort is a divide and conquer algorithm that recursively divides the input array into two halves, sorts them and then merges them.

    • Divide the array into two halves

    • Recursively sort the two halves

    • Merge the sorted halves

    • Repeat until the entire array is sorted

  • Answered by AI
  • Q5. Cloud computing application in real world in project
  • Ans. 

    Cloud computing is widely used in various industries for data storage, processing, and analysis.

    • Cloud computing allows for easy scalability and cost-effectiveness in managing large amounts of data.

    • Real-time collaboration and access to data from anywhere are some of the benefits of cloud computing.

    • Examples of cloud computing applications in real-world projects include Amazon Web Services (AWS), Microsoft Azure, and Goog...

  • Answered by AI
  • Q6. Java and nodejs questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Be precise and confident. Keep learning and solving code on platforms.

Skills evaluated in this interview

I applied via Referral and was interviewed in Mar 2022. There were 3 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. SQL and COGNOS related questions were asked.
Round 2 - Technical 

(1 Question)

  • Q1. SQL and cognos Related questions were asked.
Round 3 - HR 

(1 Question)

  • Q1. What is the expected CTC and few questions related to notice period and pay details.

Interview Preparation Tips

Interview preparation tips for other job seekers - Round 1 : Technical interview with INDIA team
Round 2 : Technical interview with Paris Team
Round 3: HR interview

I applied via Naukri.com and was interviewed in Nov 2021. There were 4 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Why do you want this Job?
  • Q2. What are your greatest strengths
  • Q3. Why should I hire you?
  • Q4. Tell me about yourself

Interview Preparation Tips

Interview preparation tips for other job seekers - Speak clearly and vary your to show you're intersted and enthusiastic.Listen to questions carefully and let the interview and let the conversation

Technical Lead Interview Questions & Answers

Genpact user image mohammed mazhar ahmed

posted on 14 Oct 2021

I applied via Naukri.com and was interviewed in Sep 2021. There were 4 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. They asked about my previous experience
  • Q2. As iam from sale field they asked to sale a Sony product to them
  • Q3. Some technical questions
  • Ans. About the Genpact like CEO of genpact
  • Answered by mohammed mazhar ahmed

Interview Preparation Tips

Interview preparation tips for other job seekers - Get knowledge of the company like CEO,head office and year of starting

I applied via Naukri.com and was interviewed in Feb 2022. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Selenium,java ,api testing,maven,manual testing

Interview Preparation Tips

Interview preparation tips for other job seekers - Be clear with concepts what u worked on

I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical as well as scenario based questions .

Interview Preparation Tips

Interview preparation tips for other job seekers - I had three rounds in total, First was technical , Managerial round also happened on tha same day. Difficulty level was medium but they almost covered all the technical concepts as well as communication skills..I was able to answer almost all the questions luckily... You should be able to relate these concepts with real time application in the project and elaborate it to depth.It lasted for around 1 hour and managerial for 15 mins. You should also be able to answer scenario based questions by applying you knowledge.Once you clear the first two round ,then HR round happens where you can discuss the further procedure.

Overall the procedure was quite smooth and hassle-free. People there are highly professional and always respond to our queries as a job seeker.

It was a really a nice interview experience.!!

I applied via Naukri.com and was interviewed in Sep 2021. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Easy reasoning questions

Round 3 - Coding Test 

Basic coding multiple choice questions

Round 4 - One-on-one 

(1 Question)

  • Q1. Wat is exception handling? Store procedure in sql? Indexing? Oops concept?
  • Ans. 

    Exception handling, stored procedures, indexing, and OOP concepts are important in software engineering.

    • Exception handling is the process of handling errors that occur during program execution.

    • Stored procedures are pre-written SQL code that can be executed with a single command.

    • Indexing is the process of optimizing database performance by creating indexes on frequently queried columns.

    • OOP concepts include encapsulation

  • Answered by AI

Interview Preparation Tips

Topics to prepare for HCL Infosystems Software Engineer interview:
  • .Net Core
  • Sql basic
Interview preparation tips for other job seekers - Just focus on basics,thats it!!

If u learn nly 1 thing,jst do it properly.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed before Aug 2022. There were 2 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. Design and technical
Round 2 - HR 

(1 Question)

  • Q1. Role and culture fit

Interview Questionnaire 

3 Questions

  • Q1. How to check server performance, incase application running on the server performing slow, what will you do ?
  • Ans. 

    To check server performance, monitor CPU, memory, disk usage. Use tools like top, htop, iostat. Check logs for errors.

    • Monitor CPU usage with top or htop command

    • Monitor memory usage with free or vmstat command

    • Monitor disk usage with df or iostat command

    • Check logs for errors related to the application

    • Use performance monitoring tools like Nagios or Zabbix

  • Answered by AI
  • Q2. How to actiavate a Volume Group or LV ?
  • Ans. 

    To activate a Volume Group or LV, use the vgchange or lvchange command.

    • Use the vgchange command to activate a Volume Group.

    • Use the lvchange command to activate a Logical Volume.

    • Specify the name of the Volume Group or Logical Volume as an argument.

    • Use the -a y option with vgchange to activate all Volume Groups.

    • Use the -a y option with lvchange to activate all Logical Volumes in a Volume Group.

  • Answered by AI
  • Q3. How would you present a SAN LUN to Solaris LDOM or CDOM ?
  • Ans. 

    To present a SAN LUN to Solaris LDOM or CDOM, we need to follow a few steps.

    • First, we need to identify the SAN LUN and the target LDOM/CDOM.

    • Then, we need to create a logical device using the format command.

    • Next, we need to configure the LUN using the cfgadm command.

    • Finally, we need to add the LUN to the LDOM/CDOM using the ldm add-vdsdev command.

  • Answered by AI

Skills evaluated in this interview

TCS Interview FAQs

How many rounds are there in TCS Ruby on Rails Developer interview?
TCS interview process usually has 1 rounds. The most common rounds in the TCS interview process are Technical.
How to prepare for TCS Ruby on Rails Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at TCS. The most common topics and skills that interviewers at TCS expect are Ruby Rails, AWS, GIT, MVC and SQL Server.
What are the top questions asked in TCS Ruby on Rails Developer interview?

Some of the top questions asked at the TCS Ruby on Rails Developer interview -

  1. How is Ruby return keyword different from J...read more
  2. Why is docker system prune us...read more
  3. How do you declare variable in r...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
TCS Ruby on Rails Developer Salary
based on 14 salaries
₹3 L/yr - ₹9.5 L/yr
At par with the average Ruby on Rails Developer Salary in India
View more details
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
67.6k salaries
unlock blur

₹5.1 L/yr - ₹15.9 L/yr

AST Consultant
51.2k salaries
unlock blur

₹8 L/yr - ₹25 L/yr

Assistant System Engineer
29.9k salaries
unlock blur

₹2.2 L/yr - ₹5.6 L/yr

Associate Consultant
28.8k salaries
unlock blur

₹8.9 L/yr - ₹32 L/yr

Explore more salaries
Compare TCS with

Amazon

4.1
Compare

Wipro

3.7
Compare

Infosys

3.7
Compare

Accenture

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview