Python Function Structure

Quiz
•
Other, Mathematics
•
8th - 12th Grade
•
Medium
Larsen Jessica
Used 25+ times
FREE Resource
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))
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Operations on Radicals

Quiz
•
9th Grade
15 questions
Simplify Radicals and Pythagorean Theorem

Quiz
•
9th - 10th Grade
15 questions
Dimensi Tiga

Quiz
•
12th Grade
20 questions
MULTIPLYING AND DIVIDING RADICAL EXPRESSIONS

Quiz
•
9th - 10th Grade
16 questions
Unit 12 Assignment 12-4

Quiz
•
9th - 10th Grade
15 questions
Real Number System

Quiz
•
8th Grade
13 questions
Fair Division Games

Quiz
•
10th - 12th Grade
16 questions
Multiplying Radicals

Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade