
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
42 questions
Quiz Teknologi dan Informasi

Quiz
•
12th Grade - University
40 questions
Computer Tools and Their Functions

Quiz
•
9th - 12th Grade
41 questions
Network Setup Quiz

Quiz
•
12th Grade
40 questions
Unong Special Quiz

Quiz
•
12th Grade
40 questions
SQL Quiz

Quiz
•
12th Grade
40 questions
REMIDI SAS 8 SMT 1 INFORMATIKA

Quiz
•
8th Grade - University
40 questions
IT Webxam Practice Test #2

Quiz
•
12th Grade
43 questions
SUMBER25-INFORMATIKA-KELAS7-VENY

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
13 questions
8th - Unit 1 Lesson 3

Quiz
•
9th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
21 questions
SPANISH GREETINGS REVIEW

Quiz
•
9th - 12th Grade
6 questions
PRIDE Always and Everywhere

Lesson
•
12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade