Python Functions Quiz
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
William Lugo
Used 11+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Python function always returns a value
True
False
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
15
SyntaxError
(5,10)
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Select which is true for Python function
A Python function can return only a single value
A function can take an unlimited number of arguments.
A Python function can return multiple values
Python function doesn’t return anything unless and until you add a return statement
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following function call
5
15
(15,5)
SyntaxError
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
15
8
(8,7)
SyntaxError
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output
25
NameError
5
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select which true for Python function
A function is a code block that only executes when called and always returns a value.
A function only executes when it is called and we can reuse it in a program
Python doesn’t support nested function
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
Cyber Security
Quiz
•
1st - 10th Grade
10 questions
Validación de Datos
Quiz
•
10th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
