Contents

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

b

How many types of integer datatype?
a) one  
b) two 
c) three
d) four

c

Explanation: int, short int, long int



What is the range of int datatype?
a) -215 to 215-1             
b) -215 to 215-2
c) -215 to 215                 
d) none of these

a

What does MSB stand for?
a) most suitable bit      
b) most significant bit
c) more suitable bit                  
d) more significant bit

b

How many bytes are required for long int datatype in declaration?
a) 1 byte                                  
b) 2 bytes
c) 4 bytes                    
d) 5 bytes

c

What is the range of long int datatype?
a) -231 to 231-1             
b) -231 to 231-2
c) -231 to 231                 
d) none of these

a