TCS NQT Technical Interview Questions

Prasun Das| July 8, 2022 at 7:20 PM | 6 minutes Read

TCS Recruitment Process

Interview Rounds

Interview round 1:  TCS NQT

TCS NQT (National Qualifier Test) is the first step of the TCS recruitment process and is considered one of the most demanding stages of the system. It is an Ability Test that assesses the abilities and capabilities of a candidate. TCS NQT Exams are available online (from home) and in-person at TCS iON Authorized Exam Centers.

 The candidates will be assessed for the following topics:

  • Numerical ability: Number Systems, Arithmetic, Elementary Statistics, and Data Interpretation are all assessed in this part.
  • Verbal Ability: This section assesses English grammar, how to use it correctly, and reading comprehension.
  • Reasoning ability: Identifying words and mathematical patterns, problem-solving, figurative and factual analysis, decision-making, propositional reasoning, and visual-spatial reasoning are all assessed in this section.

The programming section examines knowledge and skill in specific disciplines related to occupational roles in the areas below:

  • Pseudo-code, Algorithms, Programming structures, fundamental Software Development Life Cycle (SDLC) and its stage-wise documents, and implementation using C, C++, and Java will be tested.
  • Candidates must be able to code in any of the following programming languages: C, C++, Java, Python, and PERL.
  • Hands-on exercise of coding.

After passing the NQT Round, you will be eligible for the TCS NINJA Technical Interview.

Interview round 2: Technical interview

This is the most challenging stage of the hiring process, so do your best to prepare for it. The focus of the entire interview process will be on your technical knowledge, biography, and primary projects.

Interview round 3: Managerial round

A panel of senior members handles the management round. This is another round of face-to-face interviews. This round may include only technical questions or a mix of technical and managerial topics. The vast majority of the questions are tailored to the profile for which you are being interviewed. You should be aware of any new technology or software that may be necessary for that position. In order to measure your thinking style, you may be asked questions based on your behaviours. It is possible that you will be put under pressure to observe how you react. Your achievements on your CV may be called into question, and you may be required to defend them. You may be asked about your previous job experiences, goals, and motivations for joining TCS, among other things.

Interview round 4: HR round

In addition to the normal HR questions regarding strengths and shortcomings, reasons for applying to the company, why you should be hired, and so on, expect inquiries about work experience, education, interests, and family background. They can also inquire about TCS, such as when it was founded, its goals, values, organizational structure, and so on.

This is the final step in the hiring process. Candidates must be adaptable, but this stage allows for discussion. The most frequently requested questions are

  • Please tell me about yourself. (Start with your academics, projects, achievements, other curriculum activities, and your strengths if you are a beginner. Also, tell them about your hobbies, background, and so on. If you're an experienced professional, start with your present position, achievements, previous work history, and then academic and personal information.)
  • Why do you want to work in the IT field?
  • Why are you interested in working for TCS?
  • Are you willing to relocate to different parts of India?

TCS Technical Interview Questions

1.Write a program to perform Binary Search on an array.

Image:Binary Search in Java

2.What do you understand about a Subnet Mask?

A Subnet Mask is a number that indicates the range of IP addresses that can be utilized within a network. They are given subnets or subnetworks. These subnetworks are made up of LANs that are connected to the internet.

This Subnet mask is a 32-bit variable that splits the IP address into two parts: the network address and the host address. To create a subnet mask, assign all network bits to "1" and all host bits to "0." There are two network addresses that cannot be assigned to any network host: "0" and "255," which are assigned to the network and the broadcast address, respectively, and so cannot be assigned to anyone.

3.List some major roles performed by an Operating System.

An operating system performs various roles. Some of the examples are as follows:

Resource Governor: The OS acts as a resource governor so that there is no load on the system. It allocates and deallocates the resources to the processes and also handles the synchronization of these resources among various processes.

Process Management: OS uses various Scheduling algorithms to manage the processes and their execution. This is done to increase the efficiency of the CPU so that it is never idle and the processes keep on executing.

Storage Management: OS acts as a storage manager bus using its File System. The data of the user is stored in the form of files and directories.

Memory Management: Memory management and storage management are confused with each other. However, the storage management concerns the file system and storage of the data in the Computer, the memory management means managing the memory allocation to the processes at the time of execution. Which process should be kept in the Ready Queue, which is in the Waiting Queue (both these queues are inside RAM only).

Privacy and Security: Privacy and security from any threats or viruses are also the responsibility of the OS. However, inter-process security is also the responsibility of the OS.

4.Difference between Process and Thread.

5.Write an SQL Query to select all those entries from the table STUDENTS, whose name is “Rahul”.

The SQL Query to do so is


6. What is TCP/IP Protocol?

TCP is an abbreviation for Transfer Control Protocol. TCP is a connection-oriented protocol that is implemented at the OSI Model's Transport Layer. TCP is in charge of separating the data into little frames known as framing and then, at the receiver end, reassembling the frames back into the sequence to retrieve the data.

IP is an abbreviation for Internet Protocol. It is present in the OSI model's Network Layer. IP is untrustworthy, and it is a connectionless model. IP is in charge of sending and receiving data that TCP has split down into frames. IP is used in conjunction with TCP to create a dependable data sending-receiving protocol.

7.What exactly are macros? What are the benefits and drawbacks?

Macros are pre-processor constants that are replaced during the compilation process. As a result, a macro is a named block of code in a programme. When this term is encountered, the compiler replaces it with the actual piece of code.

The disadvantage of macros is that they are not function calls; instead, they change the code. Similarly, they benefit from saving time when substituting the same values.

8. Write a program to print the right-angled triangle pattern as shown below for any value of N input by the user.

For N = 5


* *

* * *

* * * *

* * * * *


  • In line 1, we imported the Java library to read the input value from the user.
  • In line 5, we create an object of the Scanner class to read the input from the console (which will denote the height of the right angle triangle).
  • In line 6, we read the input value and store it in variable n.
  • In line 8, we run the outer for loop to iterate through rows from a = 0 to a < n.
  • The condition of the outer loop is true then, in line 9, the inner loop runs to print the start (*) character up to a times to print each row of the right angle triangle.
  • Then, the cursor comes to the next line and the process is repeated until n rows of the triangle are printed.

In this way, we can use for loops to generate a right-angle triangle pattern using stars in Java.

9. There is a range given n and m in which we have to find the count all the prime pairs whose difference is 6. We have to find how many sets are there within a given range.


The output consists of a single line, print the count prime pairs in a given range. Else print”No Prime Pairs”.


2 ≤ n ≤ 1000

n ≤ m ≤ 2000

Sample Input:



Sample Output:



(5, 11) (7, 13) (11, 17) (13, 19) (17, 23) (23, 29) . we have 6 prime pairs


It is seen in TCS that they don't solely focus on DSA or aptitude they does ask from Computer Science Fundamentals also. So its better to prepare from all side and the difficulty is also set by your interviewer so there is a little bit of luck factor but if you are consistent with your preparation no one can stop you to crack that job.

#interview preparation#tcs nqt#technical questions#company
View Count:2.0k


Similar Articles

DSA Cheatsheet Curated list (Leetcode)

If you're looking to prepare for a job in the tech industry, Data Structures and Algorithms (DSA) are essential to master. Practising problems on plat......

Cover image

How to Start with DSA

Each and every programmer needs a strong grasp in DSA to write efficient and optimised codes. However, DSA has a reputation of being one of the most f......

Cover image

Campus Placement Roadmap for Batch 2024

Its that time round the calendar again, but different for you all as for the first time now. You all will be facing the on campus placement season.Wit......

Cover image


Operating Systems is one of the core subjects for a computer science student. As such a lot of important questions are asked on this subject in interv......

Cover image

Wipro HR Interview Experiences

After passing the TR round, the interviewees are called for the HR round. Every company conducts an HR interview round to evaluate your.....

Cover image

Wipro Technical Interviews

After the aptitude test, the candidates who qualify will be invited to an interview round. If you achieve a high score on the online assessment, you’ll be invited to int...

Cover image

Wipro aptitude Questions

Aptitude for Wipro Limited is a well-known global provider of information technology, consulting, and business process......

Cover image

Cognizant previous year QnA and Interview Experience

Cognizant helps organizations remain ahead of the competition by modernizing technology, reinventing processes, and redefining customer experiences. I...

Cover image

Capgemini Previous Year Questions with Study Materials

Capgemini is a global leader in consulting, digital transformation, technology, and engineering services. In the rapidly evolving world of cloud, digi...

Cover image

MINDTREE Interview Experience and Previous Year Questions Part 2

Technical Round :Candidates who pass the online test will be invited to the technical interview...

Cover image

MINDTREE Interview Experience and Previous Year Questions Part 1

About Mindtree:Mindtree Ltd, located in Bangalore, India, is a prominent Indian multinational information technology and outsourcing company. The&nbsp...

Cover image

SAP Interview Experience

SAP (Systems, Applications, and Products in Data Processing) is the leading ERP (Enterprise Resource Planning) software package that is effective in e...

Cover image

TCS NQT Latest Questions and Answers

TCS NQT Interview kicks off with the aptitude test. The test follows the following pattern :&nbsp;TCS uses the TCS-iON software for their online aptit...

Cover image


Increased competition for fewer jobs in the current economy means that just being right for the role on paper, is not enough on its own anymore. You h...

Cover image


About TCS NinjaTCS administers the NQT to select candidates for a variety of positions (National Qualifier Test). Tens of thousands of people apply fo...

Cover image

TCS Digital Interview Experience [2023]

About TCS DigitalTCS selects applicants for a variety of jobs by conducting the NQT (National Qualifier Test). About 10,000-15,000 job applicants subm...

Cover image

SQL Interview Questions

Are you getting ready for your SQL developer job interview?You've come to the correct place.This tutorial will assist you in brushing up on your SQL s...

Cover image

TCS NQT Aptitude Questions

TCS NQT Aptitude has three sections, namely the Numerical Ability, Verbal Ability, and Reasoning Abi...

Cover image

TCS NQT Interview Experience [2023]

About TCS NQTTCS NQTs, also known as TCS National Qualifier Tests or Tata Consultancy Services Natio...

Cover image

Final year Placement Roadmap in India

Nowadays students tend to go more for off campus placements rather than on campus placements.One of ...

Cover image

C Interview Questions — 2022

C is a general purpose high-level language most popular amongst coders, it is the most compatible, e...

Cover image

Cognizant GenC Next Interview

What is GenC and GenC Next?GenC stands for Generation Cognizant. It basically means the fresher hiri...

Cover image

Python [Advanced] Interview Questions — 2022

Interview Questions are a great source to test your knowledge about any specific field. But remember...

Cover image

Basic Python [Core] Interview Questions for Freshers and Short Sample Answers — 2022

The most popular high-level, multipurpose programming language right now is Python.Python supports p...

Cover image

Basic Java Interview Questions for Freshers and Short Sample Answers — 2022

Interview Questions are a great source to test your knowledge about any specific field. But remember...

Cover image

A Complete Roadmap for On-Campus Placements

Placements are an important part of engineering life, and while everyone hopes to be placed in a reputable company, only a few are successful. This is primarily due to a...

Cover image