Contents

What is the value of x after the following statement? X=13/4; where float x;
a) 3.75  
b) 4.0     
c) 3.0     
d) 60

c

What is the value of x after the following statement? Int x; where x= 15/4;
a) 15      
b) 3                        
c) 4                        
d) 3.75

b

What is the value of x after the following statement? Int x; where x= 17%4;
a) 15      
b) 4                        
c) 1                        
d) 3.75

c

What is the value of expression? ((1+4+4)/(3*3) -(3+6))
a) -8       
b) 9                        
c) 12                      
d) 16

a

What is the value of expression? ((5+1)/((2+2+2)/2))
a) 2                        
b) 6                        
c) 12                      
d) 9

a

What is the value of expression? (1*2*3*4+5)
a) 29
b) 30                      
c) 33                      
d) 40

a