Python: Control Structures Review

Python: Control Structures Review

9th Grade - University

34 Qs

quiz-placeholder

Similar activities

Technical Quiz

Technical Quiz

University

30 Qs

ĐỀ CƯƠNG ÔN TẬP TIN HỌC 10

ĐỀ CƯƠNG ÔN TẬP TIN HỌC 10

10th Grade

36 Qs

Tes awal flowchart dan app inventor

Tes awal flowchart dan app inventor

12th Grade

34 Qs

DSD TEST 2 UNIT 1

DSD TEST 2 UNIT 1

University

30 Qs

files and folders

files and folders

5th - 9th Grade

32 Qs

carta alir

carta alir

6th - 10th Grade

30 Qs

Unit 2 Pre-release (PhWSSE - January 2021) - Long Version

Unit 2 Pre-release (PhWSSE - January 2021) - Long Version

12th Grade

29 Qs

Bezpieczeństwo w sieci

Bezpieczeństwo w sieci

6th Grade - University

32 Qs

Python: Control Structures Review

Python: Control Structures Review

Assessment

Quiz

Computers

9th Grade - University

Hard

Created by

Lakeisha Fuller

Used 15+ 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?