Python Functions Quiz

Python Functions Quiz

12th Grade

44 Qs

quiz-placeholder

Similar activities

Quiz Informatika Kelas VII

Quiz Informatika Kelas VII

7th Grade - University

40 Qs

Latihan Soal Sistem Komputer - Kelas 7

Latihan Soal Sistem Komputer - Kelas 7

7th Grade - University

40 Qs

SUMATIF AKHIR SEMESTER SATU TAHUN PELAJARAN 2025-2026

SUMATIF AKHIR SEMESTER SATU TAHUN PELAJARAN 2025-2026

10th Grade - University

40 Qs

Ujian Akhir Semester 1

Ujian Akhir Semester 1

8th Grade - University

45 Qs

LATIHAN SAS INFORMATIKA KELAS 9

LATIHAN SAS INFORMATIKA KELAS 9

9th Grade - University

45 Qs

Soal Pilihan Ganda - Arduino

Soal Pilihan Ganda - Arduino

12th Grade - University

40 Qs

Javascript CORE - AZ

Javascript CORE - AZ

9th Grade - University

40 Qs

Quiz de Noël 2025

Quiz de Noël 2025

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?