Search Header Logo

Data Structures Full

Authored by muhammad abdulmajeed

Computers

11th Grade

Data Structures Full
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

90 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure follows the First-In-First-Out (FIFO) principle?

Stack

Queue

Tree

Graph

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a stack, which operation adds an element to the top?

push

pop

peek

enqueue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in a linked list?

O(1)

O(log n)

O(n)

O(n^2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many dimensions does a 2D array have?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tree traversal visits the root node last?

Preorder

Inorder

Postorder

Level order

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of edges in a simple graph with n vertices?

n

n-1

n(n-1)/2

2^n

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dijkstra's algorithm is used to find:

Minimum spanning tree

Shortest path

Longest path

Euler circuit

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?