Abstraction Flashcards
(15 cards)
Abstraction
the process of extracting or distilling the underlying essence
bits
stored binary information declared by voltages above 0.5 and below 0.5
a voltage of one is equal to a bit? T or F?
True
Levels of Abstraction
higher abstraction is more broad and simple
top down design
the designing of tasks starting with a higher level of abstraction rather than lower
what are the 2 Design Goals?
correctness & efficiency
correctness
software works as inteneded; any input produces the desired output. NO CRASHES
efficiency
not having to wait. time efficiency
3 implementation goals:
Robustness, adaptability, reusability RAR!
robustness
correct output for all inputs; handles unexpected inputs
adaptability
should be used for along time; software should evolve through simple modifications
Reusability
we should be able to use the same code as components of different software apps.; timesaver
Data structures
systematic way of organizing and accessing data
3 groups of data structures?
- atomic data (ints, floats, chars)
- arrays
- structure types
T or F: data organization follows implementation principles
True ; organization is key.