What is an argument?

Unit 7 - Functions and Parameters Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Heather Pipech
Used 125+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable passed as a value to a function
A variable passed in from outside the function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an parameter?
A variable passed as a value to a function
A variable passed in from outside the function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the parameter of this
function quadrupleNumber(x){
var quadX = 4 * x;
println(quadX);
}
x
println
quadX
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we write functions?
Make our code easier to understand by giving a readable name to a group of instructions
Avoid writing repeated code
Make our code reusable
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is very important to pass parameters to functions in the proper order
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the parameters of the printNumbers function?
function printNumbers(first, second, third){
println(first);
println(second);
println(third);
}
first, second, third
x, y, z
println
rintNumbers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement allows us to return values from functions?
break
if
return
function
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
TGT APCSA

Quiz
•
11th Grade
20 questions
Functions With Parameters and Returns

Quiz
•
9th - 12th Grade
20 questions
Functions Parameters Return

Quiz
•
9th - 12th Grade
20 questions
Functions Test

Quiz
•
9th - 12th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade