Data Flashcards
In ASCII, each character is represented with how many bits?
In ASCII, each character is represented with 7 bits
What is data validation?
Data validation checks that data being passed into a program meets a set of requirements
List the types of validation checks
range check
format check
length check
presence check
check digit
What is data verification?
Data verification is used to ensure that the data entered is what the user intended to enter.
List the verification methods
Proofreading
Double entry
Parity check
Checksum
What kind of errors do check digit algorithms detect?
Check digit algorithms are designed to detect - human transcription errors, such as:
- letter/digit errors, e.g. I -> 1 or O -> 0
- single-digit errors, e.g. 1 -> 2
- transposition errors, such as 12 -> 21
advantages of ascii over unicode
ascii consumes less memory
advantages of unicode over ascii
- unicode can represent a large range of characters from special symbols to different languages (more compatible in the globalised world)
- Flexible Encoding Schemes: multiple encoding forms to ensure efficiency when encoding different languages
- Backward Compatibility with ASCII, first 128 characters are the same
types of erros
- syntax error
- runtime error
- logic error
type of contriants to promote data integrity
- entity integrity: each row of data must have a primary key
- referential integrity: foreign keg must point to an existing primary key
- domain integrity: each column should have the same schema
- user defined integrity: applying further constraints like length
purpose of backups
it is to create copies of data to restore it in case of data loss or corruption
backups serve as a safety net to recover data swiftly and minimises downtime in the event of hardware failure, cyber attacks, human errors or natural disasters
it should be
1. created at regular intervals
2. stored offsite
3. tested reguarly
purpose of data archivals
(save cost save space)
it involves storing data for long term retention, typically compliance, historical reference
archiving ensured that data remains accessible for as long as needed even if it is not used in active day to day operations
it is stored for long term preservation that can be scaled and is cheap