Rounding Numbers in Python
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Sangameshwar Biradar
Used 16+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The value 1.73 rounded to one decimal place using the “rounding up” strategy is…
1.7
1.8
1.73
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The value -2.961 rounded to two decimal places using the “rounding down” strategy is…
-2.96
-2.97
-2.9
-2.961
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a value is truncated to 3 decimal places, which of the following is true?
Both positive and negative numbers are rounded down.
Positive numbers are rounded down and negative numbers are rounded up.
Positive numbers are rounded up and negative numbers are rounded down.
Both positive and negative numbers are rounded up.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The value -0.045 rounded to 2 decimal places using the “round half away from zero” strategy is…
-0.05
-0.04
-0.045
-0.03
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which rounding strategy does Python’s built-in round() function use?
Round half away from zero
Round half to even
Round half down
Round half up
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The value 4.65 rounded to one decimal place using the “round half to even” strategy is…
4.6
4.7
4.65
4.5
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following rounding strategies mitigates rounding bias the best?
Round half away from zero
Round half up
Truncate
Round half to even
Round down
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
Revision time
Quiz
•
University
10 questions
Repaso teoría 1er Parcial - SISOP UTN-FRBA
Quiz
•
University
10 questions
HW5 Chapter 5 - PLC
Quiz
•
University
10 questions
Information systems analysis and design
Quiz
•
University
13 questions
Review Week 3
Quiz
•
University
10 questions
Ch8, Calculating Pressure
Quiz
•
University
10 questions
OSI-LAYER
Quiz
•
University
10 questions
Introduction to Computer Science
Quiz
•
University
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
