Search Header Logo
Intro to CS - Unit 3 Review (Functions)

Intro to CS - Unit 3 Review (Functions)

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground 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.

Media Image

Back

-6

2.

FLASHCARD QUESTION

Front

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

Media Image

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

Media Image

Back

This will not run because you cannot concatenate numbers with strings

4.

FLASHCARD QUESTION

Front

What is displayed?

Media Image

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.

Media Image

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

Media Image

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

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?