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.
list
function
while loop
conditional
for loop
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
PYTHON DICTIONARIES

Quiz
•
11th Grade
8 questions
Python - 3.4.13 - Lists Quiz

Quiz
•
12th Grade
14 questions
Python User Defined Functions

Quiz
•
12th Grade
10 questions
Y6 - Programming A - Variables in games

Quiz
•
6th Grade - University
15 questions
C++ SHS B1-B2

Quiz
•
11th Grade
11 questions
Quiz on Python Functions

Quiz
•
12th Grade
13 questions
Y9 Homework 1: Python Revisited 1

Quiz
•
9th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade