Lesson 27 – Concept of arguments

Quiz
•
Professional Development, Education
•
5th - 8th Grade
•
Medium
NotchUp .co
Used 29+ times
FREE Resource
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
Similar Resources on Wayground
12 questions
Assesment Pertemuan Pertama Asteria Academy

Quiz
•
6th - 8th Grade
8 questions
unit3 week 4 5th grade wonders vocab

Quiz
•
5th Grade
10 questions
Mid term Quiz

Quiz
•
1st - 5th Grade
10 questions
Little Bear's Friend

Quiz
•
1st Grade - University
10 questions
Rangking 1 Colorful Ramadhan

Quiz
•
1st - 5th Grade
10 questions
Body Image 4 Kids

Quiz
•
5th - 6th Grade
10 questions
Lesson 26 – Types of functions

Quiz
•
5th - 8th Grade
10 questions
Lesson 39 Test-5

Quiz
•
5th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Professional Development
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Finding Volume of Rectangular Prisms

Quiz
•
5th Grade