Lesson 26 – Types of functions

Lesson 26 – Types of functions

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

IQ Test

IQ Test

5th - 6th Grade

10 Qs

Blended Learning Models

Blended Learning Models

KG - University

11 Qs

LilKleine

LilKleine

1st - 12th Grade

12 Qs

The Solar System

The Solar System

4th - 5th Grade

14 Qs

Infancy

Infancy

4th Grade - Professional Development

10 Qs

Hour of Code

Hour of Code

2nd - 12th Grade

10 Qs

VERBS

VERBS

5th - 8th Grade

10 Qs

General Knowledge Quiz

General Knowledge Quiz

6th - 12th Grade

15 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?