Python L5 Tips Calculator
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Future Teacher
Used 5+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does input() return by default in Python?
int
float
string
boolean
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Fill in the blank to convert the bill input into a float:
bill = _______(input("How much is the total bill? "))
3.
CATEGORIZE QUESTION
3 mins • 1 pt
Drag and drop the following data types into the correct category:
Groups:
(a) String
,
(b) Boolean
,
(c) Integer
,
(d) Float
1.44
3.1425
400
"Good Job!"
int("456")
1890
"False"
True
False
4.
MATCH QUESTION
1 min • 1 pt
Match the function to what it does:
input()
Displays output
f"{value:.2f}"
Shows 2 decimal places
float()
Converts to float
print()
Takes user input
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using f"{final:.2f}" in the Tips Calculator?
Convert string to float
Split the bill
Format the number to 2 decimal places
Round the number to the nearest whole
6.
LABELLING QUESTION
1 min • 1 pt
Fill in the blank to complete the code
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
10 questions
Formatting a Spreadsheet
Quiz
•
6th Grade
10 questions
Check-up Exercise: Buttons
Quiz
•
7th Grade
7 questions
An Introduction to Computers 1
Quiz
•
7th Grade
8 questions
Overview of IT
Quiz
•
6th Grade - University
10 questions
For loop
Quiz
•
8th Grade
10 questions
Innovations of Technology
Quiz
•
7th - 10th Grade
10 questions
Artificial Intelligence
Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
