Contents

A name for group of cells in memory that can be used to store data is called
a) variable                  
b) constant
c) alphabet                  
d) all of these

a

Which of the following rules used for naming variables?
a) variable name can be small, capital, or digits 
b) cannot started with digits
c) distinctive character not allowed
d) all of these

d

Declaration and initialization of variables


The process of specifying its variable name and its data type is called……
a) initialization
b) declaration
c) specification
d) none of these

b



How many bytes are required for integer variable in declaration?
a) 1 byte                                  
b) 2 bytes
c) 4 bytes                    
d) 5 bytes


b

How many bytes are required for float variable in declaration?
a) 1 byte                                  
b) 2 bytes
c) 4 bytes                    
d) 5 bytes

c