Functions Test
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Standards-aligned
Barbara White
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an argument?
A variable passed as a value to a function
A variable passed in from outside the function
Tags
CCSS.8.F.A.1
CCSS.HSF.IF.A.1
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
Tags
CCSS.8.F.A.1
CCSS.HSF.IF.A.1
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
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
17 questions
Đề ôn tập cuối HKI lớp 5
Quiz
•
6th Grade - University
20 questions
TEST1.PY
Quiz
•
10th Grade - University
20 questions
Berpikir Komputasional
Quiz
•
9th - 12th Grade
16 questions
Serial Communication - Sensors
Quiz
•
9th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
15 questions
Mengenal Jendela dan Ikon Microsoft Excel
Quiz
•
7th Grade - University
15 questions
HTML Quiz
Quiz
•
11th Grade - University
15 questions
User Interface Design - Topic 1
Quiz
•
12th 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
