TCS Interview Process
Tata Consultancy Services is a good platform to begin your
professional career as a new employee. It provides a great
workplace as for the freshers and good ambiance conductive
to individual. It holds a mass recruiting procedure every year
to find the employees for the positions
Click here to watch the video
TCS Interview Process
Interview Rounds
1. TCS NQT 2. Technical round 3. Managerial round 4. HR round
TCS Interview Process
1. TCS NQT
Numerical Ability 20-30 Questions
Verbal 20-25 Questions
Reasoning Ability 25-35 Questions
Programming Logic 5-10 Questions
Coding 1-2 Questions
The first round of TCS is a NQT (National
Qualifier Test) that is an ability test
conducted to evaluate the ability and skills
of a person. These test is conducted
through online and in-person at TCS iON
Authorised Exam Center
TCS Interview Process
2. Technical round 3. Managerial round 4. HR round
Technical round is a face to face
round consist of purely technical
based questions to access the
knowledge of Data Structure,
Operating System, Programming
and etc, of your choice. In this
round there is a chance to write
codes on a paper
This is a face-to-face round
handled by the senior members
of the company. This round
contains purely technical
questions and managerial
questions. The panel will assess
your corporate culture fit, attitude,
soft skills, and other factors
HR round is the final round.
Candidates are expected to be
adaptable, yet this phase allows
for negotiation. The goal is to
maintain a pleasant and confident
demeanor. Interviews can be long
and tedious, so remember to
smile!
TCS Interview Questions and Answers
01 Who is eligible for TCS NQT?
 Student with any degree are allowed for the TCS NQT
 Freshers and people with less than two years of experience
 Final-year/pre-final undergraduate, graduate, and diploma
students
02 What is BFS?
Breadth First Search is an algorithm for searching a tree data
structure for a node which satisfies the given property. It starts at
the tree root and explores all nodes of the tree at the
present depth prior to moving on to the nodes at the next depth
level. The extra memory, usually a queue, should needed to
keep track of the child nodes that were encountered but not
explored
03 What is JDK?
The Java Development Kit is a distribution of Java Technology
by Oracle Corporation. It implements the Java Language
Specification and the Java Virtual Machine Specification that
provides the Standard Edition (SE) of the Java Application
Programming Interface (API)
04 How to Split String in Java?
public class Simpli {
public static void main(String args[])
{
String str = "Simplielearn";
String[] arrOfStr = str.split("e", 2);
for (String a : arrOfStr)
System.out.println(a);
}
}
05
Explain the swapping of two numbers without using the third variable
int a = 2, b = 4;
// Code to swap the values of a and b
a = a + b;
b = a - b;
a = a - b;
06 Write a program to check palindromes?
#include <stdio.h>
int main() {
int n, number, reversed = 0, remainder;
printf("Enter an integer: ");
scanf("%d", &n);
number = n;
while (n != 0) {
remainder = n % 10;
reversed = reversed * 10 + remainder;
n /= 10;
}
if (number == reversed)
printf("%d is a palindrome.", number);
else
printf("%d is not a palindrome.", number);
return 0;
}
07 What is Recursion?
Recursion is a programming technique where a function or
algorithm that calls itself one or more times until it reaches the
specified condition at which time the rest of each repetition is
processed from the last one called to the first
08 What is Database?
A Database is a collection of the data stored and accessed by
the computer system, which can be designed by formal design
and modeling techniques
09 What is JVM?
Java Virtual Machine is an abstract machine that offers a
runtime environment of byte-code execution in java. It is a
specification that describes how the Java Virtual Machine should
work
10 Explain use join() function in Python?
join() is used to defined a string method which basically returns
a string value. It is concatenated with the elements of an iterable
and provides the flexible way to concatenate the strings
11 Explain the use of break statement?
Break statement is used to terminate the execution of the
current loop and also transfer control to outside of the current
statement
12 What is tuple?
A tuple is a built-in data collection type of python. It allows to
store values in a sequence manner. It uses () brackets rather
than [] square brackets to create a tuple. It is not possible to
remove any element but can be able to find in the tuple
13 Mention different types of operators in Python?
 Arithmetic Operators
 Relational Operators
 Assignment Operators
 Logical Operators
 Membership Operators
 Identity Operators
 Bitwise Operators
14 What is the use of DCL Language?
Data control language allows to control the access and
permission management to the database. It is also the subset of
a database, that decides that what part of the database should
be accessed by which user . DCL mainly includes two
commands, GRANT and REVOKE
15 Which is more important the money or the work?
In my point of view work is more important to me. Once we
achieve and over perform the target and helps to increase the
growth of the company, then definitely money will follow us
16 Why should we hire you?
As a fresher, am looking for an opportunity to prove my ability. If
I will be a part of this company, I'll put all my efforts and
strengths to make your company reach great achievements,
and if you hire me, I will get an opportunity to build my
professional experience through your company
17 What is DBMS?
DBMS stands for Database Management System, is a software
program that works as an interface between the database and
the end-user. DBMS provides the power to manage the data,
the database engine, and the database schema to facilitate the
organization and manipulation of data using a simple query
18 List some features of JavaScript.
• Interpreted programming language
• Lightweight
• Complementary to Java
• Open source
• Cross-platform
• Complementary to HTML
19 Mention use of help() and dir() function in Python
Help() function: The help() function is used to display the
documentation string and facilitates to see the help related
to modules, keywords, and attributes
Dir() function: The dir() function is used to display the
defined symbols
20 What is mean by DOM?
DOM is basically stands for Document Object Model. It
represents the HTML document and can be used to access
and change the content of HTML
21 List few advantages of Packages in Java
1. Packages in java avoid the name clashes
2. Packages in java also provides easier access control
3. It is easier to locate the related classes using packages
in java
22 List few advantages of DBMS?
1. Provides multiple user interfaces
2. Redundancy control
3. Ensure data consistency
4. Restriction for unauthorized access
5. Easy accessibility
6. Provides backup and recovery
7. Enforces integrity constraints
23 Mention various OOPs concepts in C++?
• Class
• Object
• Data binding
• Inheritance
• Encapsulation
• Abstraction
• Polymorphism
24 What is clustered index in SQL?
A clustered index is a table where the data for the rows are
stored. It also determines the order of the table data based
on the key values that are sorted in only one direction
25 What is the purpose of a default constructor in Java?
The purpose of the default constructor in java is to assign
the default value to the objects. Java compiler creates a
default constructor implicitly if there is no constructor
present in the class
26 Is it possible to overload the constructors?
The constructors can be overloaded by changing the data
type of the parameters or by changing the number of
arguments accepted by the constructor
27 What is the static variable?
Static variable is used to refer to the property of all objects
like the name of employees, name of student, etc. Static
variable gets memory allocated only once
28 Is it possible to execute a program without main() method?
No, It was not possible for JDK 1.7, but before JDK 1.7
using the static block is possible to execute without main
method
29 What are functions in Python?
A function is a block of code that is executed only when the
function is called. To define a function in Python, the def
keyword is used
30 Why do lambda forms in Python do not have the statements?
Lambda forms in Python does not have the statement
because it is used to make the new function object and
return them in runtime
31 What is the Inheritance?
Inheritance basically means deriving of one class from the
other class such as super class or base class is known as
inheritance
32 What are the different data types present in JavaScript?
1. Primitive data types
2. Non- Primitive data types
33 List the types of Data Structures?
1. Linear Data Structure
2. Non-Linear Data Structure
34 Which data structure is used to perform recursion?
Stack data structure is used to perform recursion due to its
last in first out nature
35 Mention the operations that can be performed on a stack?
1. Push Operations
2. Pop Operations
3. Peek Operations
36 What is the queue in data structure?
A queue is an ordered list that enables insert operations to
be performed at one end called REAR and delete
operations to be performed at another end called FRONT
37 Define Polymorphism?
Polymorphism means more than one function having same
name with the different functionalities is known as
polymorphism
38 What is the output of this example: A[4] if A=[1,3,6,7,9,2,4]
In the above question indexing starts from zero, an
element present at 4th index is 9. So, the output is 9
39 What is the SQL query to display current date?
There is a built-in function in SQL to display the current
timestamp is called GetDate()
40 Why did you leave your last job?
It is a career move for me. I have learned a lot from my last
job, and now I am looking for new challenges to gain a new
skill-set
41 List the types of tree
1. Binary Tree
2. Binary Search Tree
3. General Tree
4. Forests
5. Expression Tree
6. Tournament Tree
42 How would you rate yourself on a scale of 1 to 5?
I will rate myself 4 out of 5 because I would never like to
think that there should be a room left for putting in more
efforts
43 What are the uses of the super keyword?
1. It is used to invoke the immediate parent class method
2. It is also used to refer the immediate parent class
instance variable
3. It can also be used to invoke immediate parent class
constructor
44 What is a constraint?
Constraint is used to specify the rule and regulations that
allows and restricts what values or what data will be stored
in the table. It also ensures data accuracy and integrity
inside the table
45 What is the structure?
Structure is a user-defined data type that allows storing
multiple types of the data into a single unit
46 Mention SQL comments?
1. Single Line Comments
2. Multi-line Comments
47 What is mean by method overloading?
Method overloading is the technique of polymorphism that
allows to create multiple methods with the same name but
with different signature
48 What are the different types of indexes available in SQL?
• Clustered Index
• Non-Clustered Index
• Unique Index
• Composite Index
• Bit-Map Index
• Normal Index
• B-Tree Index
• Function-Based Index
49 Explain about docstring in Python?
docstring is a string literal that occurs as the first
statement in function, class, module, or method
definition. It also provides a better way to
associate the documentation
50 Is it possible to override the private methods?
It is not possible to override the private methods
because the scope of private methods is limited to
the class and it is nor possible to access them
outside of the class
Top TCS Interview Questions And Answers | How to Crack An Interview At TCS | Simplilearn

Top TCS Interview Questions And Answers | How to Crack An Interview At TCS | Simplilearn

  • 3.
    TCS Interview Process TataConsultancy Services is a good platform to begin your professional career as a new employee. It provides a great workplace as for the freshers and good ambiance conductive to individual. It holds a mass recruiting procedure every year to find the employees for the positions
  • 4.
    Click here towatch the video
  • 5.
    TCS Interview Process InterviewRounds 1. TCS NQT 2. Technical round 3. Managerial round 4. HR round
  • 6.
    TCS Interview Process 1.TCS NQT Numerical Ability 20-30 Questions Verbal 20-25 Questions Reasoning Ability 25-35 Questions Programming Logic 5-10 Questions Coding 1-2 Questions The first round of TCS is a NQT (National Qualifier Test) that is an ability test conducted to evaluate the ability and skills of a person. These test is conducted through online and in-person at TCS iON Authorised Exam Center
  • 7.
    TCS Interview Process 2.Technical round 3. Managerial round 4. HR round Technical round is a face to face round consist of purely technical based questions to access the knowledge of Data Structure, Operating System, Programming and etc, of your choice. In this round there is a chance to write codes on a paper This is a face-to-face round handled by the senior members of the company. This round contains purely technical questions and managerial questions. The panel will assess your corporate culture fit, attitude, soft skills, and other factors HR round is the final round. Candidates are expected to be adaptable, yet this phase allows for negotiation. The goal is to maintain a pleasant and confident demeanor. Interviews can be long and tedious, so remember to smile!
  • 8.
  • 9.
    01 Who iseligible for TCS NQT?  Student with any degree are allowed for the TCS NQT  Freshers and people with less than two years of experience  Final-year/pre-final undergraduate, graduate, and diploma students
  • 10.
    02 What isBFS? Breadth First Search is an algorithm for searching a tree data structure for a node which satisfies the given property. It starts at the tree root and explores all nodes of the tree at the present depth prior to moving on to the nodes at the next depth level. The extra memory, usually a queue, should needed to keep track of the child nodes that were encountered but not explored
  • 11.
    03 What isJDK? The Java Development Kit is a distribution of Java Technology by Oracle Corporation. It implements the Java Language Specification and the Java Virtual Machine Specification that provides the Standard Edition (SE) of the Java Application Programming Interface (API)
  • 12.
    04 How toSplit String in Java? public class Simpli { public static void main(String args[]) { String str = "Simplielearn"; String[] arrOfStr = str.split("e", 2); for (String a : arrOfStr) System.out.println(a); } }
  • 13.
    05 Explain the swappingof two numbers without using the third variable int a = 2, b = 4; // Code to swap the values of a and b a = a + b; b = a - b; a = a - b;
  • 14.
    06 Write aprogram to check palindromes? #include <stdio.h> int main() { int n, number, reversed = 0, remainder; printf("Enter an integer: "); scanf("%d", &n); number = n; while (n != 0) { remainder = n % 10; reversed = reversed * 10 + remainder; n /= 10; } if (number == reversed) printf("%d is a palindrome.", number); else printf("%d is not a palindrome.", number); return 0; }
  • 15.
    07 What isRecursion? Recursion is a programming technique where a function or algorithm that calls itself one or more times until it reaches the specified condition at which time the rest of each repetition is processed from the last one called to the first
  • 16.
    08 What isDatabase? A Database is a collection of the data stored and accessed by the computer system, which can be designed by formal design and modeling techniques
  • 17.
    09 What isJVM? Java Virtual Machine is an abstract machine that offers a runtime environment of byte-code execution in java. It is a specification that describes how the Java Virtual Machine should work
  • 18.
    10 Explain usejoin() function in Python? join() is used to defined a string method which basically returns a string value. It is concatenated with the elements of an iterable and provides the flexible way to concatenate the strings
  • 19.
    11 Explain theuse of break statement? Break statement is used to terminate the execution of the current loop and also transfer control to outside of the current statement
  • 20.
    12 What istuple? A tuple is a built-in data collection type of python. It allows to store values in a sequence manner. It uses () brackets rather than [] square brackets to create a tuple. It is not possible to remove any element but can be able to find in the tuple
  • 21.
    13 Mention differenttypes of operators in Python?  Arithmetic Operators  Relational Operators  Assignment Operators  Logical Operators  Membership Operators  Identity Operators  Bitwise Operators
  • 22.
    14 What isthe use of DCL Language? Data control language allows to control the access and permission management to the database. It is also the subset of a database, that decides that what part of the database should be accessed by which user . DCL mainly includes two commands, GRANT and REVOKE
  • 23.
    15 Which ismore important the money or the work? In my point of view work is more important to me. Once we achieve and over perform the target and helps to increase the growth of the company, then definitely money will follow us
  • 24.
    16 Why shouldwe hire you? As a fresher, am looking for an opportunity to prove my ability. If I will be a part of this company, I'll put all my efforts and strengths to make your company reach great achievements, and if you hire me, I will get an opportunity to build my professional experience through your company
  • 25.
    17 What isDBMS? DBMS stands for Database Management System, is a software program that works as an interface between the database and the end-user. DBMS provides the power to manage the data, the database engine, and the database schema to facilitate the organization and manipulation of data using a simple query
  • 26.
    18 List somefeatures of JavaScript. • Interpreted programming language • Lightweight • Complementary to Java • Open source • Cross-platform • Complementary to HTML
  • 27.
    19 Mention useof help() and dir() function in Python Help() function: The help() function is used to display the documentation string and facilitates to see the help related to modules, keywords, and attributes Dir() function: The dir() function is used to display the defined symbols
  • 28.
    20 What ismean by DOM? DOM is basically stands for Document Object Model. It represents the HTML document and can be used to access and change the content of HTML
  • 29.
    21 List fewadvantages of Packages in Java 1. Packages in java avoid the name clashes 2. Packages in java also provides easier access control 3. It is easier to locate the related classes using packages in java
  • 30.
    22 List fewadvantages of DBMS? 1. Provides multiple user interfaces 2. Redundancy control 3. Ensure data consistency 4. Restriction for unauthorized access 5. Easy accessibility 6. Provides backup and recovery 7. Enforces integrity constraints
  • 31.
    23 Mention variousOOPs concepts in C++? • Class • Object • Data binding • Inheritance • Encapsulation • Abstraction • Polymorphism
  • 32.
    24 What isclustered index in SQL? A clustered index is a table where the data for the rows are stored. It also determines the order of the table data based on the key values that are sorted in only one direction
  • 33.
    25 What isthe purpose of a default constructor in Java? The purpose of the default constructor in java is to assign the default value to the objects. Java compiler creates a default constructor implicitly if there is no constructor present in the class
  • 34.
    26 Is itpossible to overload the constructors? The constructors can be overloaded by changing the data type of the parameters or by changing the number of arguments accepted by the constructor
  • 35.
    27 What isthe static variable? Static variable is used to refer to the property of all objects like the name of employees, name of student, etc. Static variable gets memory allocated only once
  • 36.
    28 Is itpossible to execute a program without main() method? No, It was not possible for JDK 1.7, but before JDK 1.7 using the static block is possible to execute without main method
  • 37.
    29 What arefunctions in Python? A function is a block of code that is executed only when the function is called. To define a function in Python, the def keyword is used
  • 38.
    30 Why dolambda forms in Python do not have the statements? Lambda forms in Python does not have the statement because it is used to make the new function object and return them in runtime
  • 39.
    31 What isthe Inheritance? Inheritance basically means deriving of one class from the other class such as super class or base class is known as inheritance
  • 40.
    32 What arethe different data types present in JavaScript? 1. Primitive data types 2. Non- Primitive data types
  • 41.
    33 List thetypes of Data Structures? 1. Linear Data Structure 2. Non-Linear Data Structure
  • 42.
    34 Which datastructure is used to perform recursion? Stack data structure is used to perform recursion due to its last in first out nature
  • 43.
    35 Mention theoperations that can be performed on a stack? 1. Push Operations 2. Pop Operations 3. Peek Operations
  • 44.
    36 What isthe queue in data structure? A queue is an ordered list that enables insert operations to be performed at one end called REAR and delete operations to be performed at another end called FRONT
  • 45.
    37 Define Polymorphism? Polymorphismmeans more than one function having same name with the different functionalities is known as polymorphism
  • 46.
    38 What isthe output of this example: A[4] if A=[1,3,6,7,9,2,4] In the above question indexing starts from zero, an element present at 4th index is 9. So, the output is 9
  • 47.
    39 What isthe SQL query to display current date? There is a built-in function in SQL to display the current timestamp is called GetDate()
  • 48.
    40 Why didyou leave your last job? It is a career move for me. I have learned a lot from my last job, and now I am looking for new challenges to gain a new skill-set
  • 49.
    41 List thetypes of tree 1. Binary Tree 2. Binary Search Tree 3. General Tree 4. Forests 5. Expression Tree 6. Tournament Tree
  • 50.
    42 How wouldyou rate yourself on a scale of 1 to 5? I will rate myself 4 out of 5 because I would never like to think that there should be a room left for putting in more efforts
  • 51.
    43 What arethe uses of the super keyword? 1. It is used to invoke the immediate parent class method 2. It is also used to refer the immediate parent class instance variable 3. It can also be used to invoke immediate parent class constructor
  • 52.
    44 What isa constraint? Constraint is used to specify the rule and regulations that allows and restricts what values or what data will be stored in the table. It also ensures data accuracy and integrity inside the table
  • 53.
    45 What isthe structure? Structure is a user-defined data type that allows storing multiple types of the data into a single unit
  • 54.
    46 Mention SQLcomments? 1. Single Line Comments 2. Multi-line Comments
  • 55.
    47 What ismean by method overloading? Method overloading is the technique of polymorphism that allows to create multiple methods with the same name but with different signature
  • 56.
    48 What arethe different types of indexes available in SQL? • Clustered Index • Non-Clustered Index • Unique Index • Composite Index • Bit-Map Index • Normal Index • B-Tree Index • Function-Based Index
  • 57.
    49 Explain aboutdocstring in Python? docstring is a string literal that occurs as the first statement in function, class, module, or method definition. It also provides a better way to associate the documentation
  • 58.
    50 Is itpossible to override the private methods? It is not possible to override the private methods because the scope of private methods is limited to the class and it is nor possible to access them outside of the class