CS Python Fundamentals Unit 3 Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
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
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
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
Similar Resources on Wayground
25 questions
Global 3r ESO

Quiz
•
12th Grade
15 questions
Python elif and Nested if

Quiz
•
12th Grade
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
20 questions
Week 6 - CP1

Quiz
•
12th Grade
16 questions
Code.org CSP Unit 4 Review

Quiz
•
9th - 12th Grade
15 questions
C# alapok 2

Quiz
•
11th Grade
15 questions
Selection Quiz 2

Quiz
•
12th Grade
15 questions
Code.org Unit 5 Lesson 15 Assessment

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade