Functions, Loops, Arrays, Objects

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Shantanu Agrawal
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
APCS A - Array 6.1,6.2,6.3,6.

Quiz
•
9th - 12th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
18 questions
Computer Science LISTS

Quiz
•
12th Grade
20 questions
Abstract Data Types

Quiz
•
12th Grade
18 questions
Data Structures Quiz 1

Quiz
•
12th Grade - University
15 questions
Kuizi 14 - Web

Quiz
•
10th Grade - University
22 questions
T-Level DPDD: Array Concepts Quiz

Quiz
•
11th Grade
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade