

Bus Fare Discounts and Errors
Interactive Video
•
Computers
•
6th - 10th Grade
•
Practice Problem
•
Hard
Olivia Brooks
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the standard bus fare before any discounts?
$3.25
$4.25
$4.75
$5.00
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which age group qualifies for a free bus ride?
All ages
60 and above
Under 5
5 and above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What error occurs if the age input is not cast to an integer?
Syntax Error
Type Error
Value Error
Index Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the condition to qualify as a senior for a bus fare discount?
Age under 60
Age 60 and over
Age exactly 60
Age over 60
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How much is the discount for seniors on their bus fare?
$2.00
$0.50
$1.50
$1.00
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it better to subtract a dollar from the bus fare rather than setting it directly to $3.25?
It is more readable
It is more future-proof
It is less error-prone
It is faster
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What variable is introduced to remember the type of fare?
fareType
fareCategory
fareClass
fareLabel
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
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade