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.
for loop
list
function
conditional
while loop
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
حاسب 2
Quiz
•
10th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
15 questions
Identidad Corporativa
Quiz
•
10th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
Word 2016
Quiz
•
10th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
15 questions
Excel - basic
Quiz
•
9th Grade
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
