1 Data Representation Flashcards

(17 cards)

1
Q

Character sets

A

character sets are all characters & symbols that can be recognized by a computer, where each character is assigned a unique binary value

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

Difference between ASCII and Unicode?

A
  • ASCII has limited characters, Unicode has more
  • Unicode includes more languages/emojis
  • ASCII uses up to 7/8 bits per character whereas Unicode uses up to 16/32 bits per character
  • ASCII has 128/256 characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Pixel

A

A tiny dot of color on a computer display

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

Bitmap

A

A photo image consisting of pixels

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

Resolution

A

Number of pixels in an image (width x height)

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

Colour depth

A

Number of bits used in each pixel to represent a colour

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

Image size

A

Dimensions of the image on the screen (w x h x color depth)

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

Metadata

A

Information that is stored along with the image (e.g. filename, format, time, etc.)

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

Lossy compression

A
  • Data is permanently removed
  • irreversible
  • greatly reduce the size of file and loses quality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Lossless compression

A
  • Uses RLE (Run-length encoding) to reduce the size of the file where patterns are identified
  • reversible and restorable
  • image quality is not reduced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why is compression used?

A
  • faster to download
  • less storage space required
  • shorter transmission time
  • doesn’t exceed email limit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Sound (5 steps)

A
  • Analogue sound is recorded using a microphone
  • Analogue sound is converted to digital using ADC
  • sound wave is sampled and each sample taken is converted into binary
  • each amplitude sampled (at regular time intervals) has a unique binary value
  • Sample rate is set which is the number of samples taken per second.
  • Sample resolution is set which is the number of bits per sample.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Image (3 steps)

A
  • An image is a series of pixels that are converted into binary, processed by a computer
  • Camera captures image, turning into pixels
  • Each pixel is given a binary value as they form a grid to create an image

File size and quality of the image increases as the image resolution and colour depth increase.

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

Nibble

A

4 bits

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

Uses for hexadecimal

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

Why is hexadecimal used

A
  • easier debug
  • easier to understand
  • takes up less space
17
Q

calculating file size of sound

A

sample rate x sample resolution x length of sound clip