i
TCS
Filter interviews by
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-sensitiv...
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 contai...
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, ma...
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 ...
What people are saying about TCS
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.
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 bac...
I appeared for an interview in Jan 2024.
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,...
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...
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.
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...
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...
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 ...
I applied via LinkedIn and was interviewed before Jul 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed before Oct 2020. There were 3 interview rounds.
I applied via Amcat and was interviewed before Jul 2021. There were 2 interview rounds.
Refer R S Agarwal book for apptitude
A C program to perform arithmetic operations on fractional numbers.
Use float or double data type to store fractional numbers.
Use scanf() to take input from the user.
Perform arithmetic operations like addition, subtraction, multiplication, and division.
Use printf() to display the result.
What people are saying about TCS
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via LinkedIn and was interviewed before Jan 2021. There was 1 interview round.
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
A Fibonacci program generates a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.
The Fibonacci sequence starts with 0 and 1.
Each subsequent number is the sum of the previous two: 0, 1, 1, 2, 3, 5, 8, 13, ...
Common implementations include recursive, iterative, and using dynamic programming.
Example of an iterative approach in Python: ```python def fibonacci(n): a, b = 0, 1 ...
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
I applied via Recruitment Consulltant and was interviewed before Feb 2021. There were 3 interview rounds.
1.It covers all aptitude topics, and English sentences
2.Essay writing
3.Coding
Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.
Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.
Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.
For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.
M...
based on 3 interview experiences
Difficulty level
based on 1 review
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
65.6k
salaries
| ₹7.7 L/yr - ₹12.6 L/yr |
AST Consultant
53.4k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.6 L/yr - ₹6.4 L/yr |
Associate Consultant
32.8k
salaries
| ₹16.2 L/yr - ₹28 L/yr |
Amazon
Wipro
Infosys
Accenture