Unit 4 Test Review

Unit 4 Test Review

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does the following code print? Options: 2.0 2 4.5

Media Image

Back

2.0 2 4.5

2.

FLASHCARD QUESTION

Front

What boolean expression could fill in the blank so that testOne and testTwo have the same value? Your answer should involve the variable x and should not contain any "!"s

Media Image

Back

x <= 6, x<=6, x < 7, x<7

3.

FLASHCARD QUESTION

Front

How many times does the loop body execute?

Media Image

Back

infinity, never, not, forever, stop, infinit, infinite, infinitely

4.

FLASHCARD QUESTION

Front

Describe in 10 words or less what the following method does.

Media Image

Back

smallest, minimum, smaller, less, smallest, least, lowest, tiniest

5.

FLASHCARD QUESTION

Front

Which of the following always evaluates to the same value as (A || B) && A? Options: A, B, A && B, A || B, A != B

Back

A

6.

FLASHCARD QUESTION

Front

Which of the following is a possible output of the following program? -1.23, 0.598, 3.52, 4.98

Media Image

Back

4.98

7.

FLASHCARD QUESTION

Front

What is the largest value that may be stored in the variable x ?

Media Image

Back

9

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?