Search Header Logo

MS CS: Module 6 Review

Authored by Amber Price

Education

6th - 8th Grade

Used 4+ times

MS CS: Module 6 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the following

used to stop the loop even if the while condition is true

break statement

used to execute a set of statements as long as a condition is true

for loop

used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or string)

continue statement

used to stop the current iteration, and continue with the next

while loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for loops cannot be:

happy

empty

used

deleted

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To loop through a set of code a specified number of times, we can use the _____ function.

float()

print()

range()

input()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ____ keyword catches anything which isn't caught by the preceding conditions.

if

elif

else

and

or

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Immutable also means...

hibernation

changeable

unchangeable

mutation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A tuple is...

unchangeable

changeable

flexible

fickle

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module allows you to create a random choice?

turtle

random

export

append

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?