
Lesson 27 – Concept of arguments
Authored by NotchUp .co
Professional Development, Education
5th - 8th Grade
10 Questions
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following enclose the input parameters or arguments of a function?
rackets
parenthesis
curly braces
quotation marks
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default return value for a function that does not return any value explicitely ?
int
float
string
none
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function definition does not return any value?
a function that prints integers from 1 to 100.
a function that returns a random integer from 1 to 100
a function that checks
whether the current second is an integer from 1 to 100.
a function that converts an uppercase letter to lowercase.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements correctly represent the function body in the given code snippet?
return “number”
print(number)
print(“number”)
return number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which statement is correct about the given program ?
HelloHelloHelloHelloHello
HelloHelloHelloHello
invalid call
infinite loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following code ?
welcomeviewers
welcomeviewersviewersviewers
welcomeviewers,viewers,viewers
welcome
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function declaration is correct?
def f(a = 1, b):
def f(a = 1, b, c = 2):
def f(a = 1, b = 1, c = 2):
def f(a = 1, b = 1, c = 2, d):
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?
Similar Resources on Wayground
10 questions
Poema
Quiz
•
5th Grade
14 questions
Salida al Parlamento de Andalucía
Quiz
•
5th Grade
10 questions
Grade 7- Unit 3
Quiz
•
6th - 7th Grade
10 questions
IQ Test
Quiz
•
5th - 6th Grade
11 questions
"LAS BRUJAS"
Quiz
•
5th Grade
10 questions
Quiz Kurikulum Merdeka
Quiz
•
6th - 8th Grade
15 questions
Actividad asincrónica #2 - Coro Selección Infantil SUBA
Quiz
•
1st - 7th Grade
14 questions
The Solar System
Quiz
•
4th - 5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Professional Development
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade