Question
please help me: Data Representations Topics covered: Base conversions, Binary, Hexadecimal, Binary Addition/multiplication, 2s Complement, Extended Precision, Floating Point encodings Task List (2): Task 1:
please help me:
Data Representations
Topics covered: Base conversions, Binary, Hexadecimal, Binary Addition/multiplication, 2s Complement, Extended Precision, Floating Point encodings
Task List (2):
Task 1: Answer the question.
What is the binary representation of 73?
Convert 111010102 to base 10.
Add 5210 and 3410 as unsigned integers in binary, show the result in binary.
Multiply 510 and 2410 as unsigned integers in binary, show the result in binary.
For your result in #4, convert your result to base 10.
What is the hex code for an integer which contains alternating 1s and 0s, starting with a 1?
What is the hex code for an integer where the most significant byte is all 1s, the next is all 1s, and next is all 0s, and the last is all 1s?
What is the hex code for the most positive int value in C/C++?
What is the hex code for the most negative int value in C/C++?
What is the 2s complement representation of 70 using 8 bits?
What is the 2s complement representation of -34 using 8 bits?
Add 28 and -9 using 2s complement using 8 bits.
Add -52 and -4 using 2s complement using 8 bits.
Perform 55 - 89 using 2s complement using 8 bits.
If you had the C code int a = 68, what shifting operation could be done to multiply a by 64 without using multiplication?
If you had the C code int a = 68, and you did a = a>>1 fifty times, what would be the value of a? Explain why.
If you had the C code int a = 68, and you did a = a<<1 fifty times, what would be the value of a? Explain why.
If you had the C code int a = -68, and you did a = a>>1 thirty three times, what would be the value of a? Explain why.
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