JAVA BASIC 2

JAVA BASIC 2

University

35 Qs

quiz-placeholder

Similar activities

PRANATA KOMPUTER

PRANATA KOMPUTER

University

31 Qs

Midterm Exam - Discrete Math

Midterm Exam - Discrete Math

University

35 Qs

Introduction to Computer

Introduction to Computer

University

40 Qs

TIK kelas 7, Penilaian Tengah semester

TIK kelas 7, Penilaian Tengah semester

7th Grade - University

40 Qs

C++ Internal Assessment

C++ Internal Assessment

University

40 Qs

Thinking in HTML

Thinking in HTML

University

30 Qs

Engineering Eye

Engineering Eye

University

30 Qs

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

JAVA BASIC 2

JAVA BASIC 2

Assessment

Quiz

Computers

University

Practice Problem

Medium

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

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

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!");

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?

Discover more resources for Computers