Python Functions Quiz

Python Functions Quiz

12th Grade

44 Qs

quiz-placeholder

Similar activities

6 CĐ 2 Full

6 CĐ 2 Full

6th Grade - University

42 Qs

Quiz Pra Asas 24 - Ganjil

Quiz Pra Asas 24 - Ganjil

7th Grade - University

45 Qs

Integrated Application Software Prefinals

Integrated Application Software Prefinals

12th Grade - University

41 Qs

Latihan Soal Materi Informatika kelas 8 smt 1

Latihan Soal Materi Informatika kelas 8 smt 1

8th Grade - University

40 Qs

ASAS Informatika Kelas X

ASAS Informatika Kelas X

10th Grade - University

45 Qs

WIRE TERMINATION/CONNECTION METHODS AND SAFETY PROCEDURES

WIRE TERMINATION/CONNECTION METHODS AND SAFETY PROCEDURES

9th Grade - University

40 Qs

STS grade 12

STS grade 12

12th Grade

42 Qs

XII LATIHAN SOAL 2 PSAS INFORMATIKA

XII LATIHAN SOAL 2 PSAS INFORMATIKA

9th - 12th Grade

45 Qs

Python Functions Quiz

Python Functions Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Hard

Created by

Edelawit Abebe

FREE Resource

AI

Enhance your content in a minute

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

44 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is a function in Python?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to create a function?

def

function

create

method

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of rocket_parts()?

payload, propellant, structure

error

None

payload

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the any() function do?

Checks if any item is True

Checks if all items are True

Returns the first item

Counts items

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if you call any() without arguments?

It will return True

It will raise an exception

It will return False

It will return None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of distance_from_earth('Moon')?

238,855

Unable to compute to that destination

Error

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of days_to_complete(238855, 75)?

132.69

133

Error

None

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?