Python Function Structure

Python Function Structure

8th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

PH 1

PH 1

10th - 12th Grade

15 Qs

Propiedades de las raíces enésimas

Propiedades de las raíces enésimas

10th Grade

13 Qs

Quiz#4: Distance and Midpoint Formula

Quiz#4: Distance and Midpoint Formula

10th Grade

15 Qs

ทบทวนความสัมพันธ์และฟังก์ชัน

ทบทวนความสัมพันธ์และฟังก์ชัน

10th Grade

20 Qs

ÔN hàm số

ÔN hàm số

9th Grade

16 Qs

CĂN THỨC BẬC HẢI

CĂN THỨC BẬC HẢI

9th - 12th Grade

15 Qs

แบบทดสอบก่อนเรียน คณิตศาสตร์ ม.2

แบบทดสอบก่อนเรียน คณิตศาสตร์ ม.2

8th Grade

15 Qs

GEN. MATH SUMMATIVE TEST

GEN. MATH SUMMATIVE TEST

11th Grade

20 Qs

Python Function Structure

Python Function Structure

Assessment

Quiz

Other, Mathematics

8th - 12th Grade

Medium

Created by

Larsen Jessica

Used 25+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?