Search Header Logo

Data Structure

Authored by RAVINDRA AHER

Computers

Professional Development

Used 1+ times

Data Structure
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of a linked list?

  • Fixed size

  • Elements stored in contiguous memory

  • Dynamic size

  • All elements must be of the same type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

O(1)

O(n)

O(log n)

O(n^2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations is not efficient in a singly linked list?

Insertion

Deletion

Searching for an element

Traversal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a doubly linked list, each node contains:

One pointer

Two pointers

Three pointers

No pointers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary principle behind stack data structures?

First In First Out (FIFO)

Last In First Out (LIFO)

Random Access

Circular Access

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is not performed in a stack?

Push

Pop

Peek

Enqueue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The time complexity for pushing and popping an element in a stack is:

O(1)

O(n)

O(log n)

O(n^2)

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?