Lesson 26 – Types of functions

Lesson 26 – Types of functions

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python quiz

Python quiz

KG - Professional Development

10 Qs

MS-Excel Level 3 (Final)

MS-Excel Level 3 (Final)

8th Grade - University

11 Qs

Topic 8 - Tax Administrative

Topic 8 - Tax Administrative

1st - 9th Grade

11 Qs

Lesson 39 Test-5

Lesson 39 Test-5

5th - 8th Grade

10 Qs

Switch case

Switch case

8th - 9th Grade

10 Qs

Lesson 29 - Introduction to module

Lesson 29 - Introduction to module

5th - 8th Grade

10 Qs

Lesson 22 - Test-3

Lesson 22 - Test-3

5th - 8th Grade

15 Qs

Edublocks Python - Advanced level

Edublocks Python - Advanced level

4th - 9th Grade

10 Qs

Lesson 26 – Types of functions

Lesson 26 – Types of functions

Assessment

Quiz

Professional Development, Education

5th - 8th Grade

Medium

Created by

NotchUp .co

Used 28+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct ?

the function of type 3 will never return any value.

sum() function returns a string value.

function will allocated memory only when it is called.

all are correct

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

24

4

44

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct ?

every function can be called in from any function.

function can be called outside of function.

none of (a) and (b) is correct.

both (a) and (b) is correct.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which keyword is used to return any value from the function ?

send

return

goto

Return

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

which statement is correct about the given program ?

it will print “notchup” on the screen.

it will raise an error.

nothing will be printed.

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of following code ?

4

{2,1,3,5}

[1,2,3,5]

none

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function?

for

fun

def

no keyword is required

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?