Search Header Logo

CF1 Quiz 4 Review: Conditionals, Arrays, and Loops

Authored by Daniella Brown

Computers

KG

Used 5+ times

CF1 Quiz 4 Review: Conditionals, Arrays, and Loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

117 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings should always be compared in an if statement with a == symbol.

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

=! is the symbol for “not equal”

TRUE

FALSE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code shown in the image?

False

Next Round

Game Finished

finished

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which statement(s) properly implements an equality comparison of two String objects?

A, only

B, only

A and C

All are acceptable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to assign a value to a variable?

=

==

.equals()

!=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code shown?

Sandy

Squidward

Patrick

Spongebob

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code shown?

Hello!!

Goodbye!!

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?