
Time library - Python
Authored by Owen PERRY
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you tell python you want to use the turtle library
turtle import
import turtle
from libraries import turtle
from turtle import libraries
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these commands would successfully create a turtle named Alice
Alice = turtle.turtle()
Alice = Turtle.turtle()
Alice = Turtle.Turtle()
Alice = turtle.Turtle()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python which is the correct method to load a library called math?
include math
import math
#include<math.h>
using math
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you call the sleep function of the time library?
sleep.time(x)
sleep.time(x,y)
time.sleep(x)
time.sleep(x,y)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the sleep function return
String
Integer
Float
Nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what does time.time_ns() return?
string
integer
float
nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does time.time_ns do()
Gives you the number of seconds since the program started
Gives you the number of minutes since the epoch
Gives you the number of seconds since the epoch
Calculates the difference between the current time and the epoch
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
11 questions
Unit 2, 1.3 Types of information access and storage devices
Quiz
•
12th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
9 questions
1.5.1 - Starter Task/Social Engineering Starter (Dg)
Quiz
•
11th Grade
15 questions
Virtual Private Server
Quiz
•
12th Grade
10 questions
Computer Aided Design
Quiz
•
11th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่6
Quiz
•
10th - 12th Grade
12 questions
Number Format and Text Orientation in Khmer
Quiz
•
9th Grade
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