Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Answer the following questions: a. What is the largest positive number one can represent in a 12-bit 2's complement code? Write your result in

image text in transcribedimage text in transcribedimage text in transcribed

4. Answer the following questions: a. What is the largest positive number one can represent in a 12-bit 2's complement code? Write your result in binary and decimal. b. What is the greatest magnitude negative number one can represent in a 12-bit 2's complement code? Write your result in binary and decimal. c. What is the largest positive number one can represent in n-bit 2's complement code? d. What is the greatest magnitude negative number one can represent in n-bit 2's complement code? 5. Using 7 bits to represent each number, write the representations of 23 and -23 in signed magnitude, l's complement and 2's complement integers. Signed Magnitude 1's Complement 2's Complement 23 -23 2. Convert the following 2's complement binary numbers to decimal. a. 0110 b. 1101 c. 01101111 d. 1101101100011100 3. Convert the following decimal numbers to binary 4-bit two's complement representations or explain why the conversion is not possible. a. 3 b.-5 4. Answer the following questions: a. What is the largest positive number one can represent in a 12-bit 2's complement code? Write your result in binary and decimal. b. What is the greatest magnitude negative number one can represent in a 12-bit 2's complement code? Write your result in binary and decimal. c. What is the largest positive number one can represent in n-bit 2's complement code? d. What is the greatest magnitude negative number one can represent in n-bit 2's complement code? 5. Using 7 bits to represent each number, write the representations of 23 and -23 in signed magnitude, l's complement and 2's complement integers. Signed Magnitude 1's Complement 2's Complement 23 -23

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions