Fundamentals Of Data Representation Flashcards

1
Q

Natural numbers (N)

A

Don’t represent negative
Represents whole numbers
(0, 1, 2, 3)

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

Integer numbers (Z)

A

Represent both whole and negative numbers

-3, -2, -1, 0, 1, 2

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

Rational numbers (Q)

A

Can be written as fractions

( 7/1) =7

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

Irrational numbers

A

Cannot be written as a fraction

pie, root 2

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

Real numbers (R)

A

Set of all possible real world quantities

Any written number

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

Ordinal numbers

A

Tells the position of a list of numbers
{a, b, c, d}
A is the first position

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

Decimal

A

67(10)

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

Binary

A

10011011(2)

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

Hexadecimal

A

AE(16)

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

Bit

A

Fundamental unit of information

0, 1

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

Byte

A

8 bits

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

2^n

A

Number of different values

3 bits = 2^3 = 8 different ways

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

Binary prefixes

A

Kibi - 2^10
Mebi - 2^20
Gibi - 2^30
Tebi- 2^40

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

Decimal prefixes

A

Kilo - 10^3
Mega - 10^6
Giga - 10^9
Tera - 10^12

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

Signed numbers

A

Represents positive and negative numbers
(1001001111)
First digit is 1

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

Unsigned

A

Does not represent negative numbers
(0001100111)
First digit is 0

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

Minimum and maximum value for a given number of bits in unsigned binary

A

0 and 2^n - 1

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

Why can fixed point and floating point representation of decimal numbers be wrong

A

There is a rounding error

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

Advantage of floating point

A

Provides a large range

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

Disadvantage of floating point

A

Rounds off large numbers which is time consuming

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

Advantage of fixed point

A

Numbers are represented with precision

e.g. when money is involved

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

Disadvantage of fixed point

A

Provides a limited range

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

Why are floating point numbers normalised

A

To increase consistency. If each number is represented always by the same bit pattern comparisons would become easier

24
Q

Overflow and where it occurs

A

When the result of addition or subtraction goes beyond range

+ and + = -
- and - = +

25
Underflow
When the result of addition or subtraction is less than the range
26
Why is vernam cypher considered to be perfect
Harder to crack | Nothing can’t be learnt about the plaintext from the cypher text
27
Why is caeser cipher easily cracked
There are only 25 possible keys which comes to process of elimination
28
Compare vernam cipher to other cyphers that depend on computational security
Vernam cipher is the only one to be mathematically secure whereas other ciphers can be broken given enough cipher text and time
29
Encryption
Using an algorithm to convert a message into cipher text
30
Advantage of MIDI
More compact | Easy to modify
31
Advantage and disadvantage of lossless
Files can be reproduced exactly as it was in the beginning with no loss in quality but still result in a large file size No redundant data is lost during the compression process
32
Advantage and disadvantages of lossy
Files are reduced significantly more than lossless but has a loss in quality
33
Principle of dictionary based compression
Variable length strings of data are represented by single tokens A dictionary is formed using the tokens as the key The strings of symbols are used as the entries
34
RLE
compresses data by reducing repetitive and consecutive data called runs. Runs of data are stored as a single data value and count rather than the original run
35
Why are images and files compressed
To reduce files which helps streaming or downloading files.
36
Compressing text files
Smaller and faster to send wireless networks
37
Purpose of midi
To easily edit files and exchange data?
38
Nyquists theroem
Sample rate is double the highest frequency in the original sound
39
Sample rate equation
Size / (sample resolution x time)
40
Sample resolution
Number of bits per sample
41
Sample rate
Number of samples taken per second
42
Compare bitmap graphics to vector graphics
Bitmaps are made up of pixels while vector graphics are created using a mathematical formula Vector takes up less storage than bitmap due to bitmap being made from pixels.
43
Why is Unicode good
Can represent characters from languages all around the world
44
Difference between analogue data and digital data
Analogue is continuous data | Digital is stored as binary
45
ADC process
The analogue signal is sampled at fixed time intervals | The amplitude of a signal wave at each sample point is measured which is then coded in binary
46
Parity bit
A method of checking binary codes by counting the number of 0s and 1s in code
47
Majority voting
Method of checking for errors by producing the same data several times and checking it is the same each time
48
Check digit
A digit calculated using an algorithm and is generated using other digits in a sequence
49
Ascii
Binary coding system for characters and numbers
50
Unicode
Binary coding system that includes international characters
51
Most common use for a dac
To convert a digital audio signal to an analogue signal
52
Colour depth
Number of bits stored for each pixel
53
Resolution
Number of dots per inch where a dot is a pixel
54
Bitmapped graphic
An image made up of individual pixels
55
Size of pixel
Width of images x height of images
56
Storage requirements
Size in pixels x colour depth