1.4 Abstract Data Types (ADTs)

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

8.24.26 ZyBook and Class Review

Last updated 2:39 PM on 8/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

What does ADT stand for?

Abstract Data Type

2
New cards

What is an Abstract Data Type (ADT)?

A data type described by the operations it provides without specifying how those operations are implemented.

3
New cards

What does an ADT focus on?

What operations can be performed on the data rather than how those operations are implemented.

4
New cards

What does an ADT hide?

The underlying implementation details.

5
New cards

What does an ADT provide to the programmer?

A well-defined interface of operations for interacting with the data.

6
New cards

Can the same ADT have different implementations?

Yes. An ADT can be implemented using different underlying data structures.

7
New cards

Does a programmer need to know the underlying implementation to use an ADT?

No

8
New cards

Does the underlying implementation of an ADT matter?

Yes, when analyzing or improving runtime efficiency.

9
New cards

What is the difference between and ADT and a data structure?

An ADT describes what operations are available; a data structure describes how the data is actually organized and stored.

10
New cards

What is a common example of an ADT?

A List

11
New cards

What operations might a List ADT provide?

Append, remove, search, and print.

12
New cards

What are two common data structures used to implement a List ADT?

An array and a linked list.

13
New cards

What does a List ADT hold?

Ordered data

14
New cards

What does “ordered” mean for a List ADT?

The items maintain an order based on how they are added/stored.

15
New cards

What happens when you append 55, 88, and 66 to an empty list?

The list becomes 55, 88, 66

16
New cards

What happens when you perform Append(list, 11), Append(list, 4), and Append(list, 7)?

The list becomes 11, 4, 7

17
New cards

What happens when you remove item 2 from a list containing 2, 20, 30?

The list becomes 20, 30.

18
New cards

Can a List ADT be implemented using an array?

Yes

19
New cards

Can a List ADT be implemented using a linked list?

Yes

20
New cards

Does the programmer need to know whether a List uses an array or linked list?

No

21
New cards

Does the underlying data structure of a List affect program execution?

Yes. Different implementations can have different efficiency.

22
New cards

What is the main idea behind the List ADT example with an array and linked list?

Both implementations provide the same List interface even though they store the data differently.