Functions Parameters Return

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Standards-aligned
Barbara White
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
16 questions
Python Unit 3 Codehs

Quiz
•
9th - 12th Grade
20 questions
Array

Quiz
•
12th Grade
20 questions
TGT APCSA

Quiz
•
11th Grade
16 questions
Python basics

Quiz
•
9th - 12th Grade
15 questions
Soal Java

Quiz
•
11th Grade - University
15 questions
JavaScript and Graphics

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

Quiz
•
9th - 12th Grade
20 questions
Java Conditional Constructs

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade