Python: Control Structures Review

Python: Control Structures Review

9th Grade - University

34 Qs

quiz-placeholder

Similar activities

Google Sheets Fundamentals

Google Sheets Fundamentals

9th - 12th Grade

29 Qs

QUIZ TKJ T.A 2024

QUIZ TKJ T.A 2024

12th Grade

31 Qs

Y9  Binary Quiz

Y9 Binary Quiz

9th Grade

29 Qs

Entrepreneurship Honors 1 Unit 4

Entrepreneurship Honors 1 Unit 4

9th - 12th Grade

30 Qs

PARTS OF COMPUTER TEST

PARTS OF COMPUTER TEST

12th Grade

36 Qs

AD S2 G360s Week 9 -2021

AD S2 G360s Week 9 -2021

12th Grade

30 Qs

World Wide Web Brainstorming!

World Wide Web Brainstorming!

University

32 Qs

UH BK TIK-MAYSARO

UH BK TIK-MAYSARO

9th - 12th Grade

30 Qs

Python: Control Structures Review

Python: Control Structures Review

Assessment

Quiz

Computers

9th Grade - University

Hard

Created by

Lakeisha Fuller

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the Output if the user enters:
Yes

Leave umbrella at home
Take an umbrella

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a Python program , a control structure:

directs the order of execution of the statements in the program

dictates what happens before te program starts and after it terminates

defines program-specific data structures

manages the input and output of control characters

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

If the user inputs : 2<Enter> , what does the following code snippet print ?

Yes

No

May be

Nothing printed

Error

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Function range(3) is equivalent to:

(**There is more than 1 answer!**)

range(1,3)

range(0,3)

range(0,3,1)

range(1,3,0)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This operator means that one value is not equal to another value

==
<=
>=
!=

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

condition

True

Program has a syntax error.

3 > 2

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

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?