7. PYTHON FUNCTIONS -2

7. PYTHON FUNCTIONS -2

12th Grade

10 Qs

quiz-placeholder

Similar activities

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Python

Python

7th - 12th Grade

15 Qs

7.3.1 Network Reconnaissance

7.3.1 Network Reconnaissance

12th Grade

15 Qs

Scratch (28th March)

Scratch (28th March)

KG - University

10 Qs

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

CHƯƠNG TRÌNH CON BT1

CHƯƠNG TRÌNH CON BT1

10th - 12th Grade

10 Qs

AWS Cloud

AWS Cloud

11th - 12th Grade

14 Qs

Arrays

Arrays

12th Grade

10 Qs

7. PYTHON FUNCTIONS -2

7. PYTHON FUNCTIONS -2

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Geetha Geetha

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?