What does the print() function do?
Python Basics

Quiz
•
Computers
•
1st Grade - University
•
Hard

Adon Anglon
Used 21+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Connects to the nearest printer and prints the current file
Displays the written contents of the entire file
Displays the output of the code in the function
Displays the code written in the function
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the pieces of a for loop?
Colon; :
Parenthesis; ()
Range function; range(int)
Placeholder variable; count
While keyword; while
3.
OPEN ENDED QUESTION
2 mins • 1 pt
In your own words, explain the problem(s) with this code
x = "Akash"
print("Knock knock)
print("Who's there?")
print("It's " + y)
Evaluate responses using AI:
OFF
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the errors in this code?
Select all that apply.
var1 = "A"
2nd_var = "B#"
if var1 = 2nd_var:
print("Harmony")
else:
print("Discord")
Nothing is wrong
Invalid variable name
Invalid use of special characters in String
Incorrect Boolean comparison operator
Incorrect syntax for if statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be added? (Look carefully)
pageCount = 500
if pageCount > 500:
print("This book 500 pages or more!")
else:
print("Find a longer book.")
Add an equal sign to the greater than sign
Add the str() function to 500 in the print statement
Add parenthesis to the if statement
Another ! to the first print statement
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What do the str(), int(), and float() functions have in common? Select all that apply.
(Hint: These functions can "convert" their own types too)
All can properly convert '16' without error
All convert any value to a specified data type
All can convert each other's types always
All can properly use '42.5' without error
All convert one data type to another
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the problem
counter = 0
while counter < 10:
print(counter + 1)
Missing parenthesis from while function
counter variable never increases
Operation within print function
Missing quotation marks from print function
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main reason one would use a while loop over a for loop?
While is faster because it loops on its own without a Boolean expression
While can be used when the end of the loop is unknown
While ends whenever the Boolean expression is False
While can create infinite loops which can throw an error
9.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What did you think about using Quizizz and this quiz style?
I thought it was great!
I liked it.
It was ok...
I think we should use something else (etc. Kahoot?)
Yeah... I'll pass on these.
Similar Resources on Wayground
14 questions
PCS Typing Questions

Quiz
•
9th - 12th Grade
10 questions
Quiz 13 - For Loops

Quiz
•
11th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
10 questions
Unit 2 Python

Quiz
•
University
11 questions
Python Review

Quiz
•
11th Grade
10 questions
Quiz ADT linked list 20-12-66

Quiz
•
1st Grade
10 questions
CSC126_Chapter4_Part1

Quiz
•
University
10 questions
Python Basics - Quiz

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade