Chapter 5 Flashcards

(19 cards)

1
Q

Why are binary numbers important?

A

They are how computers store and send all data.

Binary numbers form the foundation of all digital computing and data representation.

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

Where are binary numbers used?

A

In everything digital—text, images, sound, and video.

Binary numbers are essential for all forms of digital content.

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

What is a bit?

A

A bit is the smallest unit of data. It’s a 0 or 1.

A bit represents a binary state in computing.

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

How do bits become text?

A

Each letter has a binary code using ASCII.

ASCII is a character encoding standard that represents text in computers.

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

What does this process show about abstraction?

A

It hides the 0s and 1s and shows letters instead.

Abstraction simplifies complex data representation.

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

How do you convert binary to decimal?

A

Add powers of 2 where the binary has 1s.

This method is based on the binary numeral system.

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

How do you convert decimal to binary?

A

Divide by 2 and write down remainders backward.

This method is a common algorithm for binary conversion.

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

What is overloading?

A

When a command does different things based on the input.

Overloading is often used in programming for flexibility.

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

How are images encoded?

A

Each pixel has a color code made of bits.

This encoding allows for the representation of images in digital form.

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

How do bits become images?

A

Bits are grouped to show color and placed in rows.

This process is essential for rendering digital images.

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

What is analog data?

A

Smooth data like real sound or light.

Analog data represents continuous signals.

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

What is digital data?

A

Broken into chunks, like bits.

Digital data is discrete and can be easily processed by computers.

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

What is sampling?

A

Taking bits of analog data to turn it into digital.

Sampling is crucial for converting analog signals into digital form.

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

What are layers of abstraction in images?

A

Images → Pixels → Colors → Bits.

This hierarchy helps in understanding image representation.

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

What is compression?

A

Making a file smaller by removing extra info.

Compression is used to save storage space and bandwidth.

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

What is lossless compression?

A

Shrinks file but keeps all data.

Lossless compression is essential for text and other critical data.

17
Q

What is lossy compression?

A

Shrinks file but loses some data.

Lossy compression is often used for multimedia files where some data loss is acceptable.

18
Q

When is lossless compression better?

A

When you need perfect data, like for text.

Lossless compression is preferred in scenarios where fidelity is crucial.

19
Q

When is lossy compression better?

A

When a smaller size is more important, like for videos or photos.

This is often the case in streaming media applications.