1.4.3 Organisation and structure of data: Data types Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

The 6 types of data.

A

Integer, Character, String, Real Number, Date, Boolean

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

Define Integer.

A

A positive or negative whole number (e.g 1, -14, 69)

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

Define Character.

A

A single alphanumeric or non-alphanumeric character (e.g E, A, @, #)

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

Define String.

A

More than one character in an ordered sequence (e.g “I’m A string”, “Hello World”, “ABC123”)

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

Define Real Numbers.

A

A number with or without a fraction (e.g 42.0, 3276.8, -6.9, 3.1415)

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

Define Date.

A

A reference to the typical calendar date, typically in form DD/MM/YYYY (e.g 27/05/2022)

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

Define Boolean.

A

A true or false value.

Not relevant to the WJEC GCSE exam, but boolean values can also be represented as Yes/No, 1/0 or High/Low, depending on the language or scenario.

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

The 5 methods of validation.

A

Type check, Format check, Lengh check, Presence Check, Range check.

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

Define Type Check.

A

Checks the right type of data is being entered.

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

Define Format Check.

A

Checks the data being entered is in the right pattern.

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

Define Lengh Check.

A

Checks the data being entered is the right lengh or number of characters required.

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

Define Presence Check.

A

Checks data has been entered and not left blank.

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

Define Range Check.

A

Check sets boundaries to make sure that the data falls between an upper and lower value.

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

How does Validation and Verification differ?

A

Validation is performed by the computer, and automatically ensures the data entered is within set restrictions (e.g within required lengh, format etc.)

Whereas Verification is performed by the user, and ensures that the data entered is accurate to the required information (e.g double checking the bank card information when making an online purchase, or by entering a password twice when setting up).

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