Sample Question
- Write a program in java for accept a number and display their square.
- Write a program in java for accept five different number and find their average.
- Write a program in java for accept five different marks of subjects find their total marks and its percentages.
- Write a program in java for accept length and breadth find area of rectangle.
- Write a program in java for accept 3 different value and generate its square.
- Write a program in java for accept 3 different value and generate its cube.
- Write a program in java for accept radius and height find perimeter of circle.
- Write a program in java for accept perimeter of circle and find the area of circle.
- Write a program in java for show message “Tutorial Zone”.
- Write a program in java for accept two number and show its addition.
- Write a program in java for accept two number and find its subtraction.
- Write a program in java to get three angle of triangle and check it is valid or not.
- Write a program in java to accept three different number add all of them find out
- 30% of first and second number display the result value of added number and percentage of result.
- Write a program in java to Accept five digit number and find their sum.
- Write a program in java to swap 2 numbers using third variable.
- Write a program in java to swap two numbers without using third variable.
- Write a program in java to take input from user and find their simple interest.
- Write a program in java to convert Fahrenheit into Celsius take input from user.
- Write a program in java to convert in Celsius into Fahrenheit take input from user.
- Write a program in java to find ASCII value of a character.
- Write a program in java to compute Quotient and Remainder take input from user.
- Write a program in java to multiply two Floating Point Numbers.
- Write a program in java to find Area of Sphere.
- Write a program in java to find Area of Square.
- Write a program in java to find perimeter of Rectangle and Square.
- Write a program in java to find Volume of cube.
- Write a program in java to compute Quotient and Remainder.
Sample Question (Conditional & Iteration Based)
- Write a program in java to find greatest of three numbers.
- Write a program in java to print Fibonacci series in a given range.
- Write a program in java to find factorial of a given number.
- Write a program in java to find prime number in a given number.
- Write a program in java to check if given number is Armstrong or not.
- Write a program in java to check if given number is palindrome or not.
- Write a program in java to check if given number is even or not.
- Write a program in java to check if given number is positive or not.
- Write a program in java to accept 10 different number and check how many positive and negative.
- Write a program in java to display palindrome numbers in a given range.
- Write a program in java to find out the ASCII value of a character.
- Write a program in java to check whether an alphabet is vowel or consonant.
- Write a program in java to check if given year is leap or not.
- Write a program in java as input from the user and reversing that number.
- Write a program in java to input number and sum each digit.
- Write a program in java to accept two number (one base number and exponent) and calculate the power.
- Write a program in java take a integer from the user and display all the factor of that number.
- Write a program in java to accept a name and display ASCII value for each character.
- Write a program in java to input a number and generate a table.