Topic 4: Theory of Computation Flashcards

1
Q

What is problem solving?

A

Problem solving is the process of finding a solution to a difficult or complex issue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an algorithm?

A

An algorithm is a sequence of steps that are followed ti complete a task.(An algorithm always terminates)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is assignment?

A

Assignment is the process of giving a value to a variable or constant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a sequence?

A

Instructions that follow on from one another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is selection?

A

Selection is the process of choosing an action to take based on the result of a comparison of values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is iteration?

A

Iteration is the process of repeating an operation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some examples of iteration?

A

For and While loops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is abstraction?

A

Abstraction is the name given to the process of removing unnecessary details from a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two types of abstraction?

A

Representational abstraction and Abstraction by generalisation/categorisation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is representational abstraction?

A

A representation of a problem arrived at by removing unnecessary details from the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is abstraction by generalisation?

A

A grouping by common characteristics to arrive at a hierarchal relationship of the “is. kind of “ type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is information hiding?

A

The process of hiding all details of an object that do not contribute too its essential characteristics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is procedural abstraction?

A

This abstraction involves breaking down a complex model into a series of reusable procedures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is functional abstraction?

A

Procedural abstraction results in a procedure. Abstracting further disregards the particular method of a procedure and results in just the function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is data abstraction?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Problem abstraction/ reduction

A

Details are removed from a problem until it is represented in a way that is solvable

17
Q

Decomposition

A

A problem is divided into a series of smaller sub-problems

18
Q

Composition

A

Composition can be used to combine procedures to form a larger system

19
Q

Automation

A

Automation is the process of putting abstractions of real world phenomena into action to solve problems

20
Q

Sets

A

A set is an abstract data type which contains unordered unique values (sets can contain other sets)

21
Q

What does this sign mean?
“ |”

A

such that

22
Q

What does this sign mean?
“∧​”

A

and

23
Q

How can you right an empty set?

A

{} and Ø

24
Q
A