TCS NQT preparation
TCS hires most freshers through the National Qualifier Test (NQT), run on TCS iON. Scores decide the Ninja, Digital and Prime roles. Tests run every few weeks and are open to pre-final and final-year students and recent graduates.
Previously asked TCS NQT questions (25)
Test pattern
| Section | Questions | Time |
|---|---|---|
| Numerical Ability | 20 | 25 min |
| Verbal Ability | 25 | 25 min |
| Reasoning Ability | 20 | 25 min |
| Advanced Quantitative and Reasoning | 15 | 25 min |
The real test also has an Advanced Coding section (2–3 problems). Practise the coding problems below in C, C++, Java or Python.
Tips
- There is usually no negative marking, so answer every question.
- Each section has its own timer; you cannot go back to a finished section.
- Foundation sections decide Ninja; the Advanced sections open Digital and Prime roles.
Mock tests
- TCS NQT Mock Test 1 80 questions · 100 min
- TCS NQT Mock Test 2 80 questions · 100 min
- TCS NQT Mock Test 3 80 questions · 100 min
- TCS NQT Mock Test 4 30 questions · 45 min
Coding practice
Second largest number
Read N integers and print the second largest distinct value. If it does not exist, print -1.
Input: 5
4 9 2 9 7
Output: 7Count vowels
Read a line of text and print how many vowels (a, e, i, o, u, either case) it contains.
Input: Osmania University
Output: 8Primes in a range
Read two integers L and R and print all prime numbers between them (inclusive), separated by spaces.
Input: 10 30
Output: 11 13 17 19 23 29