S1L4 - If/Elif/Else Statements

S1L4 - If/Elif/Else Statements

Assessment

Interactive Video

Instructional Technology

6th - 8th Grade

Practice Problem

Easy

Created by

Ryland Wagner

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If/Else statements are a True/False function in Python.

Yes

No

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What should you do to the code under an IF/ELIF/ELSE statement?

Space (x1)

Tab/Indent

Put two lines below

Indent (x2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the output be if 18 is entered?

You are NOT signed up!

You are too old!

Syntax Error

You are now signed up!

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What punctuation is required AFTER an IF/ELSE statement, but before you put your code UNDERNEATH?

Semicolon ;

Period .

Colon :

Parenthesis ()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the output be for this code if "21" is entered?

MATH FORMULAS:

>= means GREATER THAN OR EQUAL TO

You are now signed up!

You must be 18+ to sign up

You are NOT signed up!

Yay! You are signed up!

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be if "-4" was entered?

MATH FORMULAS:

>= means GREATER THAN OR EQUAL TO

< means LESS THAN

You are now signed up!

You must be 18+ to sign up!

You haven't been born yet!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does ELIF stand for?

Elsa (from Frozen)

Else

Else If

Skip

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?

Discover more resources for Instructional Technology