Given the following code, which is considered the parameters of the function
function myFunction(a, b, c) {
var x = a + b + c;
}
Functions
Quiz
•
Computers
•
8th Grade
•
Easy
Raja Meenakshi
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Given the following code, which is considered the parameters of the function
function myFunction(a, b, c) {
var x = a + b + c;
}
x
a
b
c
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the following code, what is the final value of x?
var x = 0;
function myXFunction() {
x = x + 10;
}
x = x + 1;
11
0
10
1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What should go into the indicated location to make the final value of x = 11?
var x = 0;
function myXFunction() {
x = x + 10;
}
WRITE CODE HERE
x = x + 1;
function myXFunction()
MYXFUNCTION()
myXFunction()
myxfunction()
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In which one of these lines of code is A, B and C considered arguments?
function myFunction(A, B, C) { ... }
function myFunction() {
var A; var B; var C; }
myFunction(A, B, C);
var x = function(A, B, C) { ... };
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Identify the parameter in the following code:
function First(Second) {
var Third = 0;
}
First(Fourth);
First
Second
Third
Fourth
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Allow functions to accept input and perform a task using the inputs.
Global Namespace
Parameter
Argument
Blocks
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A reusable block of code that groups together a sequence of statements to perform a specific task.
Function
Identifier
Argument
Blocks
15 questions
Python Basics Quiz
Quiz
•
9th - 12th Grade
15 questions
JavaScript Basics
Quiz
•
12th Grade - University
13 questions
Spēle 1
Quiz
•
8th Grade
12 questions
Define Variables
Quiz
•
9th - 12th Grade
12 questions
Code.org Unit 6 Review conditionals and Variables
Quiz
•
8th Grade
12 questions
C++ References
Quiz
•
6th - 12th Grade
12 questions
Python
Quiz
•
7th - 9th Grade
15 questions
JavaScript and Graphics
Quiz
•
9th - 12th Grade
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
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
17 questions
guess the logo
Quiz
•
8th Grade
16 questions
Function or Non-Function?
Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons
Quiz
•
8th Grade