Defensive design

?
  • Created by: Harmony_
  • Created on: 10-06-21 11:15
What is a presence check ?
Making sure the user actually enters data
1 of 13
What is a type check ?
Ensuring that data entered is of the correct data type .
2 of 13
What is a length check ?
Making sure that data is of an acceptable length (characters) .
3 of 13
What is a range check ?
Making sure that the value of data is within acceptable limits .
4 of 13
What is a sequence check ?
Making sure that the value is within an acceptable list of values .
5 of 13
What is a format check ?
Making sure that the data is in an acceptable format .
6 of 13
Fill the gap :

Input sanitisation involves using techniques to _____
user data to remove _______
characters, mixed ____
and non-valid characters and leading/________
spaces. These characters can cause issues when the data is ________
Input sanitisation involves using techniques to clean user data to remove control characters, mixed case and non-valid characters and leading/trailing spaces. These characters can cause issues when the data is processed.
7 of 13
Fill the gap:

Data validation involves using techniques which check the input data is of the correct data ____, structure or format for processing/storage.
Data validation involves using techniques which check the input data is of the correct data type, structure or format for processing/storage.
8 of 13
What are trailing spaces ?
Spaces after the characters in a string .
9 of 13
What are control characters ?
Special characters designed to transmit signals .
10 of 13
What are mixed case characters ?
Mixtures of upper and lower case letters .
11 of 13
What are non valid characters ?
Characters which are not numbers, letters or symbols .
12 of 13
What are leading spaces ?
Spaces before the characters in a string .
13 of 13

Other cards in this set

Card 2

Front

What is a type check ?

Back

Ensuring that data entered is of the correct data type .

Card 3

Front

What is a length check ?

Back

Preview of the front of card 3

Card 4

Front

What is a range check ?

Back

Preview of the front of card 4

Card 5

Front

What is a sequence check ?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Defensive design resources »