Quiz on Data Structures unit 1

Quiz on Data Structures unit 1

University

25 Qs

quiz-placeholder

Similar activities

Data Structures using C

Data Structures using C

12th Grade - University

20 Qs

Comp 210 MT2 Review

Comp 210 MT2 Review

University

27 Qs

9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

University

20 Qs

JDVP Activity

JDVP Activity

12th Grade - University

20 Qs

Data Structures

Data Structures

University

20 Qs

Quiz 1_DSA

Quiz 1_DSA

University

20 Qs

Array and Linked List ADT

Array and Linked List ADT

University

30 Qs

Fundamentals of data Structures & Linked list

Fundamentals of data Structures & Linked list

University

20 Qs

Quiz on Data Structures unit 1

Quiz on Data Structures unit 1

Assessment

Quiz

Computers

University

Medium

Created by

Jayanthi P

Used 1+ times

FREE Resource

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

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?