Chapter 7 - Algorithm Design And Problem Solving Flashcards

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

Program development cycle (4)

A

Analysis
Design
Coding
Testing

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

Analysis (2 ways of doing it)

A

Stage of the program development cycle, done through abstraction and decomposition.
Abstraction - keeps key elements and discards unnecessary details+information
Decomposition - breaks down a complex problem into smaller parts which can then be subdivided and easily solved

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

Design

A

2nd stage of programme development cycle where how a problem should be executed is planned and documented using flowcharts, pseudocode and structure charts

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

Coding and iterative testing

A

Part of the program development life cycle in which the program is coded and the code is tested, amended and repeated until the moldule performs as required

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

Testing

A

Stage of program development lifecycle in which the program is run many times with different sets of test data.

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

Computer system

A

Made up of systems that can be broken down into subsystems that only perform 1 action each

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

Top down design

A

Decomposition of a computer system into subsystems until each system performs a single avtion

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

Components of a computer system/results of decomposition (4)

A

Inputs
Outputs
Processes
Storage

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

Post condition

A

Repeat until

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

Pre conditioned loop

A

While

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

Types of validation (6)

A

Range checks
Length checks
Presence check
Format check
Check digit
Type check

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

Dry run

A

Manual process of working through an algorithm step by step

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

Types of testing (2)

A

Unit testing - test each part of the code individually
Integration testing - all code combined to form a program then program tested

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