digital data encoding Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what do computers run on?

A

electrical energy

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

what do binary numbers represent?

A

ALL data in computers, including text, images, and sound.

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

what does ASCII do

A

has codes for every character on a standard American English keyboard

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

what does text file size depend on?

A

bits required to store each character - total number of characters in the file

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

what is the text file size in bits

A

𝑇𝑒π‘₯𝑑 𝐹𝑖𝑙𝑒 𝑆𝑖𝑧𝑒 𝑖𝑛 𝑏𝑖𝑑𝑠
= 𝑏𝑖𝑑𝑠 π‘π‘’π‘Ÿ 𝐢hπ‘Žπ‘Ÿπ‘Žπ‘π‘‘π‘’π‘Ÿ Γ— π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ 𝐢hπ‘Žπ‘Ÿπ‘Žπ‘π‘‘π‘’π‘Ÿπ‘ 

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

what are the advantages of using Unicode over ASCII

A
  • regularly updated to support more symbols
  • can represent more characters than ASCII
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are the disadvantages of using Unicode

A

requires more storage space, sometimes over 1 byte per character

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

how are images in computers represented

A

images in computers are represented using dots

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

what are the dots called

A

pixels

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

what does β€˜pixels’ stand for

A

PICture Elements

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

how many colours do the pixels contain

A

contains only ONE colour

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

how to form an image on a computer

A
  • each colour is assigned a binary code
  • each pixel is encoded with its colour code
  • the codes for all the pixels in the image are arranged to form a bitmap
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how do you determine the size of an image

A

the size of an image is the total number of pixels in the image

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

how do you calculate the size of the image

A

πΌπ‘šπ‘Žπ‘”π‘’ 𝑠𝑖𝑧𝑒 𝑖𝑛 𝑝𝑖π‘₯𝑒𝑙𝑠 = π‘Šπ‘–π‘‘π‘‘h Γ— 𝐻𝑒𝑖𝑔h𝑑.

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

what is colour depth

A

the number of colours in an image measured by the number of bits required to encode each pixel as a binary number

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

what is a colour scale

A

the RGB scale – 24 bits indicating the respective intensity of red, green and blue from 0 to 255 for each colour

17
Q

what is a CLUT

A

colour look up table

18
Q

how many bits are needed to form a colour code

A

2 bits

19
Q

what does image file size depend on

A

πΆπ‘œπ‘™π‘œπ‘’π‘Ÿ 𝐷𝑒𝑝𝑑h Γ— π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ 𝑃𝑖π‘₯𝑒𝑙𝑠

20
Q

what does the quality of image depend on

A
  • colour depth – with more colour depth,
    more colours can be displayed
  • size – an image with more pixels is
    clearer due to a higher resolution
21
Q

what is sampling

A

the amplitude of a wave picked up at fixed times

22
Q

how many bits does ASCII use per character

A

7 bits

23
Q

how many unique values are there in ASCII

A

128

24
Q

why does ASCII have 128 unique characters

A

because 7 is the base, therefore; 2^7 = 128

25
Q

how does ASCII represent β€˜48-57’ in code

A

numbers 0 to 9 in order (eg: 48 = 0, 49 = 1, etc)

26
Q

how does ASCII represent β€˜65-90’ in code

A

capital letters A to Z in order (eg: 65 = A, 66 = B, etc)

27
Q

how does ASCII represent β€˜97-122’ in code

A

small letters β€˜a’ to β€˜z’ in order (eg: 97 = a, 98 = b, etc)

28
Q

define β€˜sample rate’

A

number of samples collected in one
second

29
Q

define β€˜sample resolution’

A

number of bits used to store a single sample

30
Q

how does sampling work

A
  • a microphone picks up sound wave and converts it to an electrical analogue signal
  • the signal amplitude is sampled at regular intervals
  • each sample is stored as a binary value
31
Q

why is sampling required

A

real world sound are analogue waves, which are continuous, continuous sound waves have an infinite number of amplitudes; computers do not have enough storage, so sampling is required to create digital waves (has limited number of values) which can be stored in a computer