
Unit 7 - Functions and Parameters Review
Authored by Heather Pipech
Computers
9th - 12th Grade
Used 138+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
About
This quiz covers the fundamental concepts of functions and parameters in computer programming, specifically using JavaScript syntax. The content is appropriate for high school computer science students in grades 9-12 who are learning introductory programming concepts. Students need to understand the distinction between parameters (variables defined in a function's declaration) and arguments (actual values passed to functions), recognize function syntax and structure, and comprehend variable scope including global versus local variables. The quiz also assesses knowledge of programming concepts like abstraction, top-down design, APIs, and coordinate systems for graphics programming. Students must demonstrate their ability to read and interpret code, identify function components, understand the purpose of the return statement, and recognize how functions promote code reusability and organization. Created by Heather Pipech, a Computers teacher in the US who teaches grades 9-12. This quiz serves as an excellent review tool for students completing a unit on functions and parameters, helping reinforce essential programming concepts through targeted questions and code analysis. Teachers can deploy this assessment as a formative evaluation to gauge student understanding before moving to more advanced topics, or as a practice exercise to help students prepare for summative assessments. The quiz format makes it ideal for warm-up activities at the beginning of class, homework assignments to reinforce daily lessons, or review sessions before major tests. The content aligns with computer science education standards that emphasize algorithmic thinking, programming fundamentals, and computational problem-solving skills that are central to introductory programming courses.
Content View
Student View
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
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
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
20 questions
PH SIMKMDIG KD 3.1 Menerapkan Logika dan Algoritma Komputer
Quiz
•
1st - 10th Grade
21 questions
Visual Basic Assessment
Quiz
•
11th - 12th Grade
15 questions
Dasar Desain Grafis
Quiz
•
12th Grade - University
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
20 questions
REMEDI PAS - DESAIN DAN KOMP. GRAFIS
Quiz
•
12th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
COMPRAR UNA LAPTOP
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade