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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TLE Q3 M4

Quiz
•
10th Grade
15 questions
JavaScript Knowledge & Skills

Quiz
•
9th - 12th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
10 questions
Class VIII_Basic Python Programming Quiz

Quiz
•
8th Grade
11 questions
JavaScript

Quiz
•
University
12 questions
Khan Academy JavaScript

Quiz
•
8th Grade
15 questions
Exam 1 Practice

Quiz
•
University
10 questions
Java Script

Quiz
•
10th - 12th 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
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade