Take FREE!! Online AMCAT Mock Test to Crack Wipro NLTH, Capgemini, etc.
Get Off-Campus Placement Jobs Info !!!
Practice Given Here Wipro NLTH Practice Q&A

# Basics Programs in JAVA

11 / 259

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

12 / 259

Write a program to create a calculator using switch cases.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

13 / 259

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

14 / 259

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

15 / 259

Write a program to print pattern of numbers as below:

1
121
12321

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

16 / 259

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

Input : NA

Output : NA

|  Basics | | | |  Fresher

17 / 259

Write a program to print prime numbers upto 10.

Input : NA

Output : NA

|  Basics | | | |  Fresher

18 / 259

Write a program to check Armstrong number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

19 / 259

Write a program to print reverse of a number?

Input : NA

Output : NA

|  Basics | | | |  Fresher

20 / 259

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