CCSB163 Final - Mar 2007.pdf - MetaLab - Universiti Tenaga Nasional
CCSB163 Final - Mar 2007.pdf - MetaLab - Universiti Tenaga Nasional
CCSB163 Final - Mar 2007.pdf - MetaLab - Universiti Tenaga Nasional
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
11. What is the final value of x after performing the following operations<br />
int x = 31;<br />
double y = 9;<br />
double z = 14;<br />
y = x / z;<br />
x = 5.5 * y;<br />
(a) 12.18<br />
(b) 11<br />
(c) 12<br />
(d) 11.5<br />
12. Which of the following is not specified by the for loop below<br />
for ( c = 1; c