
Lesson 26 – Types of functions
Authored by NotchUp .co
Professional Development, Education
5th - 8th Grade
Used 28+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?