unit 1: data representation Flashcards

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
Q

drawbacks of using a larger sampling resolution

A
  1. produces larger file size
  2. takes longer to transmit/ download music files
  3. requires greater processing power
25
Q

sampling resolution and sampling rate of CDs

A

sampling resolution = 16 bit

sampling rate = 44.1 kHz

26
Q

meaning of larger dynamic range

A

diff. between quieter and louder soudns
large gap= quieter won’t be heard

27
Q

image resolution

A

no. of pixels that make up an image

28
Q

order of memory sizes

A

{ KB, MB, GB, TB, PB, EB }

29
Q

Formula for image file size

A

image resolution (in pixels) x colour depth (in bits)

30
Q

formula for sound file size

A

sample rate (in Hz) x sampling resolution (in bits) x length of sample (in seconds) x [for stereo: no. of channels]

31
Q

lossy

A

parts of original file cannot be recovered during decompression process

32
Q

lossless

A

allows original file to be fully restored during decompression process

33
Q

MP3

A

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
Q

MP4

A

allows storage of multimedia files
retains acceptable quality

35
Q

JPEG

A

used for bitmap images
human eyes detect diff. in image brightness better than colour shades
image split into 8 x 8 pixel blocks

36
Q

run length encoding (RLE)

A

lossless file compression technique used to reduce size of text and photo files