Lesson 27 – Concept of arguments
Quiz
•
Professional Development, Education
•
5th - 8th Grade
•
Practice Problem
•
Medium
NotchUp .co
Used 29+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
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):
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Classes Gramaticais - Português
Quiz
•
5th Grade - Professio...
10 questions
INVENTARIOS Y COMPRAS
Quiz
•
1st - 12th Grade
10 questions
PRETEST ANBK 2024
Quiz
•
8th Grade
10 questions
Bodegas y funciones de Valor agregado
Quiz
•
1st - 5th Grade
10 questions
La exposición oral
Quiz
•
6th Grade
11 questions
Alimentación y nutrición en la actividad física
Quiz
•
1st - 5th Grade
10 questions
MMA
Quiz
•
1st - 12th Grade
10 questions
Plano Real
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Professional Development
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
