2.3 Robust Programs Flashcards

1
Q

What is data validation?

A

Validation is a check made by a computer to ensure that the data entered is sensible or reasonable.

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

What is Authentication?

A

Authentication is a coding method to check that a user is who they say they are and allowed to accesses the program

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

What is Input sanitisation?

A

Input sanitization trims or strips strings, removing unwanted characters from strings

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

What is Presence check?

A

Checks that data has been entered into a field for example in most database a key field cannot be left blank.

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

How is validation different from input sanitisation?

A

Validation is a check made by a computer to ensure that the data entered is sensible or reasonable however sanitization tries to fix the problem by removing unwanted characters from strings

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

What is Maintainability?

A

If a program is to be defensive against attacks then it has to be maintained and up to date

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

What is Iterative testing?

A

It is testing a code as you create it.

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

What is Runtime error?

A

An error that happens while running the program. It is often due to problems with the computer and not with the code itself.

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

What is a Syntax error?

A

Syntax errors are mistakes in the way that the code is written

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

What is a Logic Error

A

A logic error produces unintended or undesired output or other behavior, although it may not immediately be recognized

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

Give at least 3 different types of Validation

A
Check Digit, 
Format Check,
Length Check,
Lookup Table,
Presence Check,
Range Check,
Spell Check.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can we mitigate misuse?

A

Limiting the number of logon attempts

Ensuring the code is robust in validating the data entered

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

Give at least 3 different types of Authentication

A
Pin, 
Capture, 
Fingerprint, 
Eye Scanner, 
Key Cards, 
Physical Authenticator, 
Email Authentication.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly