Java Fundamentals

Java Fundamentals

12th Grade

24 Qs

quiz-placeholder

Similar activities

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

12th Grade

20 Qs

Visual Basic Assessment

Visual Basic Assessment

11th - 12th Grade

21 Qs

tik 9  part 2

tik 9 part 2

12th Grade

20 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

business 1.4 revision

business 1.4 revision

KG - Professional Development

20 Qs

Penilaian Akhir Semester (PAS) Pemrograman Web dan PPL

Penilaian Akhir Semester (PAS) Pemrograman Web dan PPL

12th Grade

20 Qs

Google SketchUp Tool

Google SketchUp Tool

KG - University

20 Qs

Java Fundamentals

Java Fundamentals

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Marlowe Marquez

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

24 questions

Show all answers

1.

REORDER QUESTION

1 min • 5 pts

Reorder the following Java program structure

System.out.println("Hello World from Java");

}

}

public static void main (String [ ] args) {

public class HelloWorld{

package helloworld;

2.

CATEGORIZE QUESTION

3 mins • 20 pts

Organize these options into the right categories

Groups:

(a) Arithmetic Operators

,

(b) Assignment Operators

,

(c) Comparison Operators

,

(d) Logical Operators

*

%

-

-=

%=

<

*=

++

/

+=

<=

==

>=

||

!

/=

>

!=

+

&&

3.

DRAG AND DROP QUESTION

1 min • 5 pts

Drag the following missing parts of for loop to its correct place in order to display numbers from 1 to 10. for ( ​ (a)   x<=10;​ (b)   ){

System.​ (c)   println(​ (d)   )​ (e)  

out.
x
;
int x=1;
x++;

4.

MATCH QUESTION

1 min • 5 pts

Match the following

5.2

String

'a'

boolean

"abc"

int

true

float

5

char

5.

DRAG AND DROP QUESTION

1 min • 5 pts

Print "Hello World" if x is greater than y.

​ (a)   x​ (b)   50 ​ (c)   y = 10;

​ (d)   (x​ (e)   y) {

System.out.println("Hello World");

}

,
int
=
if
>

6.

DRAG AND DROP QUESTION

1 min • 5 pts

Insert the missing parts to complete the following switch statement. (a)   day = 2;

switch (​ (b)   ) {

​ (c)   1: System.out.println("Saturday");

​ (d)  

case ​ (e)   : System.out.println("Sunday");

break;

}

case
2
break;
day
int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented Java Programming?

Steve Jobs
Mark Zuckerberg
Bill Gates
James Gosling

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?