Organisation And Structure Of Data Flashcards

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
Q

Define primary key/key field

A

A unique identifier for each record e.g ID number

26
Q

Define array

A

A structure containing a fixed number of data items, which must be the same data type e.g list

27
Q

Code for traversing an array (using each item in the list)

A

myArray[array length]

for i = 0 to end of array
print myArray[i]
next i

28
Q

Code for insertion in an array

A

myArray[array number] = new entry

29
Q

Code for deletion in an array

A

myArray[array number] = “”

30
Q

How to store two dimensional arrays

A

myArray[row,column]

31
Q

Code for traversing a two dimensional array

A

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
Q

Define validation

A

Ensures that data entered is reasonable

33
Q

Types of validation check (5)

A

Presence
Format
Length
Data Type
Range

34
Q

Definition and code for presence check

A

Checks if the field has been left blank

if data entered = “” then
output error message
end if

35
Q

Definition and code for format check

A

Checks for a specific pattern

if data entered <> format(…) then
output error message
end if

36
Q

Definition and code for length check

A

Checks for certain or sensible length

if len(data entered) <> number then
output error message
end if

37
Q

Define data type check

A

Checks input data is a particular data type

38
Q

Definition and code for range check

A

Checks data is within a specified range

if data entered < minimum
OR data entered > maximum then
output error message
end if

39
Q

Define verification check

A

Ensures that data entered is consistent

40
Q

Types of verification check

A

Double-entry
Screen based/ visual check
Check digit

41
Q

Definition and code for double-entry

A

Checks for comparing two versions of a data input

if password <> reTypePassword then
output error message
end if

42
Q

Define screen based/ visual check

A

Makes the user check that the information is correct

43
Q

Define check digit

A

Uses calculations to check. Repeats the calculation and checks if the output is the same to verify