TCS Technical Round Questions
Find the most asked theory Technical Interview Questions which were most asked in TCS Round, these questions are submitted by students who appeared for TCS Interview Round.
Also, visit our Main TCS Dashboard here to study for Technical, Coding, HR questions and Resume making strategies.
CheckList Given by TCS HR to your Interviewer, this is suggested topics he must stick to and only ask questions from. Depending on if you are from Coding or non Coding Branch, they will have different Checklist for you.
For CS/IT/MCA and other coding Domains –
- Try to stick to Technologies and Languages mentioned in Resume.
- Basic Questions on C / OOPS / Software Engineering / DSA i.e. you will necessarily be asked questions from these.
- If Resume mentions the any of the following -Basic Questions on DBMS / Computer Networks / Operating Systems, then ask questions on the same.
- Ask Questions about final year projects
For Non Coding Branches like EEE, Mech etc –
- Stick to Technologies and Languages mentioned in Resume.
- Very basic Questions on C / OOPS / other programming Language mentioned in Resume.
- Talk about Final year Projects – Can ask to make Circuit Diag / Diagrams / Formulas / Definitions only from topics related to Final year project of his respective Branch.
- Ask student about his favourite subject and ask basic questions on it.
We have collected about 475 sample interview experiences and made the list of most asked questions in TCS interview, best strategy and Syllabus
TCS Vs other Mass hiring Companies Interview Process Comparison
- TCS likes to go in Technical details of your Branch Projects, definitions, diagrams, code etc
- Other companies like Cognizant and Accenture specifically like to keep it non technical and focus more on English
- Duration of Interview
- While in Accenture and CTS the duration of Interview is around 15 mins
- For TCS it ranges anywhere between 30 mins to 45 mins
- Coding Questions
- Companies like Accenture and Deloitte don’t ask coding questions at all
- But, TCS, Wipro will ask you basic coding questions like Palindrome, pattern printing etc even if you’re from Non CS IT round.
- C / OOPS Questions
- TCS does ask C / OOPS concept to all Branches. Well, you’re applying to an IT company they expect you to know a little about C / OOPS theory.
- Companies like Accenture, Deloitte don’t ask C / OOPS concept. But, their training is very difficult, so even if you get selected. You need to learn all about coding and technical aspects
- Freedom of Topic Selection
- All bulk companies give freedom of topic selection to you, generally the interviewer will ask you the favourite subject and will ask questions from that, or will ask you the questions from topics, chapters and projects mentioned in your Resume.
Student X : For Off Campus drive I had to wait for 5 hours for my TR to start. When I entered the room Interviewer asked my how long I was waiting(Told him 5 hours) so he offered me to drink water.
Student Y: Interviewer took my Resume and looked on my Resume and asked why I had low percentage in class 12 despite having good percentage in 10th and Engineering.
I told him that i was suffering with malaria exactly at the time of the exam and didn’t even have strength to write the whole paper
Firstly I wished afternoon to my interviewer.I was nervous as it was my interview experience, he made me comfortable and asked some few questions regarding my CV like branch
What is the use of printf function in C?
Here user had said he knew C, if you say that you know some other language like Java then he will ask Language specific questions.
- In C programming language, printf() function is used to print the “character, string, float, integer, octal and hexadecimal values” onto the output screen. Both are defined in stdio.h library.
What is typeDef in C?
typedef : typedef is used to give data type a new name, for example
// C program to demonstrate typedef
// After this line BYTE can be used
// in place of unsifned char
typedef unsigned char BYTE;
BYTE b1, b2;
b1 = ‘c’;
printf(“%c “, b1);
How would you define a constant variable ?
A constant, like a variable, is a memory location where a value can be stored. Unlike variables, constants never change in value. You must initialize a constant when it is created. C++ has two types of constants: literal and symbolic.
A literal constant is a value typed directly into your program wherever it is needed. For example, consider the following statement:
long width = 5;
This statement assigns the integer variable width the value 5. The 5 in the statement is a literal constant. You can’t assign a value to 5, and its value can’t be changed.
What is stdio.h?
- What is use of scanf()
- What is a function in c?
- What is the use of Define in C?
- Size of integer data type?
- It depends on compiler, most compilers have int data type as 4 byte storage
Note – If you don’t know Java then ignore Java questions below and study OOPS concept. But, if you say Java then apart from OOPS concept he will also ask Java specific OOPS questions. We think it is better if you say C++ rather than Java, if you know both of them.
- Rate urself in JAVA?
Follow – up
- What is OOP?
- What is OOP Concept?
- Difference b/w encapsulation and data hiding.
- Final Keyword.
- Program in Java to check prime number.
- Program in Java to print star pattern.
- Is java platform dependent or not?
- Difference between C++ and Java?
- What is inheritance?
- What is polymorphism?
- What is operator overloading?
- What is inheritance?
- What is data abstraction?
- What is data encapsulation?
- What are constructors and destructors?
- What is a class and what are objects?
- what is final keyword in java?
- Abstract Classes vs Interfaces
- How to implement Multiple Inheritance in C++?
- What are the Features of OOPS?
- What is Data Structure?
- b/w Array and Linked List?
- if we have the data of a banking system, then which data structure would you prefer to use?”.
At first, I replied using hash map, since each customer has its unique account no. Then they asked why hash map?
I said because it would processes the query related to each customer in O(1) complexity.
Then they asked for reducing the space complexity, again at first I said using linked list but at the last we arrived at common consensus of using BST.
I was from ECE branch so had some branch related questions.The panelist were googling some ece questions and then asking you.It was basic .They were not from ece background so you can start your answer with any details you know about it (correct) and then extend your answer.They won’t be able to make out.They just want to know the basic thing.
- What is companding in EC?
- What is High modulation rate?
- What are DT signals?
In Mechanical Most of the questions were from my Resume.
- First most of the questions were from my Resume class 10,12 percentages etc
- Then he asked me about my Favourite subjects
- Then he asked me questions on my favourite topic
- Then he asked about project
- Asked to make relevant diagram about my project
- Formulas related to project
1. What parameters influence the tool life ?
Tool materialWork materialSpeed, feed and depth of cutTool geometry work systemCutting fluidBuilt up edgeVibration behaviour of the machine tool.
2. Mention the function of intermediate stage in a generalised measurement system.
Amplify signal without affecting its waveformRemove unwanted noise signals that tend to obscure the inputCapable of doing other conditioning like differentiation/integration, A/D conversion etc.
3. What is a signal flow graph ?
A signal flow graph of a system is a graphical model in which nodes represent the system variables and directed branches between the nodes represent relationship between the variables. In a signal flow graph, a forward path originates from the input mode and terminates at output mode without encountering any mode more than once.
4. Explain the difference between rotational and irrotational flow.
In rotational flow the vorticity is non zero and in irrotational flow it is zero. In irrota¬tional flow the net rotation of a fluid element about its own mass centre is zero as it moves from one place to another. For it, dv/dx = du/dy.
5. Define the term stability of a feed back control system ?
A system is said to be stable if the output of a system after fluctuations, variations or oscilla-tions, settles at a reasonable value for any change in input.
6. What is meant by precision ?
Precision is defined as the ability of instrument to reproduce a certain set of readings within a given accuracy.
7. What is boundary layer ?
Boundary layer is the fluid layer in the neighbourhood of a solid boundary where the effects of fluid friction are predominant.
8. On what account the boundry layer exists ?
Boundary layer m fluid flow exists on account of fluid density.
9. Explain the difference between laminar flow and turbulent flow.
In laminar flow the fluid particles move along smooth, regular paths which can be pre¬dicted in well advance. Turbulent flow is characterised by random and erratic movements of fluid particles resulting in formation of eddies. For flow to be laminar in a pipe, the Reynold’s number is less than 2000 and for flow to be turbulent it is greater than 4000.
10. What is the difference between path line and stream line ?
A path line is a curve traced by a single fluid particle during its motion. A stream line is an imaginary line drawn in a flow field such that a tangent drawn at any point on this line represents the direction of the velocity vector. There is no flow across the stream line.
11. What is the difference between steady and unsteady flow ?
In steady flow the velocity at a given point does not change with time whereas in unsteady flow it changes with time.
12. What is stagnation point and stagnation pressure ?
A stagnation point is one at which velocity is zero. Stagnation pressure is the sum of static pressure and dynamic pressure.
13. What is the hydraulic-grade line ?
It is the line which shows tne variation of piezometric head.
14. Under what condition the thickness of thermal boundary layer and hydrody-namic boundary layer is same ? When Prandtl number is equal to unity.
15. What keeps the shaft in floating condition in hydrodynamic journal bearing ?
Hydrodynamic pressure developed in the lubricant.
16. Why the elements of higher pairs must be force closed ?
This is necessary to provide completely constrained motion.
17. What is the value of coefficient of friction for ball bearing ?
Ans: 0.1 to 0.25.
18. Why belts are subject to creep ?
Due to uneven extension and contraction of belt.
19. What is the ratio of damping coefficient to critical damping coefficient called ?
20. In which type of lubrication the starting friction is low ?
In hydrostatic lubrication.
21. Whether Bernoulli’s equation is applicable for streamline straight and rotational flows ?
22. When a plate slides over a parallel plate, what is the relationship between vis¬cous force and the lubricant thickness ?
They are directly proportional.
23. How the stability of empty ship increased.
By adding ballasts at the bottom level.
24. Define Froude number.
It is the square root of ratio of inertia force to gravity force.
25. What for Maning’s formula used ?
It is used to determine velocity of flow in pipe.
26. What is the maximum efficiency of power transmission through a pipe ?
27. What is the necessary and sufficient condition for bodies in floatation to be in stable equilibrium ?
Centre of gravity of body should be located below metacentre.
28. Under what condition the thermal boundary layer thickness will be equal to the hydrodynamic boundary layer thickness ?
When Prandtl number is unity.
29. How laminar boundary layer thickness varies on a flat plate ?
It is proportional to the square root of the distance from the leading edge.
30. Name the axial flow reaction turbine with adjustable vanes.
31. Define the degree of reaction of a turbomachine.
It is the ratio of total pressure change in the rotor to that in the stage.
32. What is meant by relative stability ?
If the system is found to be stable, then it is necessary to know the stable strength or degree of stability which is called relative stability. Phase margin and gain margins are the measures of relative stability.
33. On what factors the efficiency of a centrifugal pump depends ?
The efficiency of a centrifugal pump depends on size, speed and type number.
34. Define transducer ?
Transducer is an element which converts the signal from one physical form to another without changing the information content of the signal.
35. A 200 mm impeller of centrifugal pump develops discharge head of 2 kg/cm2. If discharge head is required as 8 kg/cm2, what should be diameter of impeller. Ans: 400 mm.
36. Why thin-plate orifice is frequently recommended for flow measurement in most of the cases ?
It is recommended because of its high accuracy, low cost, and extreme flexibility.
37. How the water flow from a hydrant in a city water system measured ?
It can be measured by allowing the flow of water from a hydrant and noting down the horizontal distance (x) where jet strikes the ground and the vertical distance (y) of outlet from ground.
Then flow = area of hydrant x
38. For the same size, length and condition of pipe, how the friction head loss changes if pipe size is varied.
Under same flow conditions the friction head loss increases as the size change to the 4.8th power.
39. How does the capacity changes in pipe flow with increase in pipe diameter if head is constant ?
At constant head, capacity is proportional to d25. .
40. How does the head change in pipe flow with change in diameter, if capacity is constant.
At constant capacity, head is proportional to
41. How head varies in pipe flow with change in flow, if pipe diameter is same.
At constant diameter, head is proportional to (flow)2.
42. Give some properties of errors ?
Errors give the difference between the measured-value and the true valueAccuracy of a measurement system is measured in terms of errorA study of error helps in finding the reliability of the results.
43. Define the term contraction coefficient.
The ratio of area of jet (contracted) and the cross section of the orifice.
44. What for pycnometer is used ?
Pycnometer is used to measure specific gravity of the liquid.
45. How may types of bonded strain gauges used ?
Fine wire strain gaugeMetal foil strain gaugePiezo resistive gauge.
46. Name various functional elements of an instrumental system ?
(1) Primary sensing element
(2) Variable conversion (or) transducer element
(3) Variable manipulation element
(4) Data transmission element
(5) Data processing element
(6) Data presentation element
(7) Data storage and playback element.
47. Name the three stages of a generalised measuring system.
(i) Sensing and converting the input to a convenient and practicable form.
(ii) Processing/manipulating the measured variable.
(iii) Presenting the processed measured variable in quantitative form.
48. How is a Pelton turbine braked ?
A pelton wheel is braked by a nozzle directing a jet on the back of the buckets.
49. What is static pressure ? How is it measured.
The pressure caused on the walls of a pipe due to a fluid at rest inside the pipe or due to the flow of a fluid parallel to walls of the pipe is called static pressure. This static pressure is measured by inserting a pressure measuring tube into the pipe carrying the fluid so that the tube is at right angle to the fluid flow path.
50. What are the requirements of a control system ?
Stability, accuracy and speed of response are the three requirements of control system.
51. What is the difference between weir, and submerged weir.
Any obstruction of a streamflow over which water flows is weir. When the downstream water level rises over the weir crest, it is called submerged weir.
52. What is the difference between spillway and siphon spillway ?
Spillway is an essential part of a large dam and provides an efficient and safe means of releasing flood water that exceeds the design capacity of the reservoir.
Siphon spillway is spillway designed to discharge water in a closed conduit under negative pressure.
53. What is the difference between culverts, stilling basin, and standpipe ?
Culverts are built at the points of lowest valley to pass water across the embankments of highways or railroads.
Stilling basin is transitional energy dissipating structure to avoid the damaging process by a highly accelerated spilled water.
Standpipe is used principally for alleviating the transient pressures in large pipeline system. It also works as a pressure relief valve for the upstream pipe during the turbine shut off.
54. What do you understand by run-of-river scheme in hydro power generation ?
A scheme in which the discharge is varying and only that much water can be utilised for conversion as available in the river.
55. What is the difference between firm power and secondary power in hydro power plants ?
The approximate constant and continuous power which is assured at power station and would be available throughout the year is called firm power.
In run-of-the river schemes which are generally designed for % availability of water, the firm power would be available for at least % of the years during the life of the scheme. However in some years discharge in the river may be more than % availability discharge and some extra power known as secondary power can be generated.
56. What is the criterion for determining economic diameter of power tunnel ?
The economic diameter of a power tunnel is determined such that the total value of following two factors is least
(i) annual loss of revenue on account of power head lost due to friction.
(ii) recurring annual expenditure.
57. What are the three functions served by a surge tank in a hydro plant ?
The three functions served by a surge tank are
(i) flow regulation – act as a reservoir for acceptance or delivery of water to meet requirements of load changes.
(ii) water-hammer relief or pressure regulation.
(iii) improvement in speed regulation.
58. What is the criterion to determine the economic diameter of penstock ?
The economic diameter of a penstock required to carry a discharge is the one at which annual costs due to the greater investment do not exceed the annual value of resulting increment energy output.
5. If jet ratio for a pelton wheel is 12 then number of buckets should be …. ?
0.5 x 12+ 15 = 21.
60. What is the difference between anti-friction and hydrostatic bearings ?
In anti-friction bearings rolling components are introduced between the sliding surfaces. In hydrostatic bearings lubricant is supplied at a high pressure to a pocket in the bearing.
61. What is inviscid fluid ?
It is the frictionless fluid.
62. State law of conservation of momentum ?
The ratio of change of momentum of a mass of fluid is equal to the vector sum of all external forces acting on it.
63. Define turbulent flow ?
Flow in which adjacent layers mix continuously, so that the flow pattern is unsteady, full of eddies, and apparently without any mathematically expressible regularity.
64. Define Reynold’s law of similitude ?
Two geometrically similar flow systems subject only to friction and inertia forces are dy¬namically similar if both have the same ‘Reynolds’ number.
65. What is the difference between boundary lubrication and fluid film lubrication ?
In boundary lubrication condition the ratio of thickness of lubrication film to surface roughness (CLA value) is less than 1 and for fluid film lubrication condition this ratio is greater than 5 and less than 100.
66. A bearing in which hydrodynamic pressure is generated due to rotation of jour¬nal is called… ?
67. For a journal running in a bearing clockwise at steady state, where will be the minimum clearance ?
To the left of the load line.
68. Out of impulse and reaction type hydraulic turbines, which has higher specific speed ?
69. What is order of the system.
The order of the system is the order of the highest derivative of the ordinary differential equation with constant coefficients which defines the system mathematically.
70. What is Bode plot ?
Bode plot is a logarithmic plot used to represent transfer functions. The Bode plot consists of two plots namely.
(i) The plot of magnitude in db (on linear scale) vs. frequency to (on log scale)
(ii) The plot of phase angle in degrees (on linear scale) vs. frequency co (on log scale)
71. Navier stokes equation represents the conservation of which quantity ?
72. What are the characteristics of precision ?
(i) If a number of measurements are made on same true value, the degree of closeness of these measurements gives precision
(ii) It is a measure of the degree of repeatability or reproducibility of the measuring system.
73. What is meant by loading ?
During the act of measurement the measuring instrument takes energy from the signal source or measured medium and thus the signal source is altered. This effect is called loading.
74. Give two uses of Bode plots.
(i) They are the logarithmic plots used to represent transfer functions
(ii) They are used in the calculation of gain margin and phase margin.
75. What is the name of nondimensional group for ratio of inertia force to gravity force.
76. The head loss in a fully developed laminar flow in a circular pipe due to friction is directly proportional to … ?
Square of mean velocity.
77. For what type of flow, the streamlines, pathlines and streaklines are virtually identical ?
78. How the streamlines and equipotential lines are related in a flow field ?
They are orthogoial everywhere in the flow field.
79. Under what kind and condition of a fluid the velocity potential exists ?
80. Where should centre of gravity of a body lie for it to float in stable equilibrium ?
e.g. should be located below the metacentre.
81. For fully developed flow through a pipe, what is the ratio of maximum to average velocity ?
82. Out of centrifugal, axial and positive displacement pumps, which has maximum specific speed and which has minimum ?
Axial pump has maximum specific speed and reciprocating pump has minimum.
83. Specific speed of a turbine is 800. What type of turbine is this ?
84. In which type of lubrication system the starting friction is low ?
85. At which point the cavitation is most likely to occur in a hydel plant ?
At turbine rotor exit.
86. What is the difference between lower pair and higher pair ?
In a kinematic pair, if the elements have surface contact when in motion, the pair is called lower pair and if elements have line or point contact the pair is called higher pair.
87. What do you understrand by inversions and how many inversions are possible in a kinematic chain having ‘n’ links ?
Inversions are different mechanisms obtained by fixing different links in a kinematic chain but keeping relative motions of links unchanged with respecat to one another. A kinematic chain with ‘n’ links can have ‘n’ inversions.
88. What is the difference between basic kinematic chain and compound kinematic chain ? What is the criteria for a chain to be constrained ?
A basic kinematic chain consists of four kinematic links and a compound kinematic chain is a constrained chain of more than four links. A chain is constrained if no. of binary joints and half of number of higher pairs is equal to 3/2 of no. of links minus 2.
89. What is the difference between a machine and a mechanism ?
A mechanism consists of links forming a constrained kinematic chain. Its function is ba¬sically to transmit or modify motion. A machine is a mechanism but here we are concerned with forces to be transmitted and it is used to modify mechanical work.
90. In which type of motion, acaceleration is directly proportional to displacement ?
91. What is the function of a transducer element ?
The function of a transducer element is to sense and convert the desired input into a more convenient and practicable form to be handled by measurement system.
92. What is the direction of tangential acceleration ?
The direction of tangential acceleration may be same or opposite to that of angular velocity.
93. What is the number of degrees of freedom constrained in each case by the kinematic pairs.
(i) Itevolute pair, (ii) cylindrical pair, (iii) Screw pair, (iv) Spherical pair.
Ans: (i) Revolute pair—single degree of freedom.
(ii) cylindrical pair—two degrees of freedom.
(iii) Screw pair—one degree of freedom.
(iv) spherical pair—three degrees of freedom.
94. What is the purpose of D-slide valve in steam engines ?
It controls the piston position for cut off of steam, for release of steam and compression position for steam in cylinder.
95. What is the purpose of Corliss valve in place of D’-slide valve in steam engine ?
Corliss valve reduces condensation, provides independent control on admission, cut off, release and compression, and reduces driving power requirements.
96. On what factor the size of cam depends ?
Size of cam depends on base circle.
97. If base circle diameter of cam increases, what happens to pressure angle ?
98. If angular speed of cam is increased two times, how much jerk will be increased ?
99. Define primary and secondary transducers ?
A primary transducer senses a physical phenomena and converts it to an analogous output.
The analogous output is then converted into an electrical signal by secondary transducer.
100. What is the relationship between (i) axes of spin, precession, and applied gyroscopic torque and (ii) in between their planes ?
The axes of spin, precession, and applied gyroscopic torque are contained in two planes perpendicular to each other, and planes of spin, precession, and applied gyroscopic torque in the three planes perpendicular to one another.
Please add your interview experience for other branches in the comment section below –
It will be added here
Student X: Then he said you may leave and asked me do you have any questions.
Always ask questions about technologies you can work on TCS, How is it like for the interviewer to work in the company, Corporate Social Activities or specialisation on which interviewer works on.
This questions is asked to check if you are nervous on not, not asking any questions shows that you are nervous and not conversational.
Finally he told me any queries for me then I asked in which field I have to work then he said no specific field later on it will be decided based on your performance, hopefully u will get selected for the next round , be prepared for the next round and suggest me to focus on ur communication . I thanked him and shook hands asked me to send the next candidate.
CS Student who made android app as final year project
- Asked about my final year Projects.
- Android Architecture draw
- Android Layout draw
Creating a text input in Android app
- Lifecycle of android app. Onstart, onResume, onPause etc.
Summary for Final year Project
Questions on your final year project will definitely be asked in the interview make sure you know the following –
- All diagrams related to project
- Algorithm(if any) for your project
- Basic definitions of the concepts used in project
- A little in detail about the related subject of final year project
The interview will give you points out of 10 for each of the following –
- Command on Procedural Language i.e C
- Command on any Object Oriented Language
- Command on General Branch specific knowledge
- Verbal Communication
- Time Management skills
- Outgoing and Friendly
- Team Player and Collaborative
Human Resource (HR)
- Relocation willingness
- Culture Fit with TCS
- Knowledge about TCS
- Work ethics
- Dress Code
- Positive attitude
Finally, all the scores are added and it is decided to select top X% of the students.
Note – Scores of Written round are also added here.
Now, TCS recommends asking student which topic he likes or knows and then interviewer should ask questions on this section.
He will ask questions on C and OOPS to CS/IT guys and only C to non CS/IT guys and then will ask you about your subject preference.
If you say DBMS then he will ask questions on this section –
- Tell which subject you read recently for interview – DBMS.
Follow Up Questions –
- Tell about ur educational background- explained.
- Tell which subject you read recently for interview – DBMS.
- What is DBMS.?
- What is advantage of DBMS?
- What is redundancy?
- How to remove redundancy?
- What is Normalization?
- Tell about normal forms?
- What is DDL,DML,DCL?
- Write Query to create a table?
- Copy data from one table to another table?
Second max salary of an employee
Right outer join query and tabulated output
Normalization definition and anomalies
Give employee table asked some simple SQL query
- What is Indexing and Clustering in RDBMS? Why we used?
- Types of Joins in RDBMS
- Write a nested query.
- Threads in OS
- What are different types of Scheduling Algorithm?
- What is SJF?
- What is FCFS?
- What is priority scheduling?
- What is SDLC
- What is Waterfall model
- What is spiral model
- What is white box testing
- What is black box testing
This was Technical round. The questions were :
- Introduce yourself.
- Why you choose to do M.Tech.
- What is static variable?
- What are pre-processor directives?
- What are style sheets?
- What is the linking tag in HTML?
- What is Waterfall model?
- How to call a constructor using another constructor? (using super keyword).
- What is OOPS?
- What are the advantages of OOPS (polymorphism, dynamic binding, inheritance, class, object, message passing).
- What is polymorphism?
- What is Cloud computing?
- What is IOT?
- What is big data?
Please submit the questions asked to you in TCS in the form below-
We are sure PrepInsta would have helped you in Placements, help us back ^_^.