Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Answer the following multiple choice questions (5 points -1 point each). Circle

ID: 3574462 • Letter: A

Question

Answer the following multiple choice questions (5 points -1 point each). Circle the correct answer. Which of these specifiers can not be used to write or read floating point values? %f %1f %1d %G How would you check if the values stored in variables x, y, and z were identical? X = y = z x = y & x = z x==y== z x== y && y== z What function is used to read values or inputs from the user at a keyboard? f scan f scan s scan f scan f Which of these is the correct format to write expression 2x^10 in C? 2 *pow(x, 1theta) pow (2 *x, 1theta) 2 *x^1theta 2 * pow(x^1theta) Which of the following will always execute the body of the loop at least once? While do - while if - else for

Explanation / Answer

which of these specifiers can not be used to write or read floating point values?
Ans:
d)
Explanation:
these are real data types:
float %f
double %lf
long double %Lf
2)how would you check if the value stores in variable x,y,and zwere identical ?
ANS)
b)x=y and x=z
Example:
x=10 means x value is 10 in store memory
3)what would you check if the values or inputs from the user at a keyboared ?
ANS)
d)scanf
using scanf to read the data form keyboad.
4)which of the following is the correct formate to write expression 2x10 in c ?
ANS)
d)
5)which of the following will always executed the body of the loop at least once?
ANS:
b.do-while
do-while loop at least execute one time of body ..