CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

9th - 12th Grade

16 Qs

Python Programming

Python Programming

5th Grade - University

15 Qs

Code.org Unit 5

Code.org Unit 5

9th - 12th Grade

15 Qs

Diagramas de Flujo

Diagramas de Flujo

6th - 9th Grade

16 Qs

شعبه 2البرمجة بلغة الفيجول بيسك

شعبه 2البرمجة بلغة الفيجول بيسك

10th Grade

22 Qs

AP Practice (Strings, Conditionals, Loops, Arrays)

AP Practice (Strings, Conditionals, Loops, Arrays)

10th - 12th Grade

20 Qs

Modularity - parameters, local and global variables

Modularity - parameters, local and global variables

11th Grade - University

18 Qs

Python Test 1.0 - 2.0

Python Test 1.0 - 2.0

9th - 12th Grade

21 Qs

CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Scott Chamberlain

Used 26+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement in Python is used to test for multiple conditions of a boolean statement?

else if

elif

elseIf

elsif

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the problem with the following block of code?

== should be =

missing endif after the last print

missing : after else

choice should be "choice"

3.

MULTIPLE SELECT QUESTION

45 sec • 3 pts

Select ALL of the following statements that are TRUE about ALL algorithms:

Algorithms only apply to number calculations

Algorithm instructions must be in a specific order

Algorithms must be written in full sentences

Algorithms should run in a finite amount of time

Algorithms must produce a desired result

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conditional statement requires all parts to be true in order to become true?

and

or

not

else

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For what value of x would the following block of code print "Great"?

1

10

9

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the code to test if the number in the variable num1 is less than or equal to 10.

if (num1 < 10):

if (num1 <= 10):

if (num1 >= 10):

if ("num1" <= 10):

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the code to test if the number 99 is stored in the variable var1:

if ( var1 == "99"):

if (str(var1) == 99):

if (“var1” == 99):

if (var1 == 99):

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?