What does this function do?
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
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
function
list
conditional
for loop
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Y9 Homework 1: Python Revisited 1

Quiz
•
9th Grade
14 questions
PYTHON DICTIONARIES

Quiz
•
11th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
11 questions
Quiz on Python Functions

Quiz
•
12th Grade
11 questions
Structured Programming

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

Quiz
•
12th Grade
10 questions
Python If Statements - and or not

Quiz
•
11th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University