CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

GCSE Programming Quiz 2

GCSE Programming Quiz 2

9th Grade

15 Qs

CB30: Unit 3 Quiz Review

CB30: Unit 3 Quiz Review

9th - 12th Grade

20 Qs

Variables

Variables

7th - 10th Grade

16 Qs

AQA GCSE Programming

AQA GCSE Programming

10th Grade

25 Qs

Python Lab - Quiz 2

Python Lab - Quiz 2

12th Grade

20 Qs

C++ SHS B1-B2

C++ SHS B1-B2

11th Grade

15 Qs

Basic Coding Concepts in GDScript

Basic Coding Concepts in GDScript

11th Grade

22 Qs

Q3-1 Quiz Review

Q3-1 Quiz Review

11th Grade

20 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 25+ 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?