Abstract Data Types Vocabulary

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/19

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards defining Abstract Data Types (ADTs) and operations for List, Stack, and Queue ADTs.

Last updated 6:51 PM on 8/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Abstract Data Type

A type (or class) for objects whose behavior is defined by a set of value and a set of operations.

2
New cards

LIST ADT

A structure containing elements of the same type arranged in sequential order.

3
New cards

get()

List ADT operation that returns an element from the list at any given position.

4
New cards

insert()

List ADT operation that inserts an element at any position of the list.

5
New cards

remove()

List ADT operation that removes the first occurrence of any element from a non-empty list.

6
New cards

removeAt()

List ADT operation that removes the element at a specified location from a non-empty list.

7
New cards

replace()

List ADT operation that replaces an element at any position by another element.

8
New cards

STACK ADT

A structure containing elements of the same type arranged in sequential order, where all operations take place at a single end called the top of the stack.

9
New cards

push()

Stack ADT operation that inserts an element at one end of the stack called top.

10
New cards

pop()

Stack ADT operation that removes and returns the element at the top of the stack, if it is not empty.

11
New cards

Top

The place in a stack where all insertion and deletion takes place.

12
New cards

QUEUE ADT

A structure containing elements of the same type arranged in sequential order, where operations take place at both ends: insertion at the end and deletion at the front.

13
New cards

enqueue()

Queue ADT operation that inserts an element at the end of the queue.

14
New cards

dequeue()

Queue ADT operation that removes and returns the first element of the queue, if the queue is not empty.

15
New cards

Front

The place in a queue where deletion takes effect.

16
New cards

Rear

The place in a queue where insertion takes effect.

17
New cards

peek()

An operation that returns the element at the top of a stack or front of a queue without removing it, provided the structure is not empty.

18
New cards

size()

An operation that returns the number of elements in a list, stack, or queue.

19
New cards

isEmpty()

An operation that returns true if the structure is empty, otherwise returns false.

20
New cards

isFull()

An operation that returns true if the structure is full, otherwise returns false.