Search Header Logo

Test: Unit 6 Conditionals & 7 Loops/Lists

Authored by DAYLA M OWNBY

others

Used 1+ times

Test: Unit 6 Conditionals & 7 Loops/Lists
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A __________________ __________________ is a programming instruction that runs only when a specific condition is true or false.

loop structure
conditional statement
iteration command
while loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Conditionals help computers make decisions by checking if something is __________________ or __________________.

yes / no
correct / incorrect
true / false
on / off

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which correctly lists Python conditional keywords?

if, then, else
if, elif, else
when, otherwise, else
if, else if, else

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The “and” operator returns True when:

at least one condition is true
exactly one condition is true
both conditions are false
all conditions are true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The “or” operator returns True when:

at least one condition is true
exactly one condition is true
both conditions are false
all conditions are true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an if/elif/else structure, which condition runs?

All true conditions
The last true condition
The first true condition
The longest condition

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If no conditions are true, which block runs?

if
elif
else
none

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?