Lesson 26 – Types of functions

Lesson 26 – Types of functions

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Java Quiz

Java Quiz

KG - Professional Development

8 Qs

Lesson 22 - Test-3

Lesson 22 - Test-3

5th - 8th Grade

15 Qs

Lesson 44 - Dictionary Datatype 2

Lesson 44 - Dictionary Datatype 2

5th - 8th Grade

10 Qs

PAST PERFECT SIMPLE

PAST PERFECT SIMPLE

5th - 6th Grade

10 Qs

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

AI for Youth – Machine and Minds

AI for Youth – Machine and Minds

8th Grade

10 Qs

Lesson 13 - Introduction to function

Lesson 13 - Introduction to function

5th - 8th Grade

10 Qs

Lesson 27 – Concept of arguments

Lesson 27 – Concept of arguments

5th - 8th 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?