Question
CISP 1020 - Numeric Conversion Assignment 1. Find the integer (base 10 value) represented by the following 8 bit binary numbers 00010010 10001011 in each
CISP 1020 - Numeric Conversion Assignment
1. Find the integer (base 10 value) represented by the following 8 bit binary numbers
00010010 10001011
in each of the following formats:
a. unsigned notation 18/139 b. sign magnitude notation 18/-139
c. signed notation (2's complement) 18/-119 d. bias notation 18/-119
2. Find the 16-bit two's complement integer representation for the following decimal numbers:
a. 5280 00010100 10100000 b. - 2048 11111000 0000000
3. Convert the following real decimal number to its binary equivalent. Provide the sign, the exponent and the mantissa of the base 2 number and show how it would be stored in 32 bit IEEE format in the machine.
12.8125 ,1001101 00000000 00000000
4. The following binary number represents the IEEE floating point value as stored in a 32 bit location. Unpack it and tell what the real decimal number represented is:
0100 0001 0000 1100 0000 0000 0000 , 4.375
5. Given the following array declarations and address information:
int A_ary[30]; double B_ary[2][4];
Assume that the base address (b) for each array is 800016 Remember that int types use 4 bytes and double types use 8 bytes
a. What would be the memory address of element A_ary[12]?
800064
b. What would be the memory address of element B_ary[1][2]?
800164
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