ECE 2060 Midterm 1 review
with complete verified
solutions
Value of B in hexadecimal - answer 11
Value of F in hexadecimal - answer 15
Overflow - answer When adding two positive numbers and getting a
negative result, or adding two negative numbers and getting a
positive result.
Can only happen when both numbers are the same sign!
Is this number positive or negative in binary 6-bit? 100101 - answer
negative, 1 is in front
Is this number positive or negative in binary 6-bit? 001101 - answer
positive, 0 is in front
Finding 2's Complement - answer 1.) Leave 0's as 0, until you reach
the first 1
2.) Keep the first 1, and x amount of 0's before the first one
3.) Complement the rest of the values after the kept 1
Ex :
+5 in 4-bit = 0101
*keep the 1 at the on the right*
-5 in 4-bit = 1011
, Finding 1's Complement - answer Full complement to the binary
+5 in 4-bit = 0101
*flip* the 1's and 0's*
-5 in 4-bit = 1010
AND operation symbol - answer Ex : AB (no space in between)
OR operation symbol - answer Ex : A + B (plus symbol in-between)
NOR operation symbol - answer Ex : (A + B)' (also ' could be
replaced as a line above)
NAND operation symbol - answer Ex: (AB)' (also ' could be replaced
with a line above)
decimal magnitude - answer The absolute value of the binary
number
ex: 0010110 2's = |22| = 22
ex: 1100111 1's = |-24| = 24
*(be aware it could be either 1's or 2's complement)*
NOT operation symbol - answer Ex: A' or A(with line above)
Represented as a inverter on a circuit
Inverter (in circuit) - answer A NOT operation
Order of operations in circuit equations - answer 1. Parentheses
2. Inversion
with complete verified
solutions
Value of B in hexadecimal - answer 11
Value of F in hexadecimal - answer 15
Overflow - answer When adding two positive numbers and getting a
negative result, or adding two negative numbers and getting a
positive result.
Can only happen when both numbers are the same sign!
Is this number positive or negative in binary 6-bit? 100101 - answer
negative, 1 is in front
Is this number positive or negative in binary 6-bit? 001101 - answer
positive, 0 is in front
Finding 2's Complement - answer 1.) Leave 0's as 0, until you reach
the first 1
2.) Keep the first 1, and x amount of 0's before the first one
3.) Complement the rest of the values after the kept 1
Ex :
+5 in 4-bit = 0101
*keep the 1 at the on the right*
-5 in 4-bit = 1011
, Finding 1's Complement - answer Full complement to the binary
+5 in 4-bit = 0101
*flip* the 1's and 0's*
-5 in 4-bit = 1010
AND operation symbol - answer Ex : AB (no space in between)
OR operation symbol - answer Ex : A + B (plus symbol in-between)
NOR operation symbol - answer Ex : (A + B)' (also ' could be
replaced as a line above)
NAND operation symbol - answer Ex: (AB)' (also ' could be replaced
with a line above)
decimal magnitude - answer The absolute value of the binary
number
ex: 0010110 2's = |22| = 22
ex: 1100111 1's = |-24| = 24
*(be aware it could be either 1's or 2's complement)*
NOT operation symbol - answer Ex: A' or A(with line above)
Represented as a inverter on a circuit
Inverter (in circuit) - answer A NOT operation
Order of operations in circuit equations - answer 1. Parentheses
2. Inversion