Functions, Loops, Arrays, Objects
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Shantanu Agrawal
Used 4+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How to access 'Shantanu' from => names { 0: 'Shantanu' }
names.0
names[0]
Both names.0 and names[0]
None of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How to access first element of colors array?
colors.0
colors[0]
Both colors.0 and colors[0]
None of the above
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the syntax of an object property?
key: value
value: key
key: { value }
value: { key }
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How to add an element to the end of an array?
.shift() method
.push() method
.unshift() method
.insert() method
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are objects?
collections of properties
collections of arrays
collections of integers
collections of any primitive data type
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Select the odd one out
Arrays are accessed using indices
Objects are accessed using keys
Objects do not have indices
Arrays are accessed using keys
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How to remove an element from the end of an array?
.shift() method
.push() method
.unshift() method
.pop() method
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
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
Quiz/Review in Servicing 2
Quiz
•
11th Grade
20 questions
AĞ TEKNOLOJİLERİ
Quiz
•
9th - 10th Grade
20 questions
CSS GRADE 9 - QUIZ PECs and EM
Quiz
•
9th Grade
20 questions
PH 1 remedial
Quiz
•
10th Grade
17 questions
Week #7 - Time Machine
Quiz
•
8th Grade - University
20 questions
12 CA 1-10
Quiz
•
12th Grade
20 questions
Quizz SO
Quiz
•
12th Grade
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
