Theory of computation Flashcards
decomposition
breaking a problem down into sub problems making it easier to execute
abstraction
Details are removed until it looks solvable
(simplifying a problem)
algorithm
sequence of instructions that performs a specific task when followed
Data abstraction
enables us to isolate how a compound data object is used from the details of how it is constructed.
how do you build data abstractions
by combining data objects to form compound data, for example tree data structure
how do you build a composition abstraction
by combining procedures to form compound procedures
representational abstraction
removing unnecessary details
information hiding
process of hiding all unnecessary details of an object
procedural abstraction
represents a computational method
functional abstraction
particular computation method is hidden
how does automation achieve putting models into action to solve problems
- creating algorithms
- implementing the algorithms in program code (instructions)
- implementing the models in data structures
- executing the code.
set and the alternative symbol for empty set
unordered collection of values in which each value occurs at most once.
Ø
finite sets
elements can be counted off by natural numbers up to a particular number
infinite set
counted off by the natural numbers.
cardinality of a finite set
number of elements in a set