Java Fundamentals

Java Fundamentals

12th Grade

24 Qs

quiz-placeholder

Similar activities

Topical Test 1 - Introduction to Programming

Topical Test 1 - Introduction to Programming

12th Grade

20 Qs

Ucertify Programming Essentials

Ucertify Programming Essentials

9th - 12th Grade

20 Qs

Computer Languages

Computer Languages

12th Grade

19 Qs

uCertify Lesson 5 mid quiz

uCertify Lesson 5 mid quiz

8th - 12th Grade

20 Qs

Introduction to Java

Introduction to Java

11th - 12th Grade

20 Qs

20.1 Programming Paradigms Cambridge iA 9618

20.1 Programming Paradigms Cambridge iA 9618

12th Grade

20 Qs

JavaScript Basics CodeHS

JavaScript Basics CodeHS

7th - 12th Grade

20 Qs

SC025 - Topic 1 (Introduction to Programming

SC025 - Topic 1 (Introduction to Programming

KG - 12th Grade

20 Qs

Java Fundamentals

Java Fundamentals

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Marlowe Marquez

Used 26+ times

FREE Resource

24 questions

Show all answers

1.

REORDER QUESTION

1 min • 5 pts

Reorder the following Java program structure

package helloworld;

public class HelloWorld{

public static void main (String [ ] args) {

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

}

}

2.

CLASSIFICATION 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

'a'

char

5.2

boolean

5

String

"abc"

int

true

float

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

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?