[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

61 / 434

Write a program to find the given number is even or odd.

INPUT: 14
OUTPUT: Even

INPUT: 13
OUTPUT: Odd

Input : NA

Output : NA

|  Basics | | | |  Fresher

62 / 434

Write a program to create a calculator using switch cases.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

63 / 434

Write a program to check a String is palindrome or not? How many minimum number of control variable you need.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro Virtusa

64 / 434

Write a program to reverse a string using minimum control variable and minimum iteration and with and without temporary variable.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

65 / 434

Write a program to print pattern of numbers as below:

1
121
12321

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

66 / 434

Write code for swapping two variables without using 3rd variable.

Input : NA

Output : NA

|  Basics | | | |  Fresher

67 / 434

Write a program to print prime numbers upto 10.

Input : NA

Output : NA

|  Basics | | | |  Fresher

68 / 434

Write a program to check Armstrong number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

69 / 434

Write a program to print reverse of a number?

Input : NA

Output : NA

|  Basics | | | |  Fresher

70 / 434

Write a program to check whether the entered year is leap year or not?

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

+ Contribute Programming Qs.

Baig
1