Python Review 2023-01-12

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Michael Ida
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this function do?
Returns the product of its parameters
Returns the sum of its parameters
Returns the largest of its parameters
Returns the smallest of its parameters
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code snippet print?
cow
sheep
pig
ox
3.
REORDER QUESTION
1 min • 1 pt
You want to write code to aske the user to enter his or her favorite food and then print "good" if the response is "fries" and "bad" if it isn't. Reorder the statements below to accomplish this.
4.
DRAG AND DROP QUESTION
1 min • 1 pt
How would you write a for loop to repeat 15 times using a counter variable called count?
for (a) (b) (c) (d)
5.
DRAG AND DROP QUESTION
1 min • 1 pt
You want to create a conditional to check whether a variable called n is positive. How would you do this?
(a) n (b) (c) (d)
6.
DRAG AND DROP QUESTION
1 min • 1 pt
A (a) loop repeats a specified number of times. A (b) loop repeats as long as a condition is met.
7.
MATCH QUESTION
1 min • 1 pt
Match each description with the code snippet that is an example of that description.
while loop
list
conditional
for loop
function
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
15 questions
Python Basics

Quiz
•
KG - University
10 questions
Javascript Part 2 Quizizz

Quiz
•
10th Grade
10 questions
Advanced Python Iteration Quiz

Quiz
•
10th Grade
11 questions
Structured Programming

Quiz
•
9th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
13 questions
How Search Engines Work

Quiz
•
7th - 12th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade