Course 1.1: Binary Flashcards

(18 cards)

1
Q

The decimal system (base-10) is the human counting system that uses digits 0 through 9.

A

The decimal system (base-10) is the human counting system that uses digits 0 through 9.

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

What is the binary system?

A

The binary system (base-2) is the computer counting system that uses only 0 and 1.

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

Why do computers use binary?

A

Because binary can represent electrical states:

1 = On / Voltage present

0 = Off / No voltage

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

How many values can one byte represent?

A

256 values total (2⁸ = 256), including 0.

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

What is the maximum decimal value one byte can represent?

A

255 (because counting starts at 0, so values range from 0 to 255).

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

What are the binary place values from right to left for 8 bits?

A

128 — 64 — 32 — 16 — 8 — 4 — 2 — 1

Each position is double the value of the one to its right.

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

How do you convert binary to decimal?

A

Add the place values where the binary digit is 1.

Example:
01101000 = 64 + 32 + 8 = 104

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

What does a binary 1 represent in place value conversion?

A

The value of that position is included in the total.

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

What does a binary 0 represent in place value conversion?

A

The value of that position is not included.

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

What is 00001010 in decimal?

A

10
(8 + 2 = 10)

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

What is 01101000 in decimal?

A

104
(64 + 32 + 8 = 104)

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

What is machine language?

A

Machine language is the lowest-level programming language made of binary instructions that computers can directly execute.

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

How does binary relate to text representation?

A

Characters are assigned binary values using character encoding tables like ASCII and UTF-8.

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

What are the binary place values for an 8-bit byte?

A

128 — 64 — 32 — 16 — 8 — 4 — 2 — 1

Each value is half the previous value from left to right.

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

How do you convert binary to decimal?

A

Add the place values where the binary digit is 1.

Example:
10011101 = 128 + 16 + 8 + 4 + 1 = 157

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

Convert binary 00010011 to decimal.

A

19
(16 + 2 + 1 = 19)

17
Q

How do you convert decimal to binary?

A

Select place values that add up to the decimal number and place 1s in those positions, otherwise use 0s.

18
Q

Convert decimal 179 to binary.

A

10110011
(128 + 32 + 16 + 2 + 1 = 179)