
Functions
Quiz
•
Computers
•
1st - 12th Grade
•
Practice Problem
•
Easy
Madhumitha Chundi
Used 1+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is not a function?
return
input()
print()
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following does not return a value?
def sum(x,y):
c=x+y
def sum(x,y):
c=x+y
return c
def sum(x,y):
c=x+y
print(c)
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which keyword is use for function?
define
fun
def
function
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
If return statement is not used inside the function, the function will return:
None
0
Null
Arbitary value
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How is a function declared in Python?
def function function_name():
declare function function_name():
def function_name():
declare function_name():
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which one of the following is the correct way of calling a function?
function_name()
call function_name()
ret function_name()
function function_name()
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
You can also create your own functions, these functions are called?
built-in functions
user-defined functions
py function
None of the above
Similar Resources on Wayground
10 questions
Class III Quiz
Quiz
•
3rd Grade
10 questions
5. E-safety
Quiz
•
5th Grade
10 questions
ICT 9 Quiz 1
Quiz
•
9th Grade
11 questions
Challenge 3 Fourth grade
Quiz
•
4th Grade
11 questions
Chapter 6 Part 2 - 4
Quiz
•
11th - 12th Grade
10 questions
Google Forms and Sheets
Quiz
•
1st - 5th Grade
10 questions
Tin học 10 _ Bài 16 _Định dạng văn bản
Quiz
•
10th - 12th Grade
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
