Function In Python Programming

Function In Python Programming

12th Grade

8 Qs

quiz-placeholder

Similar activities

2.2 EOU Quiz

2.2 EOU Quiz

1st Grade - Professional Development

10 Qs

Stepwise Refinement

Stepwise Refinement

11th - 12th Grade

13 Qs

Code.org APCSP Unit 7 Assessment

Code.org APCSP Unit 7 Assessment

9th - 12th Grade

13 Qs

GDScript Quiz - Lesson 2 - Variables & Functions

GDScript Quiz - Lesson 2 - Variables & Functions

12th Grade

10 Qs

Python Function

Python Function

11th - 12th Grade

11 Qs

Computer Science Slip test 1

Computer Science Slip test 1

12th Grade

10 Qs

H466 - Global and Local Variables

H466 - Global and Local Variables

12th Grade - University

10 Qs

Python Libraries - Random Numbers

Python Libraries - Random Numbers

12th Grade

10 Qs

Function In Python Programming

Function In Python Programming

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Megha Agarwal

Used 4+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to use a module in python programming

for

while

import

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function

define

DEF

def

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to use a function in our programming

using invoke statement

using its parameters

using its argument

all of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variables which we pass in function header are called?

arguments

parameters

none

both a and b

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variables passed in invoke statement are called ?

parameters

arguments

none

both a and b

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

local variable(s) can be used ......................

anywhere in the program

with-in the method/function

with-in the local scope

none

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

upper() is a ..................

built it function

user defined function

module function

none

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is a ..................

case sensitive language

case insensitive language

none