wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

XII - CS - Lesson 7 - Function - Quiz 1

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

_____ are named blocks of code that are designed to do specific job

a)

Loops

b)

Program

c)

Functions

d)

Branching

2.

Which is not a function in python?

a)

User defined function

b)

Lamda function

c)

Recursive function

d)

Copy function

3.

Functions that are inbuilt with in Python is called

a)

User defined function

b)

Lamda function

c)

Recursive function

d)

Build in function

4.

Functions that calls itself is known as

a)

User defined function

b)

Lamda function

c)

Recursive function

d)

Build in function

5.

Functions that are anonymous un-named function are

a)

User defined function

b)

Lamda function

c)

Recursive function

d)

Build in function

6.

Function blocks begin with the keyword

(a)  

7.

Any input parameters or arguments should be placed within

a)

( )

b)

{ }

c)

[ ]

d)

< >

8.

The code block always comes after a

a)

;

b)

:

c)

.

d)

()

9.

The statement ______ exits a function

a)

main

b)

return

c)

None

d)

Indentation

10.

A “return” with no arguments is the same as return

a)

NULL

b)

Zero

c)

None

d)

All the above