DS Exam 1

DS Exam 1

Professional Development

30 Qs

quiz-placeholder

Similar activities

#100 Devs - LwL - class 15

#100 Devs - LwL - class 15

10th Grade - Professional Development

25 Qs

Playwright Quiz (Engineer Camp)

Playwright Quiz (Engineer Camp)

Professional Development

25 Qs

Intro to MS Word - Part 1

Intro to MS Word - Part 1

Professional Development

25 Qs

Teori Bahasa dan Automata

Teori Bahasa dan Automata

Professional Development

25 Qs

Basic Computers

Basic Computers

KG - Professional Development

25 Qs

ReactJS Online Test

ReactJS Online Test

Professional Development

25 Qs

Git та сервіси віддалених репозиторіїв

Git та сервіси віддалених репозиторіїв

Professional Development

25 Qs

Computer Application "Filler" Assessment (T2a1)

Computer Application "Filler" Assessment (T2a1)

Professional Development

25 Qs

DS Exam 1

DS Exam 1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Joshua Mari Pantas

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You need to store 1000 student grades and frequently access any grade by student number. Which property makes arrays most efficient for this?

No need to explain

Direct access using index

Sequential storage

Same data type requirement

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A program needs to insert names at various positions in a list of 10,000 names. Why would this be slow with an array?

Arrays can't store strings
Limited memory capacity
Elements must shift to make space
Array size is fixed

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You're building a shopping cart that needs to grow as users add items and shrink as they remove them. What list property solves this?

Indexed access
Dynamic resizing
Ordered elements
Duplicate handling

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

An application needs a collection that sometimes has 10 items, sometimes 1000. Why is a fixed-size array problematic?

Too slow for access
Cannot determine size in advance
Uses too much memory
Cannot store varied data

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You need to frequently check if a specific book exists in a library of 50,000 books. Which operation would you use repeatedly?

Adding books
Searching/checking existence
Removing books
Counting books

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You're implementing an 'undo' feature for a drawing app. Each action is saved. Why does a stack make sense here?

Fastest structure
Most recent action needs to be undone first
Saves memory
Allows random access

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You're stacking dinner plates. The last plate you put on top is the first one you'll use. This demonstrates which concept?

Queue behavior
Stack (LIFO) behavior
Array indexing
Tree hierarchy

Create a free account and access millions of resources

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?