Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Loading
10
×
True or False: print() is a user-defined function.
False
Oops!
Check
Okay!
Check
10
×
What is the output of the following code segment?
No output will be displayed!
Oops!
Check
Okay!
Check
10
×
How many parameters does the function have?
0
Oops!
Check
Okay!
Check
10
×
The values being passed through a function call statement are called _________________.
arguments
Oops!
Check
Okay!
Check
10
×
What is the name of the function?
my_function
Oops!
Check
Okay!
Check
10
×
_______________ keyword is used for creating a function in Python.
def
Oops!
Check
Okay!
Check
×
eraser
Reset score!
Oops!
×
star
Double points!
Okay!
×
gift
Win 10 points!
Okay!
×
thief
Give points!
5
10
15
20
25
10
×
True of False: data = 20 is a global variable.
False
Oops!
Check
Okay!
Check
10
×
In which order the following lines of code will be processed by Python compiler?
4, 1, 2
Oops!
Check
Okay!
Check
10
×
What is the output of the following code segment?
20
Oops!
Check
Okay!
Check
10
×
True or False: data = 10 is a global variable.
True
Oops!
Check
Okay!
Check
×
banana
Go to last place!
Oops!
×
shark
Other team loses 25 points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
lifesaver
Give 10 points!
Oops!
10
×
What is the output of the following code segment?
10
Oops!
Check
Okay!
Check
×
banana
Go to last place!
Oops!
×
gift
Win 25 points!
Okay!
×
shark
Other team loses 10 points!
Okay!
×
banana
Go to last place!
Oops!
10
×
The variables used in the function header are called ___________________.
parameters
Oops!
Check
Okay!
Check
×
boom
Lose 50 points!
Oops!
×
rocket
Go to first place!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
baam
Lose 15 points!
Oops!
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies