Important Notice:
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
O Level
Notes
Follow us:
OLevelNotes
Home
O Level Notes
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
CCC
CCC Chapter Wise Notes
CCC Chapter Wise MCQ
CCC Modal Paper
CCC Previous Paper
CCC Assignment
CCC Online Test/Real Portal
Chapter Wise MCQ
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Model Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
O Level Real Test Portal
Old Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Practical Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Assignment
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Contact Us
ADCA Course
Introduction To Computer
Introduction To OS
MS Office
Tally Prime
Graphic Design
Web Design
Programming Language
Learn Typing
Typing Tutor
Typing Test
KCIT Student
Student Login
KCIT Student
M3-R5.1 — Functions MCQ
25 Questions • M3-R5.1
20:00
← Back
1
A function in Python is defined using?
A
function
B
func
C
def
D
define
2
A function that calls itself is called?
A
Lambda function
B
Recursive function
C
Built-in function
D
Generator function
3
Lambda function in Python is?
A
A named function
B
An anonymous one-line function
C
A class method
D
A built-in function
4
Which keyword returns a value from a function?
A
give
B
send
C
return
D
output
5
Default parameter in Python function?
A
def f(x): pass
B
def f(x=10): pass
C
def f(*x): pass
D
def f(x,): pass
6
*args in a function allows?
A
Keyword arguments
B
Variable number of positional arguments
C
Default arguments
D
No arguments
7
**kwargs in a function allows?
A
List arguments
B
Variable number of keyword arguments
C
Integer arguments only
D
No arguments
8
A variable defined inside a function has?
A
Global scope
B
Local scope
C
Class scope
D
Module scope
9
global keyword inside a function is used to?
A
Create local variable
B
Access module-level global variable
C
Delete a variable
D
Rename a variable
10
map(func, list) in Python?
A
Filters elements
B
Applies func to each element of list
C
Sorts list using func
D
Reduces list to single value
11
Function in Python is defined with?
A
function
B
def
C
func
D
define
12
return statement does?
A
Prints value
B
Sends value back to caller
C
Loops
D
Imports module
13
Default parameter has?
A
No value
B
A pre-assigned value
C
Error
D
Multiple values
14
*args in function allows?
A
Fixed arguments
B
Variable number of positional arguments
C
Keyword arguments
D
No arguments
15
**kwargs allows?
A
Positional args
B
Variable number of keyword arguments
C
No arguments
D
Single argument
16
Lambda function is?
A
Named function
B
Anonymous/inline function
C
Class method
D
Module function
17
Lambda syntax is?
A
def lambda:
B
lambda parameters: expression
C
func lambda()
D
lambda def:
18
Recursive function calls?
A
Another function
B
Itself
C
No function
D
Main function only
19
Local variable is accessible?
A
Everywhere
B
Only inside the function where defined
C
Only outside function
D
Globally
20
Global variable is accessible?
A
Only in function
B
Throughout the program
C
Only in class
D
Only in module
21
global keyword is used to?
A
Create function
B
Modify global variable inside function
C
Import module
D
Define class
22
map() function applies?
A
Nothing
B
A function to each item of iterable
C
Only to strings
D
Only to numbers
23
filter() function returns?
A
All items
B
Items where function returns True
C
Items where function returns False
D
Empty list
24
A function without return returns?
A
0
B
Empty string
C
None
D
Error
25
Docstring in function is?
A
A comment
B
Documentation string as first statement in function
C
An error
D
A variable
📋 Question Navigator
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Answered
Not Answered
ℹ️ Quiz Info
Total Questions:
25
Time Limit:
20 min
Subject:
M3-R5.1
Passing:
60%
Attempt all questions before submitting. You can review your answers using the navigator above.
Answered:
0
/ 25
Submit Quiz