i
TCS
Filter interviews by
Clear (1)
let is mutable and can be reassigned, const is immutable and cannot be reassigned
let allows reassignment of values, const does not
const must be initialized with a value at declaration, let can be declared without a value
const is block-scoped, let is function-scoped
map() is a higher-order function in JavaScript used to transform elements of an array.
map() takes a callback function as an argument and applies it to each element of an array, returning a new array with the results.
It does not mutate the original array, but creates a new one.
Example: const numbers = [1, 2, 3]; const doubled = numbers.map(num => num * 2); // doubled is [2, 4, 6]
A linked list is a data structure consisting of nodes where each node contains a data field and a reference to the next node.
Consists of nodes connected by pointers/references
Does not have a fixed size like an array
Can easily insert or delete elements without shifting other elements
Example: Singly linked list, Doubly linked list
Bubble Sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Initialize an array of strings to be sorted
Repeat until no swaps are needed: Compare adjacent elements and swap if necessary
Continue until the array is sorted in ascending order
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance in object-oriented programming languages like Java allows for polymorphism.
What people are saying about TCS
It is totally depends on basic concepts and mathematics
TCS interview questions for designations
I applied via LinkedIn and was interviewed before May 2023. There were 3 interview rounds.
Easy to medium test good test
Two coding questions easy to modrate
Get interview-ready with Top TCS Interview Questions
I applied via Naukri.com and was interviewed in Mar 2022. There were 2 interview rounds.
Aggrawal
I applied via Campus Placement and was interviewed before Aug 2021. There were 3 interview rounds.
3 hours of test which consists of Aptitude,verbal, reasoning questions and coding of 2 questions.
i indicates the index of an element in an array.
i is a variable used to access elements in an array.
It starts at 0 for the first element and increments by 1 for each subsequent element.
For example, in the array ['apple', 'banana', 'orange'], i=0 would refer to 'apple', i=1 to 'banana', and i=2 to 'orange'.
Genetically modified organisms (GMOs) are organisms whose genetic material has been altered in a way that does not occur naturally.
GMOs are created by inserting genes from one organism into another to give it a desired trait.
They are commonly used in agriculture to create crops that are resistant to pests or herbicides.
GMOs have been a controversial topic due to concerns about their safety and potential impact on the e...
.NET
I applied via Walk-in and was interviewed before Sep 2020. There were 4 interview rounds.
I was interviewed before Sep 2020.
Round duration - 140 minutes
Round difficulty - Medium
Test timing was at 2:00 pm , it was conducted in a college and the environment was good for the test. Camera was a primary part of test, so no suspicious activity.
Given two numbers in the form of two arrays where each element of the array represents a digit, calculate the sum of these two numbers and return this sum as an ar...
Given two numbers represented as arrays, calculate their sum and return the result as an array.
Iterate through the arrays from right to left, adding digits and carrying over if necessary
Handle cases where one array is longer than the other by considering the remaining digits
Ensure the final sum array does not have any leading zeros
Round duration - 20 minutes
Round difficulty - Easy
The round was conducted at around 12 p.m. I was called at the college location and then it was conducted. The interviewer was quite polite and frank.
Round duration - 8 minutes
Round difficulty - Easy
This round was conducted right after finishing and clearing the technical round at the same place and on the same day.
Tip 1 : Practice atleast 2-3 Coding problems daily so your logic building becomes stronger.
Tip 2 : Exercise problems based on OOPS concepts and others too.
Tip 3 : If you can have your own project built, then it's the major point and will act as a plus point.
Tip 1 : Your resume should be in standard form, short and simple will be more effective.
Tip 2 : Whatever you have learned, you need to mention it in your resume as that will be your primary source of selection and having project on your resume is important.
based on 8 interviews
2 Interview rounds
based on 26 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹0 L/yr - ₹0 L/yr |
IT Analyst
66.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
AST Consultant
51.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
29.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
Wipro
Infosys
Accenture