Flashcards
Unit 2.3 - robust programs
Flashcards do conjunto (18)
- 1Unit 2.3Robust Programs
- 2Validation = Sensible Verification = Accurate- double entry (checked when typing in)
- Double checking (happens at the end) - 3Check digitThe last one or tow digits in a code are used to check the other digits are correct.
*Bar code readers in supermarkets use check digits. - 4Format checkChecks the data is in the right format.
*A NI number is in the form of LL 99 99 99 - 5Length checkChecks the data isn't too long/short.
*A password needs to be 6 digits. - 6Lookup tableLooks up acceptable values in a table.
*Only 7 possible days in a week. - 7Presence checkChecks that the data has been entered into a field.
*In most databases a key field cannot be left blank. - 8Range checkChecks that a value falls within a specific range .
*No. hours worked must be less than 50 and more than 0. - 9Spell checkLooks up words in a dictionary.
*Microsoft word uses red lines to underline the mispelt words. - 10Data sanitationWhatever is been input is cleaned/cleared-to make it sensible/consistent.
o= letter o
zero = 0 with line going through the middle - 11Brute force attackTrial and error method. Time consuming / but can be cracked.
- 12AuthenticationCoding method that checks that a user is who they say they are to access a program.
*can be physical
*often requires a key code - 13IndentationTo group together a function
- 14CommentsTo inform the reader of a bug/issues.
*To explain the code - 15BugError in coding.
*Not all errors will stop a program from running.
*Syntax errors will stop programming. - 16Runtime errorsOnly takes place when program is running.
Eg: running out of memory - 17Syntax errorsAre mistakes in the way that the code is written.
- 18Logic errorIs a bug in a program that causes it to operate incorrectly, but not to terminate?crash.
Informações
- Descrição
- FlashCards sobre Unit 2.3 - robust programs , criado por Tania Linu em 23-02-2019.
- Criado por
- Tania Linu · fev 2019
- Atualizado
- 23 fev 2019
- Visualizações
- 0
- Avaliação