Search Header Logo

Data Structures Quiz

Authored by Senthil jayamohan

Information Technology (IT)

University

Used 2+ times

Data Structures Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which of the following is a linear data structure?

Tree

Graph

Stack

Hash table

2.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

What is the time complexity of inserting an element at the beginning of a singly linked list?

O(n)

O(1)

O(log n)

O(n log n)

3.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which operation removes an element from a stack?

Enqueue

Dequeue

Pop

Insert

4.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

What does the 'next' pointer in a singly linked list point to?

Head

Previous node

Next node

Tail

5.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which data structure works on the principle of FIFO?

Stack

Queue

Tree

Graph

6.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which of the following is NOT an application of stack?

Recursion

Function call tracking

Level-order traversal

Expression evaluation

7.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

In array representation of a stack, the top is initialized as:

0

-1

NULL

size

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?