
Coding Test
Authored by Shraddha Das
Computers
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WORA (Write Once Run Anywhere) concept is followed by one of the feature of Java
Robust
Case sensitive
Portable / Platform Independent
Object Oriented
Simple & secure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____________ contains Packages (in-built functions) which can be imported in our program.
JRE (Java Runtime Environment)
JCL (Java Class Library)
BlueJ
Java Applets
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_________ is the controlling method of a Java program
main( )
Main( )
class
object
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____________ includes tools like Compiler, Interpreter, Java libraries, etc.
JDK
BlueJ
JRE
Java Application
5.
OPEN ENDED QUESTION
15 mins • 10 pts
Write a java program to check if the given number is a prime or not.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
15 mins • 10 pts
Write a java program to check whether a person of that particular age is eligible for marriage or not.
( If the person is female, she is eligible for marriage only after the age of 18. But if the person is a male, then he is eligible only after 21.)
Evaluate responses using AI:
OFF
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Find the output of the following:-
int sum=0, n=10;
for( int i=n; i>=1; -- i)
{ sum= sum+ i; }
System.out.println(" Sum is "+ sum) ;
55
10
28
50
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?