Search Header Logo

Quiz on Data Structures Unit I

Authored by Placement Stjosephs

Computers

University

Used 1+ times

Quiz on Data Structures Unit I
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Abstract Data Type (ADT)?

A programming language

A data structure with no implementation

A mathematical model with defined operations

A type of array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of ADT?

Implementation is hidden from the user

Focus is on what operations are to be performed

Implementation can be changed without affecting the user

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List ADT allows which of the following operations?

Insertion

Deletion

Traversal

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an advantage of array-based list implementation?

Dynamic size

Easy to insert elements in the middle

Fast random access

Efficient memory use

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an array-based implementation, what is the time complexity for inserting an element at the beginning?

O(1)

O(log n)

O(n)

O(n log n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a singly linked list, each node contains:

Data only

Data and pointer to previous node

Data and pointer to next node

Data and two pointers

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The last node in a singly linked list points to:

First node

NULL

Itself

Head

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?