i
TCS
Filter interviews by
I applied via Walk-in and was interviewed in Mar 2023. There were 3 interview rounds.
1 Q. #include
Int main ()
{
Printf("%x\n", -1>>1);
Return 0;
}
Output: ffffffff
2Q. #include
Int main ()
{
Unsigned int res;
Res=(64>>(2+1-2)) & (~(1<<2);
Printf("%d\n",res);
Return 0;
}
Output: 32
3Q.#include
Int main () //without semicolon..
{
If(printf("Hello world")){
}
}
Output: Hello world
1Q. 1397*1397=?
A.1951609
B.1981709
C.18362619
D.2031719
E.None of these
Output: 1951609
2Q. Which one of the following is not a
prime number?
A.31
B.61
C.71
D.91
Output: 91
3Q. (112*5⁴) =?
A.67000
B.70000
C.76500
D.77200
Output: 70000
I applied via Recruitment Consulltant and was interviewed before Dec 2021. There were 2 interview rounds.
I applied via Referral and was interviewed in Sep 2021. There were 3 interview rounds.
What people are saying about TCS
TCS interview questions for designations
I applied via Monster and was interviewed before Dec 2021. There were 2 interview rounds.
I applied via Recruitment Consultant and was interviewed in Aug 2020. There was 1 interview round.
Validating user input for factorial calculation
Use a loop to calculate the factorial of the number
Check if the input is a positive integer
Handle edge cases such as 0 and 1
Use try-except block to catch non-integer inputs
Reverse the bits of a given number
Use bitwise operators to extract and shift bits
Create a new variable to store the reversed bits
Loop through the bits and add them to the new variable in reverse order
I appeared for an interview in Sep 2021.
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Switch case is used for multiple conditions while if else is for binary conditions. Sorting can be done using various algorithms.
Switch case is faster than if else for multiple conditions
If else is more readable for binary conditions
Sorting can be done using bubble sort, insertion sort, quick sort, etc.
Example code for bubble sort: for(i=0;i
Difference between compiler and interpreter with a coding challenge
Compiler translates the entire code into machine language before execution while interpreter translates line by line during execution
Compiler generates an executable file while interpreter does not
Compiler is faster but debugging is harder while interpreter is slower but debugging is easier
Coding challenge: Write a program to find the sum of two numbers
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
Some of the top questions asked at the TCS Embedded Software Developer interview -
based on 3 interviews
1 Interview rounds
based on 12 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.2k
salaries
| ₹5 L/yr - ₹16 L/yr |
AST Consultant
51.9k
salaries
| ₹8 L/yr - ₹25 L/yr |
Associate Consultant
30.5k
salaries
| ₹9 L/yr - ₹32.1 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.8 L/yr |
Amazon
Wipro
Infosys
Accenture