validation types

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

define validation:

automatic checking of data to ensure only possible, sensible, reasonable data is accepted

2
New cards

describe: range

number must be in a specified range

3
New cards

length

length of inputted characters must match specified number of characters

4
New cards

type

data inputted must be of correct data type

5
New cards

look-up

a specific character must be included

6
New cards

format

data must be incorrect format e.g. 2 characters then 6 integers, etc.

7
New cards

presence

ensures some data has been entered

8
New cards

uniqueness

to check data entered is unique within a system

9
New cards

define valid data

data within the limits of what a user might sensibly or reasonable enter

10
New cards

4 types of ways code might be categorised - valid/non-valid

normal

boundary - data right at the edge of accepted range (but still accepted)

abnormal - valid data that is outside of accepted range (e.g. number between 1 and 10 - 25 is abnormal)

erroneous - data outside of accepted range (e.g. number between 1 and 10 - !!! is erroneous)

11
New cards

how to answer test data question and example

  1. state type of data

  2. give actual example

  3. state whether it will be accepted or rejected

  • Normal data would be 15 and it should be accepted.

12
New cards

examples of a 1 dimensional graph

captplot - box, strip, violin (comparing categories)

displot - box, strip, violin (comparing distributions)