Coding Test

Coding Test

9th Grade

10 Qs

quiz-placeholder

Similar activities

escape sequence

escape sequence

9th Grade

12 Qs

Project STEM AP CS A Unit 1 Quiz Review

Project STEM AP CS A Unit 1 Quiz Review

9th - 12th Grade

11 Qs

Loops

Loops

9th - 12th Grade

12 Qs

Pemrograman berorientasi objek

Pemrograman berorientasi objek

1st - 10th Grade

13 Qs

CodeHS Python Unit 4 Quiz

CodeHS Python Unit 4 Quiz

9th - 12th Grade

15 Qs

Python - Programming Constructs - KS3 Y9

Python - Programming Constructs - KS3 Y9

8th - 9th Grade

15 Qs

Math_functions

Math_functions

9th - 10th Grade

12 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Coding Test

Coding Test

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Shraddha Das

FREE Resource

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

Media Image

____________ 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

Media Image

____________ 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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?