JS Practice Array & Function
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Nixon López
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Consider the following function:
What will be the result of calling the findMax function with the array [3, 8, 2, 10, 5]?
10
5
3
2
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Consider the following function:
What will be the result of calling the findAverage function with the array [10, 20, 30, 40, 50]?
30
25
40
35
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the data type of the variable studentInfo in the following code snippet?
Number
String
Boolean
Object
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Consider the following code snippet:
Number
String
Boolean
Undefined
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Consider the following code snippet:
Number
String
null
Undefined
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Consider the following array:
let numbers = [1, 2, 3, 4, 5];
What will be the length of the numbers array after executing the following code?
numbers.pop();
numbers.push(6);
console.log(numbers.length);
4
5
6
7
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Consider the following array:
let numbers = [5, 2, 8, 3, 1];
What will be the result of sorting the numbers array in ascending order using the sort() method?
[5, 2, 8, 3, 1]
[1, 2, 3, 5, 8]
[8, 5, 3, 2, 1]
[1, 3, 2, 5, 8]
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
14 questions
SQL 3
Quiz
•
11th Grade
10 questions
Java Features Quiz
Quiz
•
10th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
14 questions
Copyright Quiz Stolen from eff.org
Quiz
•
9th - 12th Grade
10 questions
MIL March 8, 2023
Quiz
•
12th Grade
10 questions
IT systems
Quiz
•
9th - 12th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade
