
Data Structures & Algorithms — Prelim Exam
Authored by Jayson Reales
Information Technology (IT)
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
Arrays in JavaScript are always fixed in size.
True
False
2.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
Elements in an array are stored at contiguous memory locations.
True
False
3.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
JavaScript arrays are zero-indexed, meaning the first element starts at index 1.
True
False
4.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
.push() adds elements to the end of an array.
True
False
5.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
.pop() removes the first element of an array.
True
False
6.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
.unshift() adds one or more elements at the beginning of an array.
True
False
7.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
.shift() removes the last element of an array.
True
False
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?