Week 3 SAD Flashcards

1
Q

Programming process consists of two phases. What are they?

A

Problem solving phase and implementation phase

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

Problem solving phase involves?

A

Analysis and design

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

Functional decomposition definition?

A

Problem is successively divided into problems and sub problems to an atomic level to create a solution and define relationships between the parts

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

OOD / OOP definition?

A

A methodology for describing solutions in terms of objects different and related types that have attributes and behaviours

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

Functional decomposition works in what order?

A

From abstract to the particulars

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

Functionally decomposed problem takes what form?

A

Tree structure hierarchy, whereby each subdivided problem and its descendants constitute a complete solution to its parent

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

Functionally decomposed units are known as?

A

Modules

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

Modules contain what kind of steps?

A

Modules can contain steps that are concrete (defined and not needing substeps) or abstract (undefined at this layer and needing substeps)

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

What are modules?

A

Collections of steps

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

What is functional equivalence?

A

A module that does exactly as its abstract parent defines

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

Functional cohesion is?

A

The fact that modules’ concrete steps solve singular problems and the abstract steps are used for more complicated sub problems

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

What is pseudocode?

A

Pseudocode is the method of writing English-like statements with C-like structure, to plan a program before designing, or to illustrate a solution to a non programmer

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

Hierarchical tree structures should be organised in what way …?

A

Multiple levels of abstraction

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

Self documentation describes what?

A

The practice of using meaningful identifiers and clearer structures to make code more readily legible

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

Documentation for complex programs needs?

A

User manual

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

After the code is written in the implementation phase, you should go through it line by line. This is known as:

A

Code walkthrough