Using import math in Python
Quiz
•
Others
•
9th - 12th Grade
•
Medium
Chizoba Mercy Akwugo
Used 2+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does import math do in Python?
Draw shapes
Draw shapes
Brings in extra math functions.
Makes your code run faster
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function gives you the value of π (pi)?
pi()
math.pi()
math.PI()
get.pi()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the formula to calculate the area of a circle?
π × r²
2 × π × r
π × 2 × r
r² + π
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you calculate the square root of 25 using Python?
math.square(25)
math.sqrt(25)
sqrt(25)
math.pow(25, 2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following finds the area of a circle with radius 5?
5 * 3.14
math.pi *5**2
math.sqrt(5)
math.pow(5, 2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following imports both math and random libraries?
import math.random
from math import random
import math, random
random.import(math)
Similar Resources on Wayground
10 questions
Python Basics for Grade 11
Quiz
•
11th Grade
10 questions
The Basics of the Riemann Hypothesis Quiz
Quiz
•
12th Grade
10 questions
Identifying Real Numbers
Quiz
•
10th Grade
10 questions
Exploring Computer Concepts for 9th Graders
Quiz
•
9th Grade
5 questions
pertumbuhan ekonomi
Quiz
•
9th Grade
5 questions
i lôv ms pa 🩷
Quiz
•
11th Grade
10 questions
Surface Area Mastery
Quiz
•
11th Grade
10 questions
Exploring Ionic Bonding
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Others
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
7 questions
Combining & Revising Sentences- EOC English I Crunchtime
Quiz
•
9th - 10th Grade
