Contents

The datatype which stores only floating-point values is called…….
a) character datatype    
b) integer datatype
c) floating point datatype       
d) Boolean datatype

c

How many types of floating-point datatype?
a) one  
b) two 
c) three
d) four

c

Explanation: float, double, long double



Which of the following is correct range of float datatype?
a) 3.4x10-38 to 3.4x1038 
b) 3.2x10-38 to 3.2x1038
c) 3.4x10-35 to 3.4x1035            
d) 3.2x10-35 to 3.4x1035

a

How many bytes are required for double float datatype?
a) 1 byte                                  
b) 8 bytes
c) 4 bytes                    
d) 5 bytes

b

Which of the following is correct range of double float datatype?
a) -3.4x1038 to 3.4x1038                         
b) 1.7x10-308 to 1.7x10308
c) -1.7x10-4932 to 1.7x104932      
d) none of these

b

How many bytes are required for long double float datatype?
a) 1 byte                                  
b) 8 bytes
c) 10 bytes                  
d) 9 bytes

c