Search Header Logo

CS1 Unit 7 Review

Authored by Sarah Chapa

Computers

9th - 12th Grade

Used 4+ times

CS1 Unit 7 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions can do all of the following except:

stop the program from repeating

allow writing without proper syntax

simplify code

ask the user for input

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is output by the following program?

Sunshine Storm. Rainbow

Rainbow Sunshine Storm.

Storm. Sunshine Rainbow

print(“Rainbow”) Sunshine Storm

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Which of the following parameters is optional?

sample(a, b, c, d=9)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is output by the following program?

0

80

2

10

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is output by the following program?

1

4

40

None of the above. The code has an error - it is missing a parameter.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is output by the following code?

What a wonderful day!

"What a wonderful day!"

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the following program:

What is the output if the user enters “california”?

california

coolifornioo

coo

None of the above. The code has an error

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?