Conditional Statements

Conditional Statements

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the output? Options: more than 7, more than 23, spam, 7

Media Image

Back

more than 7

2.

FLASHCARD QUESTION

Front

What part of an if statement should be indented? Options: All of it, The statements within it, the first line, the lines within the brackets

Back

The statements within it

3.

FLASHCARD QUESTION

Front

An if statement must evaluate to:

Back

True or False

4.

FLASHCARD QUESTION

Front

This operator means that one value is the same as the other value: ==, !=, >, <

Back

==

5.

FLASHCARD QUESTION

Front

What is the result of the code: team = ("Cowboys") if team == "Cowboys": print("Dallas is #1")

Back

Dallas is #1

6.

FLASHCARD QUESTION

Front

IF statement in Python

Back

An IF statement checks to see if a statement is true or false and then does one of two things depending on the result.

7.

FLASHCARD QUESTION

Front

What will happen when this program is run?

Media Image

Back

Zero will be displayed

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?