unit 1: data representation Flashcards

(37 cards)

1
Q

16=2^4

A

four binary digits are equivalent to each hexadecimal digit

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

binary to hexadecimal

A

split no. into groups of 4 bits
take each group of 4 bits and convert it into equivalent hexadecimal digit

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

hexadecimal to denary

A

multiply each hex digit by its heading value

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

denary to hexadecimal

A

successive division by 16 until the value 0 is reached
(16. 32. 48. 64. 80. 96. 112. 128. 144. 160)

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

uses of the hexadecimal system

A
  1. error codes
  2. MAC addresses
  3. IPv6 addresses
  4. HTML colour codes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

error codes

A

hexadecimal values refer to memory location of error
automatically generated by computer

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

MAC addresses

A

refers to no. which uniquely identifies a device on a network
refers to network interface card (NIC) which is a part of device
usually made of 48 bits (64 bits exist) which are shown in groups of two

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

MAC address components

A
  1. first half: identity no. of manufacturer
  2. second half: serial no.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

IP addresses

A

gives unique address to each device connected to a network

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

diff. between IPv4 and IPv6

A

IPv4:
* 32-bit no.
*denary / hexadecimal
* decimal point (.)
IPv6:
* 128-bit no.
*broken down into 16- bit chunks
*hexadecimal
*colon (:)

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

HTML colour codes

A

represents colours of text on computer
intensity determined by hexa value

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

logical binary shifts

A

shift left = multiplying binary no. by 2

shift right= dividing binary no. by 2

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

left most bit

A

MOST SIGNIFICANT BIT

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

right most bit

A

LEAST SIGNIFICANT BIT

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

when does error show in logical binary shift?

A

when we have exceeded the maximum no. of left shifts possible using a certain register

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

two’s complement : method

A
  1. write no. as + binary value
  2. invert each binary value
  3. add 1 to that no.
16
Q

ASCII code system

A

(AMERICAN STANDARD CODE FOR INFO INTERCHANGE)
used in communication and computer systems

17
Q

ASCII ranges

A

a-z : 097 - 122
A- Z : 065 - 090
0-9 : 048 - 057

18
Q

why Unicode was created?

A

ASCII doesn’t represent characters in non- western languages
unicode represents all languages

19
Q

sampling

A

amplitude of analogue sound wave recorded at regular/set intervals

20
Q

sampling resolution

A

no. of bits used to represent sound amplitude in digital sound recording

21
Q

sampling rate

A

no. of sound samples taken per sec

22
Q

increasing no. of possible values used to represent sound amplitude…

A

…increases the accuracy of the sampled sound

23
Q

benefits of using a larger sampling resolution

A
  1. larger dynamic range
  2. better sound quality
  3. less sound distortion
24
drawbacks of using a larger sampling resolution
1. produces larger file size 2. takes longer to transmit/ download music files 3. requires greater processing power
25
sampling resolution and sampling rate of CDs
sampling resolution = 16 bit sampling rate = 44.1 kHz
26
meaning of larger dynamic range
diff. between quieter and louder soudns large gap= quieter won't be heard
27
image resolution
no. of pixels that make up an image
28
order of memory sizes
{ KB, MB, GB, TB, PB, EB }
29
Formula for image file size
image resolution (in pixels) x colour depth (in bits)
30
formula for sound file size
sample rate (in Hz) x sampling resolution (in bits) x length of sample (in seconds) x [for stereo: no. of channels]
31
lossy
parts of original file cannot be recovered during decompression process
32
lossless
allows original file to be fully restored during decompression process
33
MP3
used for playing music reduces size by about 90% * algorithm removes sounds ear can't hear: 1. outside ear range 2. perpetual music shaping: if 2 sounds played at same time, only louder one can be heard
34
MP4
allows storage of multimedia files retains acceptable quality
35
JPEG
used for bitmap images human eyes detect diff. in image brightness better than colour shades image split into 8 x 8 pixel blocks
36
run length encoding (RLE)
lossless file compression technique used to reduce size of text and photo files