Topic 4: Theory of Computation Flashcards
What is problem solving?
Problem solving is the process of finding a solution to a difficult or complex issue
What is an algorithm?
An algorithm is a sequence of steps that are followed ti complete a task.(An algorithm always terminates)
What is assignment?
Assignment is the process of giving a value to a variable or constant
What is a sequence?
Instructions that follow on from one another
What is selection?
Selection is the process of choosing an action to take based on the result of a comparison of values
What is iteration?
Iteration is the process of repeating an operation
What are some examples of iteration?
For and While loops
What is abstraction?
Abstraction is the name given to the process of removing unnecessary details from a problem
What are the two types of abstraction?
Representational abstraction and Abstraction by generalisation/categorisation
What is representational abstraction?
A representation of a problem arrived at by removing unnecessary details from the problem
What is abstraction by generalisation?
A grouping by common characteristics to arrive at a hierarchal relationship of the “is. kind of “ type
What is information hiding?
The process of hiding all details of an object that do not contribute too its essential characteristics
What is procedural abstraction?
This abstraction involves breaking down a complex model into a series of reusable procedures
What is functional abstraction?
Procedural abstraction results in a procedure. Abstracting further disregards the particular method of a procedure and results in just the function
What is data abstraction?
In ata abstraction, specific details of how data is actually represented are abstracted away, allowing new kinds of dat structures to be created from previously defined data structures