JAVA BASIC 2

JAVA BASIC 2

University

35 Qs

quiz-placeholder

Similar activities

Java-2

Java-2

University

30 Qs

java collections

java collections

University

31 Qs

Pemrograman Berorientasi Objek 11RPL Sem 1

Pemrograman Berorientasi Objek 11RPL Sem 1

11th Grade - University

40 Qs

Java Programming - Second Internal Examination

Java Programming - Second Internal Examination

University

30 Qs

UTS Pemrograman Komputer 2 BISDI Ganjil 2021/2022

UTS Pemrograman Komputer 2 BISDI Ganjil 2021/2022

University

40 Qs

Java Programming

Java Programming

University

40 Qs

IT 121- Formative Assessment # 2

IT 121- Formative Assessment # 2

University

40 Qs

JAVA BASIC 3

JAVA BASIC 3

University

35 Qs

JAVA BASIC 2

JAVA BASIC 2

Assessment

Quiz

Computers

University

Medium

Used 23+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What format do I use to print words in JAVA?
System.out.println("Words");
System.out.println(True);
System.out.println(words);
System.out.println('Character');

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I print out numbers on JAVA?
System.out.println(#);
System.out.println("#");
System.out.println('#');
System.out.println(false);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are booleans in JAVA?
True or False statements
A way to lean the coding to one side.
A way to write numbers.
They are the proper way of writing code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When I set a variable, all commands should end with what?
?
:
;
" "

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I insert a multi-line comment?
/* Comment */
? Comment ?
Comment **
-Java Comment-

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Does white-space effect the coding in JAVA?
Yes
No 
Sometimes

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the correct Java code to display the phrase "Java!"?

System.Out.Print("Java!");

System.Out.print("Java!");

System.out.Print("Java!");

System.out.print("Java!");

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?