How to practice concept:floating-point

Attempt a question, record the concept and assumptions, then check the available answer. Rework mistakes after revising the relevant concepts. Topic tags can overlap; review the question context.

Questions 1–7 of 7. Imported answers require independent review unless marked reviewed.

Topic practice 7 questionsPage 1 of 1

Question 49

Open question
CSMSQ2 marksNeeds review
Three floating point numbers

,

, and

are stored in three registers

,

, and

, respectively in IEEE 754 single precision format as given below in hexadecimal:

, and

Which of the following option(s) is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 14

Open question
CSMCQ1 markNeeds review
The format of a single-precision floating-point number as per the IEEE 754 standard is:
Sign (1bit) | Exponent (8 bits) | Mantissa (23 bits)
Choose the largest floating-point number among the following options.
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 41

Open question
CSMCQ2 marksNeeds review
Consider three floating point numbers A, B and C stored in registers R_A, R_B and R_C, respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.
R_A = 0xC140000  R_B = 0x4210000  R_C = 0x4140000
Which one of the following is FALSE?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 4

Open question
CSMCQ1 markNeeds review
The format of the single-precision floating-point representation of a real number as per the IEEE 754 standard is as follows:
Diagram for Computer Science and Information Technology question 4

Which one of the following choices is correct with respect to the smallest normalized positive number represented using the standard?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 24

Open question
CSNAT1 markNeeds review
Consider the following representation of a number in IEEE 754 single-precision floating point format with a bias of 127.

Here

,

and

denote the sign, exponent and fraction components of the floating point representation.
The decimal value corresponding to the above representation (rounded to 2 decimal places) is ________.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 29

Open question
CSMCQ2 marksNeeds review
Consider three registers R1, R2, and R3 that store numbers in IEEE-754 single precision floating point format. Assume that R1 and R2 contain the values (in hexadecimal notation) 0x42200000 and 0xC120000, respectively.
If

, what is the value stored in R3?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 12

Open question
CSMCQ1 markNeeds review
Given the following binary number in 32-bit (single precision) IEEE-754 format:

The decimal value closest to this floating-point number is
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer