100% found this document useful (1 vote)
1K views

Most Repeated Coding Questions: Tcs NQT

The document provides 5 common coding questions along with a link to an online compiler for practicing and compiling code. Each question is presented with a description and a blank "Solution" section intended for writing code. The questions cover topics like determining if a character is a vowel or consonant, checking for prime numbers, changing character case, finding pairs in an array whose sum equals a given number, and finding the most occurring character in a string. The questions are presented over multiple pages with attribution to FACE as the source.

Uploaded by

Kalyan Kirrak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

Most Repeated Coding Questions: Tcs NQT

The document provides 5 common coding questions along with a link to an online compiler for practicing and compiling code. Each question is presented with a description and a blank "Solution" section intended for writing code. The questions cover topics like determining if a character is a vowel or consonant, checking for prime numbers, changing character case, finding pairs in an array whose sum equals a given number, and finding the most occurring character in a string. The questions are presented over multiple pages with attribution to FACE as the source.

Uploaded by

Kalyan Kirrak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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