Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

20 Qs

quiz-placeholder

Similar activities

Searching and Sorting

Searching and Sorting

University

16 Qs

3°D_SAV2_R2 3TECBE_ Algoritmos  Estruturas  Dados_17_36 QUIZIZZ

3°D_SAV2_R2 3TECBE_ Algoritmos Estruturas Dados_17_36 QUIZIZZ

11th Grade - University

21 Qs

Technical quiz(Medium-Level)

Technical quiz(Medium-Level)

University

25 Qs

Data Structures Quiz No 2

Data Structures Quiz No 2

University

20 Qs

Sorting Algorithms II

Sorting Algorithms II

University

18 Qs

Estrutura de Dados - Questionário 4

Estrutura de Dados - Questionário 4

University

17 Qs

Time and Space Complexity

Time and Space Complexity

University

20 Qs

Ordenamiento&DivideVencerás

Ordenamiento&DivideVencerás

University

15 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

Assessment

Quiz

Computers

University

Hard

Created by

BALASARASWATHI AI&DS

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structures is used to implement recursion?

Queue

Stack

Linked List

Tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm has the best worst-case time complexity?

Bubble Sort

Merge Sort

Quick Sort

Insertion Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in a hash table?

O(1)

O(log n)

O(n)

O(n^2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of searching an element in a Binary Search Tree (BST)?

O(log n)

O(n)

O(n log n)

O(1)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a stable sorting algorithm?

Merge Sort

Bubble Sort

Insertion Sort

Quick Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is used for finding the shortest path in a weighted graph?

Dijkstra’s Algorithm

Prim’s Algorithm

Kruskal’s Algorithm

Depth-First Search (DFS)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the best description of a "heap" data structure?

A complete binary tree where each node is greater than or equal to its children (Max-Heap).

A sorted binary tree.

A graph with no cycles.

A linear data structure.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?