In: Computer Science
Select one of the choices below:
A mental model of the behavior of a function or algorithm is called a(n):
A: Abstract data type
B: Abstract data type implementation
C: Data abstraction
D: Encapsulation
E: Function Declaration
F: None of the above
C-Data Abstractiom
A data abstraction is a mental model of what can be done to a collection of data. It deliberately excludes details of how to do it
1-If we are implementing a card catalog and library checkout, it is probably enough to list the metadata
(e.g., title, authors, publisher, date).
2-If, however, we are going to be working on a project involving the full text of the document (e.g., automatic metadata extraction and indexing), then we might need all the pages and all the text. Of course, if we were building bookshelves, we might need more physical attributes such as size and weight!.
What is Mental Model---
Mental models are how we understand the world. Not only do they shape what we think and how we understand but they shape the connections and opportunities that we see. Mental models are how we simplify complexity, why we consider some things more relevant than others, and how we reason.
A mental model is simply a representation of how something works. We cannot keep all of the details of the world in our brains, so we use models to simplify the complex into understandable and organizable chunks.
.