You are on page 1of 7

TCS NQT

Most Repeated Coding Questions


You may use the following online compiler to practice / compile your code:
https://www.onlinegdb.com/

By FACE
Coding Question 1:
Write a Program to print whether the given alphabet is vowel or consonant

Solution:

Powered by FACE
Coding Question 2:
Write a program to Check whether a given number is a prime number or not

Solution:

Powered by FACE
Coding Question 3:
Write a program to change the case of the given alphabet and print.

Solution:

Powered by FACE
Coding Question 4:
Given an array and a number (say s), find whether any two elements in the array whose sum is “s”.

Solution:

Powered by FACE
Coding Question 5:
Write a program to find the most occurring character in the string.

Solution:

Continues on the next page

Powered by FACE
Continued from previous page

Powered by FACE

You might also like