CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

CMU quiz

CMU quiz

7th - 9th Grade

20 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Scott Chamberlain

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?