4.4 Theory of Computation Flashcards
What is representational abstraction?
A representation arrived at by removing unnecessary details
What is abstraction by generalisation?
Grouping by common characteristics to arrive at a hierarchical relationship of the ‘…is a kind of…’ type.
What is procedural abstraction?
The result of abstracting away actual values to create a computational method, a procedure.
What is functional abstraction?
A further abstraction of a functional abstraction, which disregards the particular computational method.
Why do we use data abstraction?
It enables us to isolate how a compound data object is used from the details of how it is constructed.
What is problem abstraction?
Removing details until the problem solves itself.
What is decomposition?
Breaking a problem into a number of sub problems so that each sub problem accomplishes an identifiable task.
What are the metacharacters used in regular expressions?
* 0 or more repetitions \+ 1 or more repetitions ? 0 or 1 repetitions ie, optional | alternation ie or ( ) to group regular expressions
What is the purpose of BNF?
To describe a programming language in a simple and concise manner