click below
click below
Normal Size Small Size show me how
2.1.1
| Question | Answer |
|---|---|
| Abstraction | unnecessary detail removed from a problem, leaving only required details, enabling programmer to focus on important parts + efficient code e.g. maps, or hiding code from user Without abstraction, it would be hard to model and display certain features |
| Data abstraction | using a data structure without being concerned about how it is implemented (e.g. subroutines) |
| abstractions | Models that have been abstracted |
| Reality | what really exists, where nothing is removed or changed, no abstractions It can be harder to use, so abstraction highlights the necessary details |
| Abstraction models | A computer program is effectively an abstract model of a real-world situation |
| Creating abstraction models | Write a list of what to keep/remove Use flowcharts (abstraction of code) Draw a diagram |