AP Computer Science A

AP Computer Science A

11th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Java Basics

Java Basics

11th - 12th Grade

35 Qs

UTS PBO XI RPL Merdeka

UTS PBO XI RPL Merdeka

11th Grade

25 Qs

Java Certification 1 (2025)

Java Certification 1 (2025)

9th - 12th Grade

26 Qs

Java  Bell Ringer Terms Test 4

Java Bell Ringer Terms Test 4

10th - 12th Grade

28 Qs

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

11th Grade

25 Qs

4Inf_Java_base

4Inf_Java_base

11th Grade

25 Qs

CSA-Unit2-Review

CSA-Unit2-Review

11th Grade

25 Qs

AP Computer Science A

AP Computer Science A

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Used 79+ times

FREE Resource

30 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

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.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which primitive type is for floating point decimals?

boolean

char

double

long

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which puts the cursor on the next line after printing a String?

next()

nextLine()

print()

println()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Begins and ends the body of class and method

[ ]

;

{ }

:

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does the Java code print?

0

8

true

false

pancakes

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?