What is an argument?

Unit 7 - Functions and Parameters Review

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

17 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
A variable passed as a value to a function
2.
FLASHCARD QUESTION
Front
What is a parameter?
Back
A variable passed in from outside the function.
3.
FLASHCARD QUESTION
Front
What is the parameter of this function quadrupleNumber(x){ var quadX = 4 * x; println(quadX); }
Back
x
4.
FLASHCARD QUESTION
Front
Why do we write functions?
Back
Make our code easier to understand by giving a readable name to a group of instructions, Avoid writing repeated code, Make our code reusable.
5.
FLASHCARD QUESTION
Front
Is it very important to pass parameters to functions in the proper order?
Back
True
6.
FLASHCARD QUESTION
Front
What are the parameters of the printNumbers function? function printNumbers(first, second, third){ println(first); println(second); println(third); }
Back
first, second, third
7.
FLASHCARD QUESTION
Front
Which statement allows us to return values from functions? Options: break, if, return, function
Back
return
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Javascript Control Structures Practice

Flashcard
•
9th - 12th Grade
12 questions
Python Functions

Flashcard
•
9th - 12th Grade
12 questions
Python Functions

Flashcard
•
9th - 12th Grade
12 questions
Python Functions

Flashcard
•
9th - 12th Grade
12 questions
BAES Excel Functions & IF Statements Re-Cap L2

Flashcard
•
KG - University
11 questions
Java Boolean Statements

Flashcard
•
11th Grade
13 questions
Functions and Parameters

Flashcard
•
9th - 12th Grade
16 questions
Loops Flashcard

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University