
Functions & Modular Programming
Quiz
•
Information Technology (IT)
•
11th Grade
•
Practice Problem
•
Hard
Tarra Jackson
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What keyword is used to define a function in Python?
func
define
def
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What will be the output of the following code?
Hello
"Hello"
greet()
Nothing
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What is the difference between a parameter and an argument?
A parameter is a value passed into a function, and an argument is a variable in the function.
A parameter is a placeholder in the function definition, while an argument is the actual value passed when calling the function.
They are the same thing.
A parameter is only used in loops.
4.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which of the following is NOT a function in Python?
print()
return()
input()
len()
5.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What will happen if a function does not have a return statement?
It will automatically return None.
The program will crash.
The function will return the last value used.
The function cannot be called.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Informatika saat ini & di masa depan
Quiz
•
9th - 12th Grade
10 questions
Berpikir Kritis & Dampak Informatika
Quiz
•
11th Grade
10 questions
Quis code blocks
Quiz
•
11th Grade
10 questions
Quiz Algoritma Rekursi dan Greedy
Quiz
•
11th Grade - University
10 questions
Dasar HTML
Quiz
•
11th Grade
10 questions
Logika Pemrograman pt 2
Quiz
•
11th Grade
10 questions
1º Quiz de HTML, CSS e JavaScript
Quiz
•
11th Grade
10 questions
CONCEPTOS ARDUINO
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
