Search Header Logo

Python Quiz 5

Authored by ENDURO SRM

Computers

University

Used 2+ times

Python Quiz 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a function?

int()

round()

len()

lower()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

max() function can only be used for numeric data types?

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the extension of a Python module?

py

mod

md

py-md

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python module can store which of the following?

functions

constants

variables

all of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does random() function of random module do?

return a float between 0 and 1

return a float between the input numbers

return a int value between the input numbers

all of these

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to use pi constant of Math module?

math.pi()

math.pi

math(pi)

pi()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is 'a' called here?

return value

input value

parameter

keyword

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?