Algorithm Design And Problem Solving Flashcards

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

What are the stages of the program development life cycle?

A

Analysis
Design
Coding
Testing

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

Describe the process of abstraction

A

Removing unimportant details of the problem to focus on the important elements

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

What does the coding stage consist of?

A

Writing the program code and iterative testing

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

What is an important part of the testing stage?

A

Test data

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

What is a major component of computer systems?

A

Sub-systems.

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

What ways can a problem be decomposed into its component parts

A

Inputs
Processes
Outputs
Storage

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

What are the common algorithms?

A
  • search algorithm, checks a set of data to identify whether a specific value exists in the data, or not.
    E.g linear search
  • sorting algorithms, take a set of data and rearranges it to be a specific order.
    E.g bubble sort
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an algorithm?

A

A process/set of rules that are followed.

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

What are the common algorithms used?

A

Linear search
Bubble sort
Totalling
Counting
Finding maximum, minimum and average values.

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

Why are validation checks needed?

A

Checking of data that is input to make sure it is reasonable and within set bounds.

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

Why are verification checks needed?

A

To ensure data has been entered accurately and is the same as the original.

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

Describe a visual check

A

Comparing data entered with the original side-by-side

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

Describe a double entry check

A

When the same data is entered twice, usually by different people. They are then compared to see if they are the same.

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