Intro to CS - Unit 3 Review (Functions)

Intro to CS - Unit 3 Review (Functions)

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

23 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is displayed? -8, -6, -3, None of the above.

Back

-6

2.

FLASHCARD QUESTION

Front

What is displayed? Options: -1 GHG, -8 GHG, -1 HGH, -8 HGH

Back

-8 HGH

3.

FLASHCARD QUESTION

Front

What is displayed? Options: 3 and 4, 4 and 3, This will not run because you cannot concatenate numbers with strings

Back

This will not run because you cannot concatenate numbers with strings

4.

FLASHCARD QUESTION

Front

What is displayed?

Back

17

5.

FLASHCARD QUESTION

Front

This code is part of the greatest function, which is supposed to return the largest of the three values, a, b, and c. Select the example below for which this code does NOT correctly work: a = 2, b = 5, c = 10; a = 5, b = 2, c = 10; a = 10, b = 2, c = 5; a = 5, b = 10, c = 2.

Back

a = 5, b = 2, c = 10

6.

FLASHCARD QUESTION

Front

What is displayed if the user enters 8.4 when prompted? Options: 8, 8.4, 9, None of the above

Back

8

7.

FLASHCARD QUESTION

Front

What is displayed if the user enters -8.6 when prompted? Options: - 8, - 8.4, - 9, None of the above

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?