4.1 General Principles Flashcards

1
Q

Sub-procedures

A

A series of commands that perform a task.
(eg. p184

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

Top-Down Design

A

Process of breaking down each problem into smaller ones until they can be dealt with individually

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

Identifier

A

The number that is used by the programmer to uniquely identify a variable

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

Alternate Decisions

A

different options that are available to a decision-maker when faced with a particular problem or situation

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

Alternate Procedures

A

the different methods or steps that can be used to arrive at a decision

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

Cause (Conditions)

A

Refers to a specific set of conditions or events that lead to a particular outcome or problem.

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

Effects (Actions)

A

the actions or consequences that result from a given situation

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

Iteration

A

The process of repeating a series of instructions

Can be expressed using the:

–> “from to loop”
–> “while loop”

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

Conditional Statement

A

Performs different instructions depending on a Boolean Test

(eg. if-then-else conditional statement)

When an “If” is used in an algorithm a Boolean is evaluated. If the condition is true, the consequent statements will be executed. Otherwise the execution continues to the alternative statement

(eg. p188-189)

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

Logical Rules/ Rules of Interference

A

Programming and algorithmic thinking involves the translation of these rules into algorithms.

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

Input

A

Something that put into a program

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

Output

A

Something that is produced by the program after the process

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

Pre-planning

A

The process of planning something in advance

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

Gantt Chart

A

Type of Bar chart
Used for project schedule and project management, shows all activities, tasks and events against time.

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

Pre-fetching

A

Getting data or instructions from memory into the cache before they are actually needed.

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

Software Libraries

A

Consist of pre-formed elements and are ready for future use

Pre-written code, classes, procedures, methods, etc.

17
Q

Pre Conditions

A

Indicates what must be true before the sub-procedure is called.

describes the starting state before the execution of an algorithm

(eg. p193)

18
Q

Post Conditions

A

Indicates what will be true when the sub-procedures complete its task

describes the final state after the execution of an algorithm
(eg. p193)

19
Q

Concurrent

A

Something happening at the same time as something else

20
Q

Concurrent processing

A

The execution of different instructions simultaneously by multiple processors so as to achieve the best performance

21
Q

Abstraction

A

The process of filtering out.
Ignoring characteristics that are not needed in order to focus on the ones that are needed.

22
Q

OOP - Object Orientated Programming

A
  • Uses abstraction
  • Bases that all ideas can be considered as events or objects
  • Uses programming objects that describe data and behaviours of real objects and facilitates code reusability and abstraction