Binary + Representation of Info (Week 3) Flashcards

1
Q

Definition : Binary

A

Digital means “with discrete values” or discrete form such as
numbers like 1 and 0 (on and off).

There is only a limited number of possible values.

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

Definition : Analog

A

Values are continuous (with an infinite number of
possible values) such as voltage.

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

How is Digital Information processed?

A

To represent any type of information digitally, computers use numbers

To allow information to be processed digitally, analog (real world) information (sound, color, etc.) is converted into a digital format (=> numbers)

Digital results are often converted back to analog, e.g., to present them to users in the real world

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

How is text represented digitally?

A

Text is easily represented digitally using a character-encoding scheme that translates characters of an alphabet into numbers.

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

What are the processes of converting analog to digital and back called?

A

(en-)coding and decoding

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

What does it mean to (en-)code and decode information?

A

To process analog information with a computer, we have to convert analog information into a digital representation.

We translate it to numbers (eventually, to binary numbers that are processed by transistors in a CPU

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

Definition : Pixel

A

Picture element

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

What are the 3 colors used to represent digital pixels?

A

Red, Green, and Blue (RGB)

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

What are usually the maximum and minimum values of the RGB color components?

A

0 to 255

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

How to increase digital image quality?

A

More light detectors (pixels) per area

More precise measurement of colour (colour depth)
* Representation could be black/white, grayscale or colour
* Most smartphones/cameras create pixels that can represent 16.8 million different colours (i.e. 256 shades of red, green or blue per pixel or 256 x 256 x 256 = 16.77 million)

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

How is sound represented digitally?

A

Signal is measured (sampled) in very short intervals (horizontal chunk). This measurement is the sample rate

The smaller the chunk, the better the sound (similar concept to high resolution in images)

Hertz is x per second or one cycle per second.

The value of each sample (measurement) is stored as a number

The range of possible values for each sample is called bit-depth. Higher bit- depth (=more bits) is better.

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

How is Bit Depth calculated?

A

A pixel with a ‘bit depth’ of 1 has two possible values: black or white.
A pixel with a ‘bit depth’ of 8 has 2^8, or 256 possible values.
A pixel with a bit depth of 24 has 2^24, or approx. 16 million possible values.

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

What affects digital sound quality?

A

Lower sample rate and smaller range of possible values (bit depth) result in poorer signal (and sound) quality

Higher sample rate and higher range of possible values (bit depth) result in better signal (and sound) quality with the likelihood of reproducing a close example of the true sound.

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

What are 2 types of compression?

A

1) Compression Lossless

2) Lossy Compression

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

Definition : Lossy Compression

A

Lossy encoding schemes omit information from the data source that humans will likely not perceive to use less file storage – if too much, it degrades quality. This compression type is irreversible.

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

Definition : Compression Lossless

A

Compression Lossless schemes preserves all the information from the data source so that all the original data can be used. This compression type is reversible.

17
Q

Definition : Decimal Numbers

A

Each digit uses a numeral (symbol) in the range from 0 to 9.

18
Q

Definition : Binary Numbers

A

Each digit uses numeral 0 or 1 (often represented as on and off).

19
Q

Definition : Bit

A

Stands for Binary Digit.

A Bit is binary for either a 1 or a 0 (one or zero)

A Bit is the smallest, most basic unit of data. This data is communicated in computing.

Most devices treat 1 (one) as a logical “true” value and 0 (zero) as a logical “false” value.

20
Q

What does 2^0 equal?

A

1

21
Q

Convert Binary to Decimal :
11

A

3

22
Q

Convert Binary to Decimal :
11010

A

26

23
Q

Convert Binary to Decimal :
100111

A

39

24
Q

Convert Binary to Decimal :
1010111

A

87

25
Q

Convert Decimal to Binary :
2

A

10

26
Q

Convert Decimal to Binary :
17

A

10001

27
Q

Convert Decimal to Binary :
43

A

101011

28
Q

Convert Decimal to Binary :
109

A

1101101

29
Q

11(Binary) + 2(Decimal)
Answer in Binary

A

101

30
Q

10011(Binary) + 9(Decimal)
Answer in Binary

A

11100

31
Q

100000(Binary) - 16(Decimal)
Answer in Binary

A

10000

32
Q

10101(Binary) - 7(Decimal)
Answer in Binary

A

1110