Python Functions Quiz

Python Functions Quiz

12th Grade

44 Qs

quiz-placeholder

Similar activities

Web Dev Quiz

Web Dev Quiz

9th - 12th Grade

40 Qs

REMEDIAL PSAS  (TULIS NAMA LENGKAP DAN KELAS)

REMEDIAL PSAS (TULIS NAMA LENGKAP DAN KELAS)

10th Grade - University

40 Qs

PENILAIAN SUMATIF AKHIR JENJANG SMP - INFORMATIKA

PENILAIAN SUMATIF AKHIR JENJANG SMP - INFORMATIKA

9th - 12th Grade

45 Qs

Asesmen Semester Ganjil 2024 Kelas XII TKJ

Asesmen Semester Ganjil 2024 Kelas XII TKJ

12th Grade

40 Qs

A+ Core 1 Module 3

A+ Core 1 Module 3

12th Grade

41 Qs

UNIT 1 CAPE I.T: MODULE 3 MCQ

UNIT 1 CAPE I.T: MODULE 3 MCQ

12th Grade

45 Qs

Quiz Xll-TKJ tentang Antivirus dan Keamanan Jaringan

Quiz Xll-TKJ tentang Antivirus dan Keamanan Jaringan

12th Grade - University

40 Qs

CSS 3rd Quarter Examination

CSS 3rd Quarter Examination

11th Grade - University

40 Qs

Python Functions Quiz

Python Functions Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Edelawit Abebe

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Information Technology (IT)