Data Structures Flashcard

Data Structures Flashcard

Assessment

Flashcard

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which data structure follows the Last-In, First-Out (LIFO) principle?

Back

Stack

2.

FLASHCARD QUESTION

Front

What is the primary advantage of a Linked List over a static Array?

Back

Dynamic size and easier insertions/deletions in the middle

3.

FLASHCARD QUESTION

Front

Which data structure uses the First-In, First-Out (FIFO) principle? Options: Stack, Tree, Queue, Hash Table

Back

Queue

4.

FLASHCARD QUESTION

Front

What is the time complexity of accessing an element in an array by its index?

Back

O(1)

5.

FLASHCARD QUESTION

Front

Which searching algorithm requires the data structure to be sorted beforehand? Options: Linear Search, Binary Search, Depth First Search, Breadth First Search

Back

Binary Search

6.

FLASHCARD QUESTION

Front

A function calling itself is an example of?

Back

Recursion

7.

FLASHCARD QUESTION

Front

Which of the following is considered one of the simplest sorting algorithms, often used for educational purposes despite its inefficiency? Merge Sort, Quick Sort, Heap Sort, Bubble Sort

Back

Bubble Sort

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?