Quiz on Data Structures unit 1

Quiz on Data Structures unit 1

University

25 Qs

quiz-placeholder

Similar activities

Data Structures Quiz

Data Structures Quiz

University

30 Qs

SBKD

SBKD

University

20 Qs

Latihan Informatika Kelas 9

Latihan Informatika Kelas 9

9th Grade - University

20 Qs

Quiz on Data Structures Unit I

Quiz on Data Structures Unit I

University

25 Qs

Datastructures Unit 1

Datastructures Unit 1

University

20 Qs

Basic Data Structures & Algorithms

Basic Data Structures & Algorithms

University

23 Qs

Exploring Linked Lists

Exploring Linked Lists

University

20 Qs

SD Pra UAS

SD Pra UAS

University

23 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?