9 Solution developement Flashcards

1
Q

What is verification and when is it used?

A

Verification is when you enter the data twice to make shure you entered the right data

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

What is validation and when is it used?

A

Validation means checking if the data is correct and it is used for example when you want to log in somewhere.

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

Types of validation checks.

A

Range checks - it checks for example a number is in between 2 and 9
Length checks - checks if the input is 12 digits long for example
Type checks - are used to identify if the data entered are integers or letters.

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

Types of test data.

A

Normal data - These data are the data you would expext the user to enter and you eneter it to see what will happen
Extreme data - are the lowest data types you can enter
Abnormal data - is the data that the user shouldn’t enter.

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

When is a program effetive?

A

A program is effective when it has no errors and basically it does what the user wants it to do.

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

What is the purpose of an algorithm?

A

The purpose of an algorithm is to turn the input into output.

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

What are the three errors that may be found in algorithms?

A

Syntax errors - means when you have writing errors in pseudo code or other programing languages.
Run-time errors - happen when the program does run but something goes wrong for example you will have an endless loop or the program will try to divide a number by 0 and the program will crash.
Logical errors - happen when the programmer makes a mistake while writing the code and the program won’t crash but it won’t give the output expected.

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

What is a structure diagram?

A

A structure diagram is a drawing of the “computer system”. It basically means that the structure diagram breaks down a system that your trying to make into sub-systems(smaller parts).

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

What is a subsystem?

A

As mentioned is a part of the structure diagram and it can be broken down into smaller sub-systems.

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

What is a subroutine?

A

A subroutine is a smaller program that can be used in other programs.

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

Which are the two types of subroutine?

A

Functions - create an output that the programmer desires to use in another routine.
Procedures or sub-procedures - do what the program wants it to do but its output can’t be used in other subroutines.

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

What is a code library?

A

A code library stores subroutines.

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

What other names can a sub-routine be called.

A

Sub-program or routine.

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