Unit 7.1 & 7.2 - algorithm design, problem solving & decomposition Flashcards

(6 cards)

1
Q

PDLC

A

Program development life cycle is the simple representation of steps followed in developing a program. Each is step is decomposed into sub-steps.

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

4 sub-steps of PLDC

A
  1. Ananysis - abstraction & decomposition of problem; indentification of requirements/sucess criteria (specific & mandotory conditions that must be carried out in order to reach the intended outcome) and inputs for a particular program
  2. Design - structure diagrams (hierarchical diagrams used to represent sub-systems, with the final product being at the top; each level is a little less abstracted, with the most details being at the bottom; always include input and output and then branch out to specifics), flowcharts (indicates input & logic processes), pseudocode to plan solution in detail
  3. Coding - implementation/writing program & iterative testing
  4. Testing - testing code using test data
    Must be carried out one after another in a fixed order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Abstraction

A

Process of including only specific details of a problem necessary to a situation, while hiding complex, unnecessary ones

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

Decomposition

A

Splitting a bigger problem into smaller manageable chunks

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

Requirements

A

Specific & mandotory conditions that must be carried out in order to reach the intended outcome; dictate essential inputs

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

State the 4 sub-systems of a program

A
  1. Input - taking data from physical world
  2. Process - carrying out operations on data
  3. Output - giving processed data back to physical world
  4. Storage - saving data for future use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly