CODE RIDER | Module : 6 Floats and ints once again | CODE RIDERS MODULE: 6 Test | ADVANCE PROGRAMING IN CISCO C CODE RIDER MODULE 6 TEST ANSWER - Learn with Ashiso

Come here to Learn Everything.

Breaking

Home Top Ad

Post Top Ad

Thursday, June 17, 2021

CODE RIDER | Module : 6 Floats and ints once again | CODE RIDERS MODULE: 6 Test | ADVANCE PROGRAMING IN CISCO C CODE RIDER MODULE 6 TEST ANSWER



 Q. Dividing a non- zero   float  value by a zeroed   float  value products:

Ans:-  a  +inf   result 

Q. Ther rounding mode may be changed by means of the:       

Ans:-   fesetround ( )   function

Q. Assuming that the  STDC   FENV_ACCESS   is set to   ON  , the result of the following expression showing five digits after the decimal point: 



Ans:-  depends upon the rounding mode currently set. 

Q. If you put a pin in a random place of a number line, the distance to the closest presentable   float   value is:

Ans:- not greater than half of the ULP

Q. A normalized   float   value:

Ans:- has the highest significand's bit set to   1

Q. To output a 32- bit unsigned  int  value as a hex number, some would use the following portable specifier:

Ans:- PRIx32

Q. The GMP library uses the   mpz_t   tor to represent:

Ans:- multi- precision integer values

Q. Dividing a zeroed  float   value by a zeroed  float  value produces:

Ans:-   a   NaN  result

Q. Ther longest part of a    float   value is it's :

Ans:-   significand 

Q. Ther symbol named    PRIdMAX    is designed to be used by:

Ans:-  the    scanf ( ) function 

Q. Assuming that the   x   variable is of type     float   , the following conditions:



Ans:- is unpredictable

Q. The absolute value of numbers of retrievable in a 32-bit  IEEE 754   number come from the range:

Ans:- 1.175494e-38  . .  3.402823e+38

Q. There length of double tye variable : 

Ans:- is defined by the IEEE 754 standard

Q. Removing of   f   from both literal used in following expression: 



Ans:- will change the value printed to   stdout


Q. Ther number of significant digits stored in a fluid value:

Ans:- depends on the values precision

Q. The type named   int_fast8_ t  is designed to choose ther fastest. 

Ans:- of all  possible integer arithmetic impressions

Q. The three  parts of a  float   value are deployed in the following order: 

Ans:- sign,crxponent, sugnificand

Q. The  Fe_TOWARDZERO tounding model can make:

Ans:- positive no bigger and negative numbers smaller 

Q. The difference between   doubles  and floats lies in the fact that:

Ans:- doubles  have a wider range and offer better precision 

Q. The function  mpf_set ( ) is used by the GMP library to copy:

Ans:- a multi-precision  float   variable to another variable

No comments:

Post a Comment

Post Bottom Ad

Pages