Abstraction and Automation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is an algorithm

A

A sequence of steps that can be followed to complete a task

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

What is an assignment

A

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
3
Q

What is a sequence

A

Name given to instructions that follow on from one another

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

What is selection

A

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
5
Q

What is iteration

A

The process of repeating an operation

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

What is abstraction

A

The process of omitting unnecessary details from a problem

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

When do you use abstraction

A

To simplify a problem in order to make finding a solution easier

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

What are the two distinct types of abstraction

A

Representational and Generalisation / Categorisation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
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
10
Q

What is abstraction by generalisation/ categorisation

A

Grouping by common characteristics to arrive at a hierarchical relationship of the “is a kind of” type

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

What is information hiding

A

Hiding all details of an object that do not contribute to its essential characteristics

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

What is procedural abstraction

A

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
13
Q

What is functional abstraction

A

Abstracting beyond procedural abstraction disregars the particular method of a procedure and results in just a function

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

What is Data Abstraction

A

Specific details of how data is actually represented are abstracted away

This leads to new kinds of data structues to be created from previously defined data structures

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

What is problem abstraction

A

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

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

What is decomposition

A

A problem is divided into a series of smaller sub problems

These smaller problems can be solved individually or further divided until all parts of the original problem have been solved

17
Q

What is composition

A

A process which combine procedures to form a larger system

Used in abstract data types

18
Q

What is Automation

A

Process of putting abstractions of real world phenomena (models) into action to solve problems

Achieved by creating algorithms which are later implemented in code - implementing models in data structures - executing the code on the data structures