CS7 - Algorithm Design and Problem-Solving

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

18 Terms

1
New cards

What are the two types of verification checks?

Double entry and visual check

2
New cards

What is the double entry check?

You enter data twice where the computer checks if the data is of identical value

3
New cards

What is the visual check?

Checking that data has been entered and confirming it matches

4
New cards

What are the four stages of program development life cycle?

Analysis, design, coding and testing

5
New cards

Which stage of the program development life cycle involves breaking a problem down?

The analysis stage, specifically called decomposition?

6
New cards

Why are computer systems split into sub-systems?

It makes it easier to manage, understand, build and test, while also allowing different programmers or teams to work on separate parts at the same time

7
New cards

What four parts does the analysis stage of the program development life cycle include?

The identification of the requirements, abstraction, identification of the problem and the decomposition of the problem

8
New cards

What three parts does the design stage of the program development life cycle include?

It uses pseudocode and flowcharts for the design combined with structure diagrams

9
New cards

What part does the coding stage of the program development life cycle include?

Writing the program code

10
New cards

What two parts does the testing stage of the program development life cycle include?

Iterative testing and testing with data

11
New cards

What is the difference in requirements between a binary and linear search?

A binary search requires a sorted list which a linear search doesn’t

12
New cards

What is the algorithm used to sort data in ordered form?

A bubble sort

13
New cards

What is the search that searches every individual piece of data?

A linear search

14
New cards

What is the search that halves the selection of data repeatedly to find data in sorted data?

A binary search

15
New cards

What is adding up data to create a total called?

Totalling

16
New cards

What is incrementing a value for each piece of data called?

Counting

17
New cards

What are the six validation checks?

The length check, range check, type check, presence check, format check and check digit

18
New cards

What is the difference between extreme data and boundary data?

Extreme data tests the smallest and biggest values possible, boundary data goes beyond that and tests the nearest invalid values just beyond the range