9 Solution developement Flashcards
What is verification and when is it used?
Verification is when you enter the data twice to make shure you entered the right data
What is validation and when is it used?
Validation means checking if the data is correct and it is used for example when you want to log in somewhere.
Types of validation checks.
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.
Types of test data.
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.
When is a program effetive?
A program is effective when it has no errors and basically it does what the user wants it to do.
What is the purpose of an algorithm?
The purpose of an algorithm is to turn the input into output.
What are the three errors that may be found in algorithms?
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.
What is a structure diagram?
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).
What is a subsystem?
As mentioned is a part of the structure diagram and it can be broken down into smaller sub-systems.
What is a subroutine?
A subroutine is a smaller program that can be used in other programs.
Which are the two types of subroutine?
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.
What is a code library?
A code library stores subroutines.
What other names can a sub-routine be called.
Sub-program or routine.