Section 3 Data Representation Flashcards

1
Q

what is a natural number ?

A

a whole number that is used for cointing

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

what is a rational number?

A

any value that can be expressed as a ratio or a fraction

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

what is an irrational number?

A

a number that can not be expressed as a ratio or a fraction

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

what is an ordinal number ?

A

decsribes the numerical position of objects

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

why are hexadecimals used ?

A

as a shorthand binary since it is simple to represent a byte in just 2 digit
they are easier to remeber compared to a 8 bit sequence

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

what is a byte?

A

8 bits

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

what is ASCII

A

Americamn Standard Code for Information Interchnage

a way of representing letters, numbers and symbols as binary

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

what is unicode

A

a way of representing data using 16 bit binary compared to the 8 bit ascii

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

what are partity bits?

A

a parity bit is an additional bit that is used to check that the other bits transmitted are likely to be correct

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

what is majority voting?

A

this is a system that requires each bit to be sent 3 times. if a bit is flipped erroneously during transmission over a noisy line, the recipient computer would use the majority rule and assume that the two bits that have not chnaged were therefore correct

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

what is a check digits?

A

it is an additional digit at the end of a string of other numbers designed to check for mistakes in input or transmission.

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

what are the rules for binary addition?

A
0+0 = 0
1+0 = 1
1+1 = 0 ( carry the 1)
1+1+1  = 1 ( carry the 1)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is an overflow ?

A

this is when the result of the addition is greater than 255, and an over flow error occurs where a carry from the most significant bit requires a ninth bit

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

what is unsigned binary?

A

unisgned representation of binary can only represent positive numbers

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

what is signed bianry?

A

can represent both positive and negative numbers

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

how do you perform twos compliment?

A
  • write out the positive intergrer in normal binary
  • flip all of the bits ( turn the 1s into 0s and turn the 0s into 1s)
  • add 1
example :
-5
00000101
11111010
11111011
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

fixed point binary

A

0.5 = 0.1
0.25 = 0.01
0.125 = 0.001
0.0625 = 0.0001
etc

18
Q

what is a bitmap image?

A

an image that contains many picutr elements or pixels , that make up the whole image.

19
Q

what is resolution?

A

width in pixles * height in pixels

20
Q

what is resolution sometimes expressed as ?

A

PP1 = Pixels Per Inch
or
DPI = Dots Per Inch

21
Q

what is the colour depth?

A

the number of bits that determine the number of combinations

22
Q

what is metadata?

A
data about data
additional details that are stored with the image such as :
-width 
-height
-colour depth
23
Q

What are vector graphics ?

A

vector images are made up of geometric shapes / mathematical equatoions and objects such as lines , curves , arcs and polygons

24
Q

Vector Graphics vs Bitmap graphics

A
  • vectors will usually have a smaller sile size
  • vectors will scale perfectly
  • vectors transmit and load faster
25
what is the sampling rate ?
the frequency with which you record the amplitude of sound | how many readings u take per specific time interval
26
Calculating sound sample sizes
number of samples per second * the number of bits per sample * the legnth of the sampe in seconds
27
what is an analouge signal ?
a continuous signal which represents physical measurements
28
what is a digital signal ?
discrete time signals generated by digital modulation
29
examples of continuous siganls ?
- human voice - tape recorder - analouge watch
30
example of digital signals ?
computers cds dvds digital watch
31
how do we quantify analouge sound
continuous varying quantities are measuered
32
how is a digital signal quantified ?
quantities are counted rather than measured
33
analouge to digital conversion
- a microphone convertsthesound energy into electrical energy the analouge to digital converter sampels the analouge data at a given frequency, measuring the amplitude of the wave at each point - then converts this into a binary value according to the resolution
34
what is frequency ?
something that us determined by the speed of oscillation or vibration of a wave
35
what is nyquists theorem?
in order to produce an accurate recording the sampling rate msut be doubled that of the highest frequency in the original signal
36
what is lossy compresion?
this is when non essential informtion/ data is remved
37
what is loseless compression?
records a pattern in data. using these patterns the computer can reverse the proceduer and reassemble an image
38
what is rle?
Run legnth encoding , records a pixles value and the number of times it repeats
39
what is encryption?
encryption is the transformation of data from one form to another to prevent an unauthroised third party from being to be able to understand the data
40
what is caeser cipher ?
this is a type of substitution cipher and works by shifiting the letters of the alphabet along by a given number of characters
41
what is vernam cipher ?
implementation of a class of ciphers known as one time pad ciphers . offers perfect security if used properly