4.1 General Principals Flashcards

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

What is procedural programming?

A

It is viewing solutions as a sequence of instructions.

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

What are these sequences of instructions called?

A

Subroutines.

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

Why are subroutines good?

A

They can be selected and repeated based on conditions.

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

What is decomposition?

A

Breaking down large complex problems into smaller ones.

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

What happens once you’ve decomposed a problem?

A

Turn it into a sub solution.

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

Why is important to consider the order of events?

A

Efficiency,
Resources available
Priority of processes

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

What is event driven programming?

A

The programmer needs to compartmentalise so that the user can access bits when they wish to.

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

What is important about planning?

A

Allowing to spot where areas might go wrong.
Create a strong order of events.
Get correct required outcome.

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

What is a subprogram?

A

Performs a specific task - can be called by name.

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

What is a sub process?

A

A series of commands to perform a task. But not a result.

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

Why are sub procedures good?

A

Makes problem easier to understand and solve.

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

What is logical thinking?

A

Decision making, this or that, yes or no.

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

What needs to be considered when looking at decisions?

A

Conditions. e.g. =, >, AND, etc.

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

A decision is a combination of…

A

Conditions and Operators

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

What does thinking ahead programming entail?

A

Inputs and outputs
Pre planning
Exceptions

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

Input Output Cycle

A
17
Q

What are the two types of event orders?

A

Sequential - one after another in sequence
Concurrent - performed at the same time.

18
Q

What are pre conditions?

A

Condition that must be met for the program to run.

19
Q

What are post conditions?

A

Condition that must be met for the system to be closed after case has been executed.

20
Q

What are exceptions?

A

Events which occur during the execution or programs that disrupts the normal flow.

21
Q

Why is concurrent thinking good?

A

Increase computing speed.
Increase complexity.
Split Resources
Saving time?
Saving Money?

22
Q

What is concurrent bad?

A

Requires a computer/language that can support it.
Split resources?
Saving time?
Saving Money?
Will project be compromised?

23
Q

What is abstraction?

A

Abstraction is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics,

24
Q

Why do programmers use abstraction?

A

Simple for better understanding
Removes irrelevant information
Helps just to virtualise real world.

25
Q

What are the 3 level of abstraction?

A

Level 1
Level 2
Level 3 - simplest.