Question
I need help with my Computer Scirnce homework 1. Show the representation of 20 ( assuming 8 - bit registers ) using: (a) signed -
I need help with my Computer Scirnce homework
1. Show the representation of 20 ( assuming 8 - bit registers ) using:
(a) signed - magnitude representation
(b) signed - 1's complement
(c) twos complement
(d) excess - 127
2. mGiven the 8 - bit binary number: 1 0 0 1 1 0 1 1
What decimal number does this represent if the computer uses:
(a) signed - magnitude representation
(b) signed - 1's complement
(c) signed - 2's complement
4. Assuming 2s complement 8 - bit representation, consider the following:
+70 = 01000110 2
+80 = 01010000 2
= 10010110 2
Is this correct? Why or why not?
5. Assume we are using the Simple Model for floating - point representation as ( the representation uses a 14 - bit format, 5 bits for the exponent with a bias of 16 , a normalized mantissa of 8 bits, and a single sign bit for the number). Show how the computer would represent the numbers 12.125 and 0.675 using this floating - point format.
12.125 =
single sign bit ( 1 bit ) | exponent with a bias of 16 ( 5 bits ) | normalized mantissa ( 8 bits ) |
|
|
|
0.675 =
single sign bit ( 1 bit ) | exponent with a bias of 16 ( 5 bits ) | normalized mantissa ( 8 bits ) |
|
|
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started