Numbers series Coding questions are one of the types of question that were asked in the recent TCS 2018 drive. Those coding questions will be of a mixture of two series where odd terms of one kind and the even terms of the other kind. For Example, Consider the given series: 1, 2, 1, 3, 2, 5, 3, 7, 5, 11, 8, 13, 13, 17, …
This series is a mixture of 2 series – all the odd terms in this series form a Fibonacci series and all the even terms are the prime numbers in ascending order. Now write a program to find the Nth term in this series.
The above coding question was asked in the recent TCS drive 2018 which happened in the month of September 2018.
TCS Coding questions – Important instructions
Instruction for 2020
1) One question, 15 minutes another Question 30 minutes
2) Choice of C / C++ / Java / Perl / Python 2.7.
3) Provided an IDE to debug.
4) For Java, the class name should be named Maze.
5) The input to the program either through STDIN / Command line arguments, as per
the instructions.
6) The program should write the output to STDOUT.
7) Public and private test cases based evaluation.
Points to note
1) While printing the output no leading or trailing spaces should be printed.
2) Other than the required output, no other text should be printed.
3) If the output is a number, no leading sign must be printed unless it is a negative
number.
4) No scientific notation (3.9265E + 2).
5) All floating point numbers must contain that many decimal places as mentioned in
the question.

TCS NQT Basic Coding Questions
- TCS NQT – Coding Question 1 – Codewindow.in
- TCS NQT – Coding Question 2 – Codewindow.in
- TCS NQT – Coding Question 3 – Codewindow.in
- TCS NQT – Coding Question 4 – Codewindow.in
- TCS NQT – Coding Question 5 – Codewindow.in
- TCS NQT – Coding Question 6 – Codewindow.in
- TCS NQT – Coding Question 7 – Codewindow.in
- TCS NQT – Coding Question 8 – Codewindow.in
- TCS NQT – Coding Question 9 – Codewindow.in
- TCS NQT – Coding Question 10 – Codewindow.in
- TCS NQT – Coding Question 11 – Codewindow.in
- TCS NQT – Coding Question 12 – Codewindow.in
- TCS NQT – Coding Question 13 – Codewindow.in
- TCS NQT – Coding Question 14 – Codewindow.in
- TCS NQT – Coding Question 15 – Codewindow.in