Back to Topic 8.1 — Fundamentals of ADTs
8.1.1Computer Science HL5 flashcards

What ADTs are for

Practice Flashcards

Flip to reveal answers
Card 1 of 58.1.1
8.1.1
Question

What does an abstract data type define?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — What ADTs are for

Sign up free to track progress and get spaced-repetition review schedules.

Card 1definition

Question

What does an abstract data type define?

Answer

The **operations** available and what they mean — not how the data is stored.

Card 2concept

Question

ADT or data structure: a stack?

Answer

**ADT.** It promises push, pop, peek and last-in-first-out order. An array or a linked list is how you build one.

Card 3concept

Question

Why hide an ADT's implementation?

Answer

So it can be **replaced** without changing any calling code, because callers only ever depended on the operations.

Card 4definition

Question

Which ADT enforces uniqueness?

Answer

A **set** — duplicates cannot be stored, so the structure guarantees it rather than the programmer remembering to check.

Card 5example

Question

How should an ADT choice be justified in an exam?

Answer

By the operation the program performs **most**, with its complexity — and what the alternative would cost.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free
IB Computer Science What ADTs are for Flashcards | 8.1.1 | Aimnova