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.
function
list
while loop
conditional
for loop
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Python Code Snippet Quiz

Quiz
•
11th Grade
10 questions
Pseudocode Input

Quiz
•
9th - 12th Grade
10 questions
OOPS in Python

Quiz
•
12th Grade
12 questions
Topic 1 C++ Programming

Quiz
•
12th Grade
15 questions
Functions and Parameters Quiz

Quiz
•
9th - 12th Grade
15 questions
7.2 Parameters & Return Investigate

Quiz
•
9th - 12th Grade
10 questions
Python Basics

Quiz
•
12th Grade - University
10 questions
CS1310 Unit 1 Quizziz

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade