
Week 8.2

Quiz
•
Computers
•
Professional Development
•
Medium

Poul Nichols
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
процедуры и функции

Quiz
•
Professional Development
12 questions
SLG IPC144 Week 10

Quiz
•
Professional Development
15 questions
JavaScript

Quiz
•
Professional Development
10 questions
AppsLab_Q2

Quiz
•
10th Grade - Professi...
10 questions
ICT 10 M6 QUIZIZZ

Quiz
•
Professional Development
10 questions
Flutter_Q5

Quiz
•
Professional Development
10 questions
Basic Programming Kotlin

Quiz
•
Professional Development
15 questions
CloudBinary_Basic-Shell-scripting

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade