1. Show the results of the following operations. Write your final answer in hexadecimals. [(AB)16 XOR ((CD)16 OR (97)16)] 2. Normalize the following binary floating-point numbers. a. (0.00011011)2 b. 27 x (101.000101)2 3. Store the result in an 8-bit memory location after the following operation on integers is complete in two's complement format. 126-213 4. Store-520 in a 16-bit memory location using: a. Sign-and-magnitude representation. b. Two's complement representation. 5. What is the result stored if the arithmetic left shift is applied to a binary pattern (11110001)2? Assuming a pattern is an integer in two's complement format, show if the operation was valid or not and why. 6. Retrieve what is stored as 10101101 in an unsigned representation.
1. Show the results of the following operations. Write your final answer in hexadecimals. [(AB)16 XOR ((CD)16 OR (97)16)] 2. Normalize the following binary floating-point numbers. a. (0.00011011)2 b. 27 x (101.000101)2 3. Store the result in an 8-bit memory location after the following operation on integers is complete in two's complement format. 126-213 4. Store-520 in a 16-bit memory location using: a. Sign-and-magnitude representation. b. Two's complement representation. 5. What is the result stored if the arithmetic left shift is applied to a binary pattern (11110001)2? Assuming a pattern is an integer in two's complement format, show if the operation was valid or not and why. 6. Retrieve what is stored as 10101101 in an unsigned representation.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter2: Problem Solving Using C++using
Section2.5: Variables And Declaration Statements
Problem 10E
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr