Notes 4 Flashcards

1
Q

Decimal

A

0-9 have numeric meaning
base 10
327 = 3x10^2 + 2x10^1 + 7x10^0

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

Binary

A

only 0s and 1s have numeric meaning

base 2 system

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

5 in binary

A

0101

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

nibble

A

four bits

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

byte

A

8 bits

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

hexadecimal

A

0-F have numeric meaning
0-9 followed by A-F

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

conversion from binary to decimal and vice versa

A

1 hex digit = 4 binary digits

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

what is 01001100 in hexadecimal and decimal

A

hexadecimal:
0100 = 4
1100 = C
so 01001100 = 4C

decimal:
4+8+64 = 76

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

half adder

A

adds two single bits
has a sum and a c out

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

truth table of a half adder

A

A B | Cout Sum
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0

Cout = AB
Sum - A xor B

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

Block Diagrams

A

top and left are inputs
right is output
bottom can be either but never both

practice drawing some

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

full adder

A

adds three bits
takes a A B and a C in and outputs a Cout and Sim

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

full adder truth table

A

A B Cin | cout sum
0 0 0 0 0
0 0 1 0 1
0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1

sum = A xor B xor C
cout = AC + BC + AB

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

practice drawing a full adder from two half adders and the block diagram for a full adder

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

how to make an adder for two fout -bit number

A

4 bit ripple carry adder
Cin 0
Practice drawing it and the block diagram

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

Bus notation

A

4
A ————–/—————

represents four bits from A

17
Q

how do you know if a number is negative as a signed number

A

begins with a 1

18
Q

how to make a number negative

A

flips the bits and add a 1

19
Q

subtracting is adding a ________ number

A

negative

20
Q

adder -subtracter block diagram

A

practice drawing