2.1.1 Flashcards
1
Q
What is abstraction?
A
-removing the unnecessary details and highlighting the important details within a given context
2
Q
Why is it necessary to use abstraction?
A
Things that aren’t relevant would require unnecessary programming / design effort, extra computational resources and could detract from the main purpose of the program
3
Q
What is the difference between abstraction and reality?
A
-Abstraction is a simplified representation of reality
-Real-world values can be stored as variables and constants
4
Q
what must you consider when devising an abstract model given a scenario?
A
- What is the problem that needs to be solved?
- How will the model be used?
- Who will the model be used by?
- Which parts of the problem are relevant based on the target audience and purpose
of the model?