Quiz on Data Structures Unit I

Quiz on Data Structures Unit I

University

25 Qs

quiz-placeholder

Similar activities

Array and Linked List ADT

Array and Linked List ADT

University

30 Qs

DATA STRUCTURES WORKSHOP DAY-1

DATA STRUCTURES WORKSHOP DAY-1

University

25 Qs

Unit 6: Linked Lists

Unit 6: Linked Lists

University

30 Qs

Data Structures using C

Data Structures using C

12th Grade - University

20 Qs

java list quiz

java list quiz

University

20 Qs

Linked list 1

Linked list 1

University

20 Qs

Fundamentals of Data Structures-Test 1-Unit-1

Fundamentals of Data Structures-Test 1-Unit-1

University

20 Qs

Quiz 1_DSA

Quiz 1_DSA

University

20 Qs

Quiz on Data Structures Unit I

Quiz on Data Structures Unit I

Assessment

Quiz

Computers

University

Easy

Created by

Placement Stjosephs

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?