1-4) For each of the following, assume the machine used is a 5 bit machine. Complete the table by identifying (a) how the decimal value on the left would be stored in 5 bits using a 2s complement representation, and (b) what the equivalent decimal value is for the bit pattern in part (a). number -17 +28 -54 +96 (a) 2's Complement (b) Decimal Equivalent 5) What is the resulting bit pattern when the unsigned 10 bit binary value 1001101101 is stored in an 8 bit container?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
1-4) For each of the following, assume the machine used is a 5 bit machine. Complete the table by
identifying (a) how the decimal value on the left would be stored in 5 bits using a 2s complement
representation, and (b) what the equivalent decimal value is for the bit pattern in part (a).
number
-17
+28
-54
+96
(a)
2's Complement
(b)
Decimal Equivalent
5) What is the resulting bit pattern when the unsigned 10 bit binary value 1001101101 is
stored in an 8 bit container?
Name:
6) What is the resulting bit pattern when the signed 10 bit binary value 1110101011 is
stored in an 8 bit container?
7) What is the resulting bit pattern when the unsigned 8 bit binary value 1101001 is stored
in a 10 bit container?
Transcribed Image Text:1-4) For each of the following, assume the machine used is a 5 bit machine. Complete the table by identifying (a) how the decimal value on the left would be stored in 5 bits using a 2s complement representation, and (b) what the equivalent decimal value is for the bit pattern in part (a). number -17 +28 -54 +96 (a) 2's Complement (b) Decimal Equivalent 5) What is the resulting bit pattern when the unsigned 10 bit binary value 1001101101 is stored in an 8 bit container? Name: 6) What is the resulting bit pattern when the signed 10 bit binary value 1110101011 is stored in an 8 bit container? 7) What is the resulting bit pattern when the unsigned 8 bit binary value 1101001 is stored in a 10 bit container?
8) What is the resulting bit pattern when the signed 8 bit binary value 1001011 is stored in
a 10 bit container?
9) What is the resulting bit pattern when the signed 8 bit binary value 01101110 is stored
in a 10 bit container?
Name:
For problems 10 through 21, assume a 6 bit machine and that
A = 101010, B = 001001, C = 110000, D = 111100 and E = 001011
Also NOTE! "signed" means a 2's complement representation
10) (a) Show work to find unsigned A+ B. (b) What is the decimal equivalent of the
answer?
11) (a) Show work to find unsigned B + D. (b) What is the decimal equivalent of the
answer?
12)
(a) Show work to find signed B + D. (b) What is the decimal equivalent of the answer?
Transcribed Image Text:8) What is the resulting bit pattern when the signed 8 bit binary value 1001011 is stored in a 10 bit container? 9) What is the resulting bit pattern when the signed 8 bit binary value 01101110 is stored in a 10 bit container? Name: For problems 10 through 21, assume a 6 bit machine and that A = 101010, B = 001001, C = 110000, D = 111100 and E = 001011 Also NOTE! "signed" means a 2's complement representation 10) (a) Show work to find unsigned A+ B. (b) What is the decimal equivalent of the answer? 11) (a) Show work to find unsigned B + D. (b) What is the decimal equivalent of the answer? 12) (a) Show work to find signed B + D. (b) What is the decimal equivalent of the answer?
Expert Solution
Step 1

“Since you have posted a question with multiple sub-parts, we will solve first three subparts for you. To get remaining sub-part solved please repost the complete question and 
mention the sub-parts to be solved.”.

2,s complement

Negative and positive numbers are represented in binary form using a two's complement number system. A power of two represents the weight of each bit, with the exception of the most significant bit, whose weight is the opposite of the corresponding power of two.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education