Search Header Logo
Math & Time Libraries

Math & Time Libraries

Assessment

Presentation

•

Computers

•

9th - 10th Grade

•

Medium

Created by

Calum Gordon

Used 6+ times

FREE Resource

13 Slides • 26 Questions

1

Math & Time Libraries

by BSN Computing

2

media

3

media

4

Multiple Select

Question image

In this lesson I am going to learn to ... ?

1

Use the math library methods

2

Round real numbers to a specified accuracy

3

Use the time library methods

5

media

6

Multiple Choice

A collection of subprograms that programmers can use to perform common tasks?

1

Library

2

Archive

3

Depository

4

Inventory

5

Cache

7

Fill in the Blanks

The Python keyword used to access a library is

Type answer...

8

Multiple Choice

Where is your program should you import Python libraries

1

At the very start

2

At the very end

3

Before the main program

4

Before the subprogram definitions

9

media

10

Multiple Select

Which of these libraries will you be learning to use?

1

random

2

math

3

time

4

datetime

5

tkinter

11

media

12

Multiple Select

What calculations will your Geometry program make?

1

Surface area of solids

2

Volume of solids

3

Area of 2-D regular shapes

4

Perimeter of 2-D shapes

5

Mass of sol

13

media

14

Multiple Choice

Correct formula for surface area of a cylinder? 

1

πr2 + 2πrh\pi r^2\ +\ 2\pi rh  

2

πr2 + 2πr\pi r^2\ +\ 2\pi r  

3

πr2 × πrh\pi r^2\ \times\ \pi rh  

15

media

16

media

17

Fill in the Blanks

Type a line of code to import the math library ...

Type answer...

18

Fill in the Blanks

Type a line of code to import ONLY the value of pi from the math library ...

Type answer...

19

Multiple Choice

Choose two lines of code that import everything from the math library

1

import math

2

from math import *

3

import * from math

4

import math -a

20

Fill in the Blanks

Type a line of code to import everything from the math library ...

Type answer...

21

media

22

Fill in the Blanks

media image

Type the name of an imported library ...

Type answer...

23

Fill in the Blanks

media image

Type the line number of a subprogram call ...

Type answer...

24

Fill in the Blanks

media image

Type the name of a subprogram parameter ...

Type answer...

25

Fill in the Blanks

media image

Type the name of a global variable ...

Type answer...

26

Fill in the Blanks

media image

Type the value of an argument passed to a subprogram ...

Type answer...

27

Fill in the Blanks

media image

Type ONE line of code to replace the contents of the subprogram (with no unecessary spaces) ...

Type answer...

28

media

29

Fill in the Blanks

media image

What is this number rounded to 2 d.p.?

Type answer...

30

Fill in the Blanks

media image

What is this number rounded to 6 d.p.?

Type answer...

31

Fill in the Blanks

media image

What is this number rounded to 0 d.p.?

Type answer...

32

media

33

Multiple Choice

Correct line of code to round area to 1 d.p.?

1

area = round(area,1)

2

area.round(2)

3

round(area,1)

4

area = round(1)

34

Fill in the Blanks

media image

Type a line number that uses a method from the math library

Type answer...

35

Fill in the Blanks

media image

Type a line number that accesses a constant from the math library

Type answer...

36

media

37

Multiple Select

Question image

In this lesson I have learned to ...

1

Use the math library methods

2

Round real numbers to a specified accuracy

3

Use the time library methods

38

Open Ended

Question image

Thinking Hard

Now that you have finished the lesson, what questions do you still want answered?

(press Shift+Enter to take a new line ...)

39

Poll

Question image

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

pattern-tertiary
Math & Time Libraries

by BSN Computing

Show answer

Auto Play

Slide 1 / 39

SLIDE