Python Function Structure
Quiz
•
Other, Mathematics
•
8th - 12th Grade
•
Medium
Larsen Jessica
Used 25+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a library in python?
COLLECTION OF FILES
COLLECTION OF FUNCTIONS
IT IS SUBPROGRAM
NAME OF A FILE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
exp(),floor()belongs which libraries?
cmath.py
urlib.py
math.py
statistics.py
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the extension of python library modules?
.mod
.lib
.code
.py
4.
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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python which is the correct method to load a module math?
include math
import math
#include<math.h>
using math
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A collection of modules and packages that can be imported into a program is called a __________.
class
documentation
library
function
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How could you use the sqrt function from the math module to print the square root of 16?
import sqrt print(math.sqrt(16))
from math import sqrt print(math.sqrt(16))
from math import sqrt print(sqrt(16))
import sqrt print(sqrt(16))
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
20 questions
ECUACIONES TRIGONOMETRICAS
Quiz
•
12th Grade
15 questions
Q1:W2:PRETEST
Quiz
•
10th Grade
20 questions
Gk quiz January
Quiz
•
12th Grade - University
20 questions
Vektor Di R2 dan R3
Quiz
•
11th Grade
20 questions
COMPLETING THE SQUARE
Quiz
•
12th Grade - University
20 questions
ตรรกศาสตร์เบื้องต้น
Quiz
•
10th Grade
15 questions
แบบทดสอบก่อนเรียน เซต ม.4
Quiz
•
10th Grade
20 questions
Penilaian Harian Ke- 1 Materi Bilangan Berpangkat dan Bentuk Akar
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
Discover more resources for Other
15 questions
Product of Powers Property A1 U7
Quiz
•
8th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
16 questions
8th U5L5 Graphs of Functions
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
20 questions
One Step equations addition and subtraction
Quiz
•
5th - 8th Grade
20 questions
Translations
Quiz
•
8th Grade
