Unit 8 - Logic Diagrams And Truth Tables Flashcards
If the units 0 0 0 1 1 0 1 1 Are put into an AND gate what are the result
0
0
0
1
If the units 0 0 0 1 1 0 1 1 Are put into an OR gate what are the result
0
1
1
1
If the units 1 0 Are put into an Not gate what are the result
0
1
Explain what the logic gate AND does
And - both inputs must be true for the output to be true
Explain what the logic gate OR does
Or - at least one input must be true for output to be true
Explain what a NOT logic gate does
The output is opposite to the input
What is data validation
It ensures the data entered is the right type.
What are the 5 valdiation checks
Range Type Length Presence Format
What is a range check
Number or date is within a allowed range
What is a type check
Data is of the right type such as integer or text
What is length
Text entered is not too long or short
What is a presence check
Checks that data has been entered. So it isnt left blank
What is a format check
Checks that the format for example a postcode or email adress
What is verification
Is used to double check the data has been typed in correctly
If a program needs to be maintained
What would this mean for the program
This would be improving the code,fix bugs,add new features.