Python Cert - Day 4 (PM)
Quiz
•
Computers
•
12th Grade
•
Hard
Bobby Liu
Used 1+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 6 pts
A function definition starts with the keyword:
def
function
fun
2.
MULTIPLE CHOICE QUESTION
20 sec • 6 pts
A function definition:
cannot be placed among other code
may be placed anywhere inside the code after the first invocation
must be placed before the first invocation
3.
MULTIPLE CHOICE QUESTION
20 sec • 6 pts
A function parameter is a kind of variable accessible:
only after the function definition's completion
anywhere in the code
only inside the function
4.
MULTIPLE CHOICE QUESTION
30 sec • 6 pts
A way of passing arguments in which the order of the arguments determines the initial parameters' values is referred to as:
positional
ordered
sequential
keyword
5.
MULTIPLE SELECT QUESTION
45 sec • 6 pts
Which of the following statements are TRUE? (Select TWO answers)
The return keyword may cause the function to return a value
The return keyword forces the function's execution to terminate
The return keyword forces the function to restart its execution
6.
MULTIPLE CHOICE QUESTION
20 sec • 6 pts
None keyword designates:
a None value
a function which doesn't return a value
an empty instruction
7.
MULTIPLE CHOICE QUESTION
30 sec • 6 pts
A variable defined outside a function:
may not be accessed in any way inside the function
may be read, but not written (something more is needed to do so)
may be freely accessed inside the function
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
38 questions
Input Output devices - a lesson
Quiz
•
1st Grade - University
38 questions
Programming Basics Quiz
Quiz
•
12th Grade
29 questions
Hardware and Software Revision
Quiz
•
8th Grade - University
37 questions
Final Quiz
Quiz
•
12th Grade
34 questions
CFU 5.1 - Algorithms & Programming Language
Quiz
•
9th - 12th Grade
29 questions
Computer Parts
Quiz
•
9th - 12th Grade
34 questions
Python Dictionary
Quiz
•
11th - 12th Grade
36 questions
Functions - Python
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
