
Python Functions Quiz

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
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
Similar Resources on Wayground
40 questions
Latihan Soal Materi Informatika kelas 8 smt 1

Quiz
•
8th Grade - University
40 questions
Quiz Informatika Kelas VII

Quiz
•
7th Grade - University
40 questions
TIK CLASS 7

Quiz
•
7th Grade - University
40 questions
Python Practice Test

Quiz
•
12th Grade
46 questions
Understanding Hidden Data in Microsoft Word Documents

Quiz
•
10th Grade - University
39 questions
Python - Chapter 2 Practice Quiz

Quiz
•
12th Grade
45 questions
Latihan Pemantapan Informatika

Quiz
•
9th - 12th Grade
45 questions
LATIHAN SAS INFORMATIKA KELAS 9

Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade