Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Facebook SDE Sheet
  • Amazon SDE Sheet
  • Apple SDE Sheet
  • Netflix SDE Sheet
  • Google SDE Sheet
  • Wipro SDE Sheet
  • Infosys SDE Sheet
  • TCS SDE Sheet
  • Cognizant SDE Sheet
  • HCL SDE Sheet
Open In App
Next Article:
TCS SDE Sheet: Interview Questions and Answers
Next article icon

TCS SDE Sheet: Interview Questions and Answers

Last Updated : 09 Feb, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report
What is TCS NQT ?

TCS NQT is National Qualifier Test conducted by Tata Consultancy Services, it is a prerequisite for all the tests. The validity of the NQT score is of two years. Candidates are eligible to apply on the TCS iON Job Listing Portal with an NQT score. NQT exams are conducted in both online and offline modes. This sheet will help you prepare for the TCS NQT exam & you can apply for all the top-notch companies that recognize the exam score. Here we have collected all the interview questions and answers to land a job at TCS.

TCS SDE Sheet
TCS NQT Syllabus
Verbal Ability

Aptitude & Reasoning Ability

Programing Logic:
  • Data Structures
  • Algorithms
  • OOPS Concepts
Coding Section:
  • Arrays
  • String
  • Number Series
  • Conversions
  • Sorting Algorithm
 
Recommended Practice
Practice for TCS Interview
Try It!
What does this sheet Contains ?

This article contains TCS coding questions i.e. the coding questions that are mostly asked in TCS hiring challenges on different topics. The questions are arranged topic-wise in this sheet along with their solutions.



TCS Ninja and Digital profiles are selected on the basis of the TCS NQT test score. These two profiles differentiate the employees on the basis of coding and interview experience.

  • TCS Digital: TCS Digital hires for the Digital Technology Domain, specializing in IoT, AI, ML, Big Data, Virtual Reality, BlockChain, NLP, etc. There are three ways of landing the TCS Digital offer.
  • TCS Ninja: TCS Ninja profile is hired through TCS NQT test, based on the score you scored in NQT you will choose as Ninja. It offers package of 3.36 to 3.60.

Verbal Ability: In TCS NQT there are 25 questions and the given time was 75 minutes to check your proficiency on English, like easy writing and questions answering.

  • TCS Placement Paper | Email Writing Question 1
  • TCS Placement Paper | Email Writing Question 2
  • TCS Placement Paper | Email Writing Question 3
  • TCS Placement Paper | Email Writing Question 4
  • TCS Placement Paper | Email Writing Question 5
  • TCS Placement Paper | Email Writing Question 6
  • TCS Placement Paper | Email Writing Question 7
  • TCS Placement Paper | Email Writing Question 8
  • TCS Placement Paper | Email Writing Question 9
  • TCS Placement Paper | Email Writing Question 10
 

Aptitude & Reasoning Ability: Here in this Aptitude & Reasoning test the numerical and the reasoning ability sections are tested. We attached 10 set to practice yourself.

  • TCS Placement Paper | MCQ 1
  • TCS Placement Paper | MCQ 2
  • TCS Placement Paper | MCQ 3
  • TCS Placement Paper | MCQ 4
  • TCS Placement Paper | MCQ 5
  • TCS Placement Paper | MCQ 6
  • TCS Placement Paper | MCQ 7
  • TCS Placement Paper | MCQ 8
  • TCS Placement Paper | MCQ 9
  • TCS Placement Paper | MCQ 10
 

Programming Logic: Your knowledge of C, C++, and Java is tested in the TCS NQT Programming Logic exam, but that is not its only purpose. To answer questions like OOPS, DSA, etc., you must have a solid grasp of computer science Concepts There are a sufficient number of Data Structures Problems. To prepare you for the test, let's first go through the fundamental guidelines

  • Data Structures:A data structure is a storage that is used to store and organize data. It is used for processing, retrieving, and storing data. There are different basic and advanced types of data structures used in almost every program or software system that has been developed.

  • Algorithms:Algorithm refers to a sequence of finite steps to solve a particular problem.The word Algorithm means ” A set of rules to be followed in calculations or other problem-solving operations ” Or ” A procedure for solving a mathematical problem in a finite number of steps that are frequently by recursive operations “.

  • OOPS Concepts: As the name suggests, Object-Oriented Programming or OOPs refers to languages that use objects in programming, they use objects as a primary source to implement what is to happen in the code.Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism etc.

 

Coding Section: In the Coding section of TCS NQT, they asked questions from the below-mentioned topics:

Arrays: Here is the collection of the frequently asked interviews question on arrays in the TCS hiring test.

Problems

Practice

Non-Repeating Element

Solve

Program for array rotation

Solve

Equilibrium index of an array

Solve

Print array after it is right rotated K times

Solve

Array is a subset of another array

Solve

Find all symmetric pairs from a pairs of array

Solve

Counting Rock Samples

Solve

Reverse an array or string

Solve

Mean and median of an unsorted array

Solve

Smallest and second smallest elements in an array

Solve

Largest element in an array

Solve

Second largest element in an array

Solve

Counting frequencies of array elements

Solve

Program for addition of two matrices

Solve

Sort a K-Increasing-Decreasing Array

Solve

Sum of elements in a given array

Solve

Remove duplicates from the sorted array

Solve

Program to check if an array is sorted or not

Solve

Remove duplicates from an unsorted array using Map data structure

Solve

Block swap algorithm for array rotation

Solve

Average of an array (Iterative and Recursive)

Solve

Add an element to an Array

Solve

Find duplicates in O(n) time and O(1) extra space

Solve

Find maximum possible stolen value from houses

Solve

Replace each element of the Array with it’s corresponding rank

Solve

Sort elements by frequency

Solve

Sort an array according to the order defined by another array

Solve

Maximum Product Subarray

Solve

String: Here is the collection of the frequently asked interviews question on strings in the TCS hiring test.

Problems Practice
Count vowels, consonants, digits, and special characters in a string

Solve

Given String is Palindrome or not

Solve

ASCII Value of a character

Solve

Remove vowels from a String

Solve

Remove spaces from a given string

Solve

Remove character

Solve

Remove all characters other than alphabets

Solve

Reverse a string

Solve

Sum of numbers in string

Solve

Capitalize first and last character of each word

Solve

Frequency of characters in a string

Solve

Non Repeating Character

Solve

Smallest and Largest Word in a String

Solve

Strings are anagram of each other

Solve

Sort string of characters

Solve

Convert characters of a string to opposite case

Solve

Count words in a given string

Solve

Encrypt the string

Solve

Remove duplicates from a given string

Solve

Duplicates in the input string

Solve

Lexicographically next string

Solve

Remove brackets from an algebraic expression

Solve

Check if a string is substring of another

Solve

Reverse words in a given string

Solve

Common subsequence in two strings

Solve

One string contains wildcard characters

Solve

Number Series: While a sequence is a list of items arranged in a sequential way following a particular relation, a series is the cumulative sum of a given sequence of terms.

Problems Practice
Prime Numbers

Solve

Sum of arithmetic series

Solve

Sum of geometric series

Solve

All divisors of a natural number

Solve

Replace all ‘0’ with ‘5’ in an input Integer

Solve

Number is Positive, Negative, Odd, Even, Zero

Solve

Harshad (Or Niven) Number

Solve

Program to find GCD or HCF of two numbers

Solve

LCM of two numbers

Solve

Check if a number is a strong number or not

Solve

Check if a given year is leap year

Solve

Reverse digits of a number

Solve

Program to add two fractions

Solve

Sum of digits of a number

Solve

Find all factors of a natural number

Solve

Prime factors of a given number

Solve

Kth largest factor of number N

Solve

Given number is even or odd

Solve

Perfect Number

Solve

Palindromes in a given range

Solve

Armstrong Numbers

Solve

Abundant Number

Solve

Sum of first n natural numbers

Solve

Sum of all natural numbers in range L to R

Solve

Primitive Abundant Number

Solve

Count ways to reach the n’th stair

Solve

Count prime numbers that can be expressed as sum of consecutive prime numbers

Solve

Fibonacci numbers

Solve

Check if a number is Palindrome

Solve

Largest and smallest digit of a number

Solve

Square Free Number

Solve

Permutations to arrange N persons around a circular table

Solve

Can a number be expressed as a sum of two prime numbers

Solve

Area of a circle

Solve

Roots of Quadratic equation

Solve

Conversions: We need to write a program to convert the given number(specific number system) into an equivalent number(specific number system).

Problems Practice
Convert Binary to Decimal

Solve

Convert binary to octal

Solve

Decimal to Binary conversion

Solve

Convert decimal to octal

Solve

Convert Octal to binary

Solve

Convert Octal to decimal

Solve

Convert a given number to words

Solve

Sorting Algorithm: Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements.

Problems Practice
Bubble Sort

Solve

Selection Sort

Solve

Insertion Sort

Solve

Quick Sort

Solve

Merge Sort

Solve

Radix Sort

Solve

Counting Sort

Solve


Next Article
TCS SDE Sheet: Interview Questions and Answers

K

kartik
Improve
Article Tags :
  • DSA
  • Software Development
  • TCS
  • Interview-Questions
  • GFG Sheets
  • SDE Sheet
  • Company SDE Sheet
Practice Tags :
  • TCS

Similar Reads

    TCS Interview Questions
    Tata Consultancy Services (TCS) is one of the largest and most esteemed IT services companies globally. With a reputation for selection processes, TCS interviews are known for their thoroughness in evaluating both technical and non-technical skills. As 2025 grows, job seekers aiming to secure a posi
    5 min read
    TCS DESS Interview Experience | Set 4 (On-campus)
    TCS visited our campus last month for the Systems Engineer profile under the DESS unit. The DESS unit works in the latest fields of Mobility, Cloud Computing, Big Data and Analytics, AI, etc. 1. Aptitude Test: This round comprised of 2 tests one aptitude and one technical. The first round was of 50
    2 min read
    OLA Interview Experience | Set 6 (For SDE-1)
    Last month i was interviewed by Ola for SDE 1 post. Here is my experience. Round 1 a. Inorder predecessor and successor for a given key in BST - b. String matching where one string contains wildcard characters Round 2 a. A Boolean Matrix Question b. Print Left View of a Binary Tree c. Find the numbe
    1 min read
    TCS Interview Experience for TCS Ninja (Off-Campus)
    Firstly there will be an online test on TCS ion platform which comprises aptitude and programming questions then the shortlists will have the final round which is an Interview round. It is a panel Interview where 3 people will ask questions based on Technical, Managerial & HR. Technical: Introdu
    2 min read
    TCS Interview Experience For TCS Digital
    During our campus placement season, TCS (Tata Consultancy Services) visited our campus in January 2024. The first round was the TCS National Qualifier Test (NQT), held on January 15, 2024. This test had sections on Quantitative Aptitude, Verbal Ability, Logical Reasoning, and two coding sections. Th
    2 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences