Question: . Explain the term masking. How is it useful for data representation? Explain the concept using an example. [ 5 marks ] Q 2 .
Explain the term masking. How is it useful for data representation? Explain the concept using an example. marks
Q marks
a For a floatingpoint format with a k bit exponent and an n bit fraction, give a formula for the smallest positive integer that cannot be represented exactly because it would require an n bit fraction to be exact
b What is the numeric value of this integer for singleprecision format k n
Q Write a C code to check for even or odd number using bitwise operators. marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
