Search Header Logo

AP Computer Science A

Computers

11th - 12th Grade

Used 93+ times

AP Computer Science A
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?