Multiple choice
(Not rated)
(Not rated)
1. Which Looping statement is best if the number of iterations is know?
a. if/Else
b. For
c. While
d. Do/While
2. What is the value stored I variable C, after the execution of the following statement?
Int a=5, b=2 c:
C= ++a /b +5:
a. 7.5
b. 8
c. 7
d. 0
3. What is the result of 5 %7?
a. 0
b. 2
c. 5
d. 7
4. What is the value of data after the following codes executes?
Unsigned char data = 0xA5:
Data = data & 0xF0:
a. 0xA0
b. 0xF0
c. 0xF5
d. 0x5A
12 years ago
A+ Answers
NOT RATED
Purchase the answer to view it

- 2.doc