
Programming Library Routines Activity

Assessment
•
JackR JackR
•
Computers
•
10th Grade
•
1 plays
•
Medium
Student preview

10 questions
Show all answers
1.
MULTIPLE CHOICE
5 mins • 1 pt
Round 18.7356 to two decimal place would use the pseudocode?
2.
MULTIPLE CHOICE
5 mins • 1 pt
What is the pseudocode to carry out the following? Round 18.7356 to one decimal place
3.
MULTIPLE CHOICE
5 mins • 1 pt
How could you create a random integer between 0 and 100?
4.
MULTIPLE CHOICE
5 mins • 1 pt
Explain what the following algorithm does: import statistics ages = [18,2,14,6] a = min(Ages) b = max(Ages) c = sum(Ages) d = statistics.mean(ages) ages.sort() print(ages) print(a,b,c,d) if 14 in ages: print("14 present")
5.
MULTIPLE CHOICE
5 mins • 1 pt
What would the pseudocode be to convert the floating point number stored in totalBill to two decimal places?
6.
MULTIPLE CHOICE
5 mins • 1 pt
How could you simulate the throw of a dice?
7.
MULTIPLE CHOICE
5 mins • 1 pt
A random number between 0 and 100 can be generated with a statement such as
8.
MULTIPLE CHOICE
5 mins • 1 pt
What is an algorithm for finding the minimum number from an array of numbers?
9.
MULTIPLE CHOICE
5 mins • 1 pt
What is the pseudocode to carry out the following? Round a variable Distance (in metres) to the nearest cm
10.
MULTIPLE CHOICE
5 mins • 1 pt
What is the result of the following library routines that are written in pseudocode? RANDOM()
Explore all questions with a free account
Similar Resources on Quizizz
Orange Belt Quiz

•
KG - 12th Grade
8525 AQA GCSE 3.2.9 Random number generation

•
10th - 11th Grade
Chapter 8 - Programming (IGCSE Computer Science)

•
9th - 12th Grade
PS libs and func

•
9th - 12th Grade
Math Class Quiz

•
10th - 12th Grade
1.2.1 Ram and Rom

•
10th - 11th Grade
N5 SDD

•
10th - 12th Grade
Mathematical Functions in Java

•
9th - 10th Grade
Popular Resources on Quizizz
STAAR reading review

•
4th - 5th Grade
7th STAAR Reading Review

•
7th Grade
STAAR Reading Review

•
4th - 7th Grade
STAAR reading vocabulary

•
4th - 5th Grade
STAAR Reading Review

•
3rd - 5th Grade
Reading STAAR Review

•
4th Grade
7th grade STAAR Reading Review

•
7th Grade
Revising and Editing

•
4th Grade
Discover more resources for Computers
Job Interview

•
7th - 12th Grade