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
14 questions
Interactive Animations and Games from code.org

Quiz
•
7th - 12th Grade
15 questions
JavaScript - Control Statements

Quiz
•
8th Grade
10 questions
JS Practice: ITS Certification

Quiz
•
12th Grade
12 questions
Javascript Arrays

Quiz
•
9th - 12th Grade
6 questions
Lesson 3 Recap

Quiz
•
University
10 questions
FST Class 2023- Quiz 2

Quiz
•
University
11 questions
JS Certification

Quiz
•
12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade