Computer logic and organization exam II

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards
Binary (Base 2)
Uses digits 0 and 1. Example: 1011₂ = 11₁₀.
2
New cards
Decimal (Base 10)
Uses digits 0-9. Example: 245₁₀ = 245.
3
New cards
Hexadecimal (Base 16)
Uses digits 0-9 and A-F. Example: 3F₁₆ = 63₁₀.
4
New cards
Octal (Base 8)
Uses digits 0-7. Example: 57₈ = 47₁₀.
5
New cards
Binary to Decimal Conversion
Multiply each bit by 2^position, starting from the right. Example: 1101₂ = (1×2³) + (1×2²) + (0×2¹) + (1×2⁰) = 13₁₀.
6
New cards
Decimal to Binary Conversion
Divide the decimal number by 2, recording the remainders. Example: 13₁₀ → 1101₂.
7
New cards
Binary to Hexadecimal Conversion
Group bits in sets of 4 and convert. Example: 10101100₂ → A C₁₆.
8
New cards
Binary to Octal Conversion
Group bits in sets of 3 and convert. Example: 10101100₂ → 5 3 4₈.
9
New cards
Signed Magnitude Representation
First bit is the sign (0 = positive, 1 = negative). Example: +5 → 00000101, -5 → 10000101.
10
New cards
Two's Complement Representation
Write positive binary equivalent, invert all bits, and add 1 to the result. Example: -5 in two's complement: 5 = 00000101, Invert: 11111010, Add 1: 11111011.
11
New cards
AND Gate
1 if both A and B are 1.
12
New cards
OR Gate
1 if at least one input is 1.
13
New cards
NOT Gate
Flips input (0 ↔ 1).
14
New cards
XOR Gate
1 if inputs differ.
15
New cards
NAND Gate
0 only if both are 1.
16
New cards
NOR Gate
1 only if both are 0.
17
New cards
2-Variable K-map
AB \ CD with values for combinations of inputs.
18
New cards
Steps to Simplify Boolean Expressions
Group adjacent 1s in powers of 2 (1, 2, 4, 8...) and derive a simplified Boolean expression.
19
New cards
SR Latch (Set-Reset Latch)
Inputs: S (Set), R (Reset); Outputs: Q (Stored value), Q' (Complement).
20
New cards
Half-Adder
Adds two single-bit numbers with outputs: Sum (S) & Carry (C).
21
New cards
Full-Adder
Adds two bits plus a carry-in with outputs: Sum (S) & Carry-out (Cout).
22
New cards
Boolean Expression for Half-Adder
Sum = A ⊕ B; Carry = A * B.
23
New cards
Boolean Expression for Full-Adder
Sum = A ⊕ B ⊕ Cin; Cout = (A * B) + (Cin * (A ⊕ B)).