Coding Test

Coding Test

9th Grade

10 Qs

quiz-placeholder

Similar activities

Unit 5: Input in Java

Unit 5: Input in Java

9th - 10th Grade

14 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

Python Programming

Python Programming

7th - 9th Grade

10 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

CodeHS Canvas and Graphics

CodeHS Canvas and Graphics

9th - 12th Grade

15 Qs

Loops in Java

Loops in Java

9th - 12th Grade

10 Qs

Programming Intro Python

Programming Intro Python

9th Grade

10 Qs

CP M4 Repetition & Loops

CP M4 Repetition & Loops

9th - 12th Grade

15 Qs

Coding Test

Coding Test

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Shraddha Das

Used 1+ times

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?