4.1 abstraction and automation

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

algorithms

a sequence of steps that can be followed to complete a task, which always terminates

2
New cards

pseudocode

a way of writing algoithms which can be understood without the need for knowledge of a specific programming language

3
New cards

assignment

the process of giving a value to a variable or constant

in pseudocode:

var/const ← val

4
New cards

sequence

instructions that follow on from one another

in pseudocode, instructions are written in the order in which they appear unless a looping or branching instruction changes this

5
New cards

selection

the process of choosing an action to take based off the result of a comparison

in pseudocode:

IF (comparison) THEN

action

ELSE

action

END IF

(ELSE IF can also be used between IF and ELSE)

6
New cards

iteration

the process of repeating an instruction

in pseudocode:

FOR number ←start to end

action

ENDFOR

or

or WHILE (comparison)

action

ENDWHILE

7
New cards

abstraction

the process of simplifying a problem by removing unnecessary details, can be either representational or by generalisation

8
New cards

representational abstraction

an abstraction of a problem created by simply removing unnecessary details

9
New cards

abstraction by generalisation/categorisation

a grouping of things by common characteristics, where groups may be connected through hierarchical relationships

10
New cards

information hiding

the process of hiding all details of an object that do not contribute to the solution of the problem

11
New cards

procedural abstraction

the process of breaking down a complex model into a series of procedures that follow specific steps

the actual values used in solving the problem are abstracted away

12
New cards

functional abstraction

the process of breaking down a complex model into a function that performs specific tasks without considering the method (i.e. by calling procedures but not specifying their steps)

13
New cards

data abstraction

the process of hiding complex details about how data is represented to produce a simplified representation, which allows new kinds of data structures to be created from previously defined data structures (abstract data types)

14
New cards

problem abstraction/reduction

details are removed from a problem until it is represented in a way which is easier to solve (it may be reduced down to a problem, or group of problems, which already have algorithms to solve them)

15
New cards

decomposition

the division of a problem into a smaller series of sub-problems, which may be solved individually or decomposed further until all parts of the original problem have been solved

16
New cards

composition

the combination of procedures to form a system capable of solving complex problems which have previously been decomposed into smaller problems

17
New cards

automation

the process of creating a computerised model of a real-life situation and putting it into action

i.e. by putting abstractions of real world phenomena into algorithms and data structures and combining these into a program