Student ID Szudent Name Please answer each of the following questions: O1: Mark
ID: 3916549 • Letter: S
Question
Student ID Szudent Name Please answer each of the following questions: O1: Mark the following statements as true or false. (6 mark). b. It is possible that the body of a do while loop may not execute at all e. Every if statement must have a corresponding else. d. In C+t, both>- and !-are logical operators The statement cin >> x >> y; requires the input values for x and y. o The statement cin x ys requires the inpur vatues for x andy f It is possible that the body of a while loop may not execute at all. C+ compiler does not ignore comments statements in any given C++ program h. An identifier can be any sequence of digits and letters. i. The data type bool has only two values: true and false. j. An output stream is a stream from destination to a computer k. int a-5 coutExplanation / Answer
B.FALSE
C. FALSE
D. FALSE
E.
F. TRUE
G. FALSE
H. FALSE
I. TRUE
J. FALSE
K. FALSE
L. TRUE
3) ? .
? .
? .
? .
? .
4) The number is odd