Organisation And Structure Of Data Flashcards

(43 cards)

1
Q

Define denary

A

Base 10 (0,1,2,3,4,5,6,7,8,9)

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

Define binary

A

Base 2 (0,1)

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

Define hexadecimal

A

Base 16 (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F) used as shorthand for binary

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

How to double binary

A

Shift all 1 to the left

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

How to divide binary

A

Shift all 1 to the right

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

Binary addition

A

0+0=0
0+1=1
1+1=10
1+1+1=11

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

Define pixel

A

A small coloured dot on a computer display

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

Define bitmap

A

A stored array of pixels that create an image

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

Define vector

A

Images stored as instructions to draw a geometric shape

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

Define sample rate

A

The number of audio samples captured each second. The higher the sample rate, the better the quality but larger the file

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

Define bit depth

A

The number of bits available for each clip e.g. bit depth 4 (0101) or bit depth 8 (01010110)

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

Define bit rate

A

The number of bits used per second of audio

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

Define metadata

A

Set of data that describes other data

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

Define colour bitmap image

A

Like a black and white bitmap but with longer binary numbers that represents how much red, green and blue is required in the colour of a pixel

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

Colour depth to number of colours

A

1 bit - 2
2 bit - 4
3 bits - 8
8 bits - 256
16 bits - 65,536
24 bits - 16.7 million
32 bits - 4.3 billion

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

Examples of metadata on music files

A

Genre of music
Date created
Location
Size
Dimensions

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

Define integer

A

Whole numbers, positive or negative

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

Define real

A

Numbers including fractions or decimal points

19
Q

Define Boolean

A

True or False, 1 or 0

20
Q

Define character

A

Letter, digit, punctuation, or any other symbol

21
Q

Define string

A

A sequence of characters

22
Q

Define character set

A

A table that maps a character to a corresponding binary digit e.g ASCII

23
Q

Define data sructure

A

A specific way of organising data so it can be processed efficiently

24
Q

Define record

A

A structure containing related data of different data types

25
Define primary key/key field
A unique identifier for each record e.g ID number
26
Define array
A structure containing a fixed number of data items, which must be the same data type e.g list
27
Code for traversing an array (using each item in the list)
myArray[*array length*] for i = 0 to *end of array* print myArray[i] next i
28
Code for insertion in an array
myArray[*array number*] = *new entry*
29
Code for deletion in an array
myArray[*array number*] = “”
30
How to store two dimensional arrays
myArray[*row*,*column*]
31
Code for traversing a two dimensional array
myArray[*row*,*column*] for i = 0 to *end of row* for j = 0 to *end of column* print myArray [i, j] next j next i
32
Define validation
Ensures that data entered is reasonable
33
Types of validation check (5)
Presence Format Length Data Type Range
34
Definition and code for presence check
Checks if the field has been left blank if data entered = “” then output error message end if
35
Definition and code for format check
Checks for a specific pattern if data entered <> format(…) then output error message end if
36
Definition and code for length check
Checks for certain or sensible length if len(data entered) <> *number* then output error message end if
37
Define data type check
Checks input data is a particular data type
38
Definition and code for range check
Checks data is within a specified range if data entered < *minimum* OR data entered > *maximum* then output error message end if
39
Define verification check
Ensures that data entered is consistent
40
Types of verification check
Double-entry Screen based/ visual check Check digit
41
Definition and code for double-entry
Checks for comparing two versions of a data input if password <> reTypePassword then output error message end if
42
Define screen based/ visual check
Makes the user check that the information is correct
43
Define check digit
Uses calculations to check. Repeats the calculation and checks if the output is the same to verify