
Week 8.2
Authored by Poul Nichols
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct way to declare an array in JavaScript?
var array = {}
var array = []
var array = ()
var array = ""
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you access the first element of an array?
array[0]
array[1]
array.first
array.first()
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you add an element to the end of an array?
array.add(element)
array.push(element)
array.pop()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you remove the last element from an array?
array.remLast()
array.shift()
array.deleteLast()
array.pop()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you remove one element from a specific index in an array?
array.remove(index)
array.splice(index, 1)
array.slice(index, 1)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the splice() method do?
Joins two arrays together
Prints the contents of an array
Joins two different arrays together into a new array
Adds and Removes elements from anywhere in the array
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the slice() method do?
Joins two arrays together
Prints the contents of an array
Selects a portion of an existing array and makes a new array.
Removes elements from an array
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Moringa JavaScript Arrays
Quiz
•
5th Grade - Professio...
11 questions
SQL Server - Transact SQL e Desenvolvimento [DEV]
Quiz
•
Professional Development
15 questions
Test JS
Quiz
•
Professional Development
12 questions
PL-900 MODULO 4
Quiz
•
Professional Development
12 questions
BFM3002 - QUIZ 2
Quiz
•
University - Professi...
15 questions
Flutter Q_0
Quiz
•
Professional Development
10 questions
A+ Review Quiz
Quiz
•
Professional Development
10 questions
C Programming
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...