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
Quiz UTS Pemrograman Dasar C++

Quiz
•
10th Grade
25 questions
Python Loops

Quiz
•
11th Grade
17 questions
Tracing Loops in Java

Quiz
•
12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
17 questions
Tracing Loops in Java

Quiz
•
12th Grade
15 questions
Java Level 1 - C

Quiz
•
12th Grade
20 questions
CoDrone Vocabulary

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade