JAVA BASIC 2

JAVA BASIC 2

University

35 Qs

quiz-placeholder

Similar activities

Design+Prototype

Design+Prototype

University

30 Qs

Computer Network

Computer Network

12th Grade - University

40 Qs

Python Function

Python Function

University

30 Qs

OODP_Batch 1_Quiz

OODP_Batch 1_Quiz

University

30 Qs

TEKNOLOGI INFORMASI DAN KOMUNIKASI

TEKNOLOGI INFORMASI DAN KOMUNIKASI

12th Grade - University

40 Qs

RPL-Web-02 (Web)

RPL-Web-02 (Web)

12th Grade - University

35 Qs

Chapter 2 Practice Test-Hardware

Chapter 2 Practice Test-Hardware

7th Grade - University

30 Qs

ข้อสอบปลายภาค วิชา ระบบปฏิบัติการและโปรแกรมประยุกต์ทางการศึก

ข้อสอบปลายภาค วิชา ระบบปฏิบัติการและโปรแกรมประยุกต์ทางการศึก

University

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?