7. PYTHON FUNCTIONS -2

Quiz
•
Computers
•
12th Grade
•
Medium
Geetha Geetha
Used 24+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. In Python, _____________ function is a function that is defined without a name.
user-defined
anonymous
built-in
recursion
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. An anonymous function is also called a ______________ function.
recursion
built-in
user-defined
lambda
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. _________________ of a variable refers to the part of the program, where it is accessible.
score
function
Scope
none of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. A variable declared inside the function's body is known as a ________ variable.
local
global
register
function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. A variable, with ____________ scope, can be used anywhere in the program.
local
global
extern
register
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Without using the ____________ keyword we cannot modify the global variable inside the function
int
char
local
global
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. _____________ function is mostly used for creating small and one-time anonymous functions.
built-in
user-defined
Lambda
global
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
H Plenary - Modular programming quick quiz

Quiz
•
10th Grade - University
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
11 questions
Python functions

Quiz
•
12th Grade
15 questions
Quiz on Variables in Programming

Quiz
•
11th Grade - University
13 questions
Python Functions

Quiz
•
9th - 12th Grade
10 questions
PCEP Section 4B: the function and its environment

Quiz
•
12th Grade
15 questions
Technical Quiz R2

Quiz
•
12th Grade
10 questions
Pandas

Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade