46 lines
1.9 KiB
Markdown
46 lines
1.9 KiB
Markdown
|
---
|
||
|
title: ADTs
|
||
|
TARGET DECK: Obsidian::STEM
|
||
|
FILE TAGS: adt
|
||
|
tags:
|
||
|
- adt
|
||
|
---
|
||
|
|
||
|
## Overview
|
||
|
|
||
|
An **abstract data type** (ADT) is a mathematical model for data types, defined in terms of its behavior (semantics). An ADT's implementation often takes the form of a [[data-structures/index|data structure]].
|
||
|
|
||
|
%%ANKI
|
||
|
Basic
|
||
|
What is an ADT an acronym for?
|
||
|
Back: **A**bstract **D**ata **T**type.
|
||
|
Reference: “Abstract Data Type.” In _Wikipedia_, March 18, 2024. [https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576](https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576).
|
||
|
<!--ID: 1714669011569-->
|
||
|
END%%
|
||
|
|
||
|
%%ANKI
|
||
|
Basic
|
||
|
What is an ADT (abstract data type)?
|
||
|
Back: A mathematical model for data types, defined in terms of its behavior.
|
||
|
Reference: “Abstract Data Type.” In _Wikipedia_, March 18, 2024. [https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576](https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576).
|
||
|
<!--ID: 1714669011571-->
|
||
|
END%%
|
||
|
|
||
|
%%ANKI
|
||
|
Cloze
|
||
|
An {1:ADT} is to an {2:ISA} as a {2:data structure} is to a {1:uarch}.
|
||
|
Reference: “Abstract Data Type.” In _Wikipedia_, March 18, 2024. [https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576](https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576).
|
||
|
<!--ID: 1714669011572-->
|
||
|
END%%
|
||
|
|
||
|
%%ANKI
|
||
|
Basic
|
||
|
What term describes the concrete implementation of an ADT?
|
||
|
Back: A data structure.
|
||
|
Reference: “Abstract Data Type.” In _Wikipedia_, March 18, 2024. [https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576](https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576).
|
||
|
<!--ID: 1714677608770-->
|
||
|
END%%
|
||
|
|
||
|
## Bibliography
|
||
|
|
||
|
* “Abstract Data Type.” In _Wikipedia_, March 18, 2024. [https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576](https://en.wikipedia.org/w/index.php?title=Abstract_data_type&oldid=1214359576).
|