Programming Library Routines Activity

Programming Library Routines Activity

Assessment

Assessment

Created by

JackR JackR

Computers

10th Grade

1 plays

Medium

Student preview

quiz-placeholder

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

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Similar Resources on Quizizz

Orange Belt Quiz

10 questions

Orange Belt Quiz

assessment

KG - 12th Grade

8525 AQA GCSE 3.2.9 Random number generation

10 questions

8525 AQA GCSE 3.2.9 Random number generation

assessment

10th - 11th Grade

Chapter 8 - Programming (IGCSE Computer Science)

15 questions

Chapter 8 - Programming (IGCSE Computer Science)

assessment

9th - 12th Grade

PS libs and func

6 questions

PS libs and func

assessment

9th - 12th Grade

Math Class Quiz

12 questions

Math Class Quiz

assessment

10th - 12th Grade

1.2.1 Ram and Rom

15 questions

1.2.1 Ram and Rom

assessment

10th - 11th Grade

N5 SDD

9 questions

N5 SDD

assessment

10th - 12th Grade

Mathematical Functions in Java

15 questions

Mathematical Functions in Java

assessment

9th - 10th Grade

Popular Resources on Quizizz

STAAR reading review

13 questions

STAAR reading review

assessment

4th - 5th Grade

7th STAAR Reading Review

16 questions

7th STAAR Reading Review

assessment

7th Grade

STAAR Reading Review

12 questions

STAAR Reading Review

assessment

4th - 7th Grade

STAAR reading vocabulary

14 questions

STAAR reading vocabulary

assessment

4th - 5th Grade

STAAR Reading Review

10 questions

STAAR Reading Review

assessment

3rd - 5th Grade

Reading STAAR Review

17 questions

Reading STAAR Review

assessment

4th Grade

7th grade STAAR Reading Review

24 questions

7th grade STAAR Reading Review

assessment

7th Grade

Revising and Editing

14 questions

Revising and Editing

assessment

4th Grade

Discover more resources for Computers

Job Interview

20 questions

Job Interview

assessment

7th - 12th Grade