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
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 applied via Campus Placement and was interviewed before May 2021. There were 4 interview rounds.
VERBAL QUANT DI/LR and Picture based test
Fibonacci series can be easily implemented using loops in C++ or C.
Declare variables for first two numbers of the series
Use a loop to calculate and print the next number in the series
Repeat the loop until desired number of terms are printed
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
I am open to working nights and weekends if it aligns with project needs and team goals, ensuring productivity and collaboration.
Flexibility: I understand that software development can require off-hours work, especially during critical project phases.
Team Collaboration: Working nights or weekends can enhance communication with team members in different time zones.
Project Deadlines: I am willing to put in extra hours to...
based on 3 interview experiences
Difficulty level
Duration
based on 15 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹3.9 L/yr - ₹8.3 L/yr |
IT Analyst
65.5k
salaries
| ₹7.7 L/yr - ₹12.7 L/yr |
AST Consultant
53.6k
salaries
| ₹12 L/yr - ₹20.6 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.5 L/yr - ₹6.4 L/yr |
Associate Consultant
33k
salaries
| ₹16.2 L/yr - ₹28 L/yr |
Amazon
Wipro
Infosys
Accenture