Python Function Structure

Python Function Structure

8th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

limit trigonometri

limit trigonometri

12th Grade

20 Qs

PERSAMAAN LOGARITMA

PERSAMAAN LOGARITMA

10th Grade

15 Qs

Ulangan Persaman Lingkaran

Ulangan Persaman Lingkaran

11th Grade

20 Qs

Geometry

Geometry

10th Grade

15 Qs

TUGAS 4 - X MIPA

TUGAS 4 - X MIPA

10th Grade

15 Qs

Distancia de un punto a una recta

Distancia de un punto a una recta

12th Grade

20 Qs

Linear Algebra II

Linear Algebra II

12th Grade - University

20 Qs

PAS Gasal

PAS Gasal

10th 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?