What is the default return value for a function that does not return a value explicitly?

12 CS Revision 1

Quiz
•
Computers
•
11th Grade
•
Medium
Anjali Luthra
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
None
int
double
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following items are present in the function header?
Function name only
Both function name and parameter list
parameter list only
Return value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following keywords marks the begining of the function block?
Func
define
def
function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Is The Output Of The Following Code Snippet?
def func(message, num = 1):
print(message * num)
func('Welcome')
func('Viewers', 3)
Welcome
Viewers
Welcome
ViewersViewersViewers
Welcome
Viewers,Viewers,Viewers
Welcome
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is a variable defined outside all the function referred to as?
A static variable
A global variable
A local variable
An automatic variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is a variable defined inside all the function referred to as?
A static variable
A global variable
A local variable
An automatic variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the given argument types can be skipped from a function call?
Positional arguments
keyword arguments
named arguments
default arguments
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Python list, if

Quiz
•
6th - 12th Grade
20 questions
Higher SDD Revision

Quiz
•
11th - 12th Grade
23 questions
GCSE Python Programming Basics

Quiz
•
11th Grade
29 questions
Python Y10

Quiz
•
4th - 12th Grade
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
20 questions
Lists - Built in Functions

Quiz
•
11th Grade
20 questions
Lists in Python

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade