The 5-bit 2's complement of -12 is:

Digital Quiz 3

Quiz
•
Physics
•
University
•
Easy
Tanner Walston
Used 3+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
A.) 10100
B.) 11100
C.) 01100
D.) 00100
Answer explanation
16 8 4 2 1
1 0 1 0 0
- 16 + 4 = - 12
2.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
Assume the binary number 1001 is in sign-magnitude form. Its decimal value is:
A.) 1
B.) -1
C.) 9
D.) -7
Answer explanation
8 4 2 1
1 0 0 1
- 1
= -1
The MSB denotes the sign for the number
3.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
What range of decimal numbers can be represented in 4 bits in the sign magnitude system?
A.) -8 to +8
B.) -7 to +7
C.) 0 to 15
D.) None of the above
Answer explanation
1 1 1 1 = -7
0 1 1 1 = +7
4.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
What range of decimal numbers can be represented in 4 bits in the 2's complement system?
A.) -7 to +7
B.) -8 to +8
C.) -16 to +15
D.) -8 to +7
Answer explanation
1 0 0 0 = -8
0 1 1 1 = +7
5.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
Assuming the following two numbers are ALREADY in 2's complement, (0101, 1110). If you add them using the 2's complement system the sum is:
A.) 0011
B.) 10011
C.) Overflow
D.) None of the above
Answer explanation
0 1 0 1 + 1 1 1 0 = 1 0 0 1 1
drop MSB since we're only working with 4 bits
so answer is 0 0 1 1
6.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
Assuming the following two numbers are ALREADY in 2's complement, (0101, 0110). If you add them using the 2's complement system the sum is:
A.) 1011
B.) 0001
C.) Overflow
D.) None of the above
Answer explanation
0 1 0 1 + 0 1 1 0 = 1 0 1 1
Two positive numbers cannot equal a negative when added. The positive number 11 cannot be represented with this many bits so the answer is
Overflow
7.
MULTIPLE CHOICE QUESTION
15 mins • 2 pts
C5h + AFh = _____
A.) 174h
B.) 1CFh
C.) 1A4h
D.) 14Ah
Answer explanation
Create a free account and access millions of resources
Similar Resources on Wayground
37 questions
Acceleration Concept

Quiz
•
9th Grade - University
37 questions
Identifying If An Object Is Accelerating

Quiz
•
9th Grade - University
37 questions
Acceleration Questions

Quiz
•
9th Grade - University
40 questions
Light and Optics

Quiz
•
University
40 questions
ĐỀ THI HỌC KỲ III - KTN - 03

Quiz
•
University
40 questions
Electrostatics Electric Fields and Coulomb's Law

Quiz
•
University
44 questions
Ecuación de Difusión - Soluciones

Quiz
•
University - Professi...
41 questions
SIMULADOR TRANSFORMAR 1

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade