Search Header Logo

Modules

Authored by jency joseph

Professional Development

University

Used 2+ times

Modules
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A module is simply a Python file with a ________ extension that can be imported inside another Python program

.py

.p

.o

.pyt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

keyword for creating function in python

def

method

string

py

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A _________ is a block of code which only runs when it is called.

function

datatype

conditional statement

looping statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def add(a,b):

print(a+b)

add(5)

5

TypeError

0

50

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def fix(a="5"):

print(a)

fix(6)

5

6

empty space

56

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?