binary and logic Flashcards

(15 cards)

1
Q

versions of unicode + size of each

A

UTF-8 (1-4 bytes)

UTF-16 (2 or 4 bytes)

UTF-32 (4 bytes)

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

what can u do to increase quality of image (2)

A
  1. increase resolution (# pixels)
  2. incfrease colour depth (# bits per pixel)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how to calculate file size of audio file

A

file size = sampling rate (Hz) * bits per sample (bits) * duration (seconds) * number of chanels

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

what is bit depth/colour depth of a bitmap image

A

bits per pixel

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

how is audio stored in binary

A

split into sections (sampling rate; x axis; measured in Hz; standard is 44.1kHz)

y-axis is split into bits (bit depth)

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

compression techniques of frames

A
  1. spacial compression - reduces redundant info within each frame (colour depth, detail levels)
  2. temporal compression - reducest redundant info between frames
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how much is one byte in bits

A

1 byte = 8 bits

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

what is RGB and RGBA

A

RGB -> red, green, blue chanel; 1 byte per chanel

RGBA -> add alpha chanel (for transparent images)

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

what is true colour

A

24 bit colour depth

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

types of images

A

bitmap/raster
vector

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

components of a video

A

-frames
-audio tracks
-meta data
-subtitles and closed captions

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

how to calculate size of image

A

image size = width (pixels) * height (pixels) * colour depth (bits/pixel)

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

how does UTF-8 work

A

first bits –> #1’s is number of bytes of the character, 0 represents the end of this indication

each subsequent byte starts with 10 to show continuation

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

size of standard and extended ascii

A

standard: 7-bit
extended: 8-bit

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

how does ascii work?

A

last 5 bit represet letter based on numerical place in alphabet (eg. 1=a; write 1 in binary)

first 3 bits represent upper/lower case
- 011 = lowercase
- 010 = uppercase

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