Coding Test

Coding Test

9th Grade

10 Qs

quiz-placeholder

Similar activities

CodeHS 2.6 Booleans

CodeHS 2.6 Booleans

9th Grade

10 Qs

Java cicli While & do while

Java cicli While & do while

9th - 12th Grade

9 Qs

JavaScript Quiz

JavaScript Quiz

9th Grade

15 Qs

MOBILE APPLICATION DEVELOPMENT

MOBILE APPLICATION DEVELOPMENT

1st - 10th Grade

10 Qs

C# Variables and Data Types

C# Variables and Data Types

8th Grade - University

9 Qs

CodeHS Concepts of Programming JavaScript

CodeHS Concepts of Programming JavaScript

9th - 12th Grade

15 Qs

Python quiz

Python quiz

9th - 12th Grade

8 Qs

More JavaScript Basics

More JavaScript Basics

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?