Time library - Python

Time library - Python

Assessment

Assessment

Created by

Owen PERRY

Computers

9th - 12th Grade

2 plays

Medium

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE

30 sec • 1 pt

How do you tell python you want to use the turtle library

2.

MULTIPLE CHOICE

30 sec • 1 pt

Which of these commands would successfully create a turtle named Alice

3.

MULTIPLE CHOICE

30 sec • 1 pt

In python which is the correct method to load a library called math?

4.

MULTIPLE CHOICE

30 sec • 1 pt

How do you call the sleep function of the time library?

5.

MULTIPLE CHOICE

30 sec • 1 pt

What does the sleep function return

6.

MULTIPLE CHOICE

30 sec • 1 pt

what does time.time_ns() return?

7.

MULTIPLE CHOICE

30 sec • 1 pt

What does time.time_ns do()

8.

MULTIPLE CHOICE

30 sec • 1 pt

What is the difference between a float and an integer

9.

MULTIPLE CHOICE

30 sec • 1 pt

How might you open a file in python?

10.

MULTIPLE CHOICE

30 sec • 1 pt

random.random() generates a random float between _ & _

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?