Python: Control Structures Review

Python: Control Structures Review

9th Grade - University

34 Qs

quiz-placeholder

Similar activities

Programming Languages

Programming Languages

12th Grade

30 Qs

Python  conditionals, and loops |Part 3

Python conditionals, and loops |Part 3

10th Grade

36 Qs

2.2 j277 computer science programming techniques (iteration)

2.2 j277 computer science programming techniques (iteration)

9th - 10th Grade

30 Qs

blitz

blitz

University

30 Qs

Loops

Loops

11th - 12th Grade

30 Qs

J277 Random Quiz 1

J277 Random Quiz 1

12th Grade

32 Qs

function in Python

function in Python

University

37 Qs

Python programming

Python programming

11th Grade

30 Qs

Python: Control Structures Review

Python: Control Structures Review

Assessment

Quiz

Computers

9th Grade - University

Hard

Created by

Lakeisha Fuller

Used 13+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?