Unit 4 Test Review

Unit 4 Test Review

Assessment

Flashcard

Computers

9th - 12th Grade

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

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

Back

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

3.

FLASHCARD QUESTION

Front

How many times does the loop body execute?

Back

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

4.

FLASHCARD QUESTION

Front

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

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

Back

4.98

7.

FLASHCARD QUESTION

Front

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

Back

9

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?