Search Header Logo

Data Structures & Algorithms — Prelim Exam

Authored by Jayson Reales

Information Technology (IT)

University

Used 2+ times

Data Structures & Algorithms — Prelim Exam
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?