Search Header Logo

Python Functions

Authored by kokila koki

Computers

12th Grade

Used 224+ times

Python Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A named blocks of code that are designed to do one specific job is called as________

Loop

Function

Block

Branching

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

A Function which calls itself is called as_______

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

While defining a function which of the

following symbol is used.

;(semi colon)

.(dot)

$(dollar)

:(colon)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function is called anonymous function?

Lambda

Recursion

Function

Define

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which keyword to be used to define a function in Python?

def

Local

Rec

Global

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is used, if you don’t need to type all the python code for the same task again and again?

Statement

Scope

Control Structure

Function

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many types of scopes in Python?

1

3

2

4

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?