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
15 questions
Higher Order Functiond and Regex

Quiz
•
12th Grade
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
13 questions
Unit 12 - Functional Programming

Quiz
•
12th Grade - University
12 questions
Functions Parameters

Quiz
•
10th - 12th Grade
15 questions
INTRODUCTION TO OOP TECHNIQUE

Quiz
•
11th - 12th Grade
15 questions
AP Computer Science Principles Unit 4 Review

Quiz
•
9th Grade - University
15 questions
Kuizi 15 - Web

Quiz
•
10th Grade - University
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade