Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

to computer. All answers TOl FaiTd II Instructions: Open book and access shown on the question sheets. Each answer (program) to a question in Part

image text in transcribed
to computer. All answers TOl FaiTd II Instructions: Open book and access shown on the question sheets. Each answer (program) to a question in Part III mu submitted in a separate file to the Lab Test drop box Part I- Multiple Choice Questions Answer the following multiple choice questions (20 points -4 point each). Circle th correct answer. 1. Which of these specifiers can not be used to write or read floating point value a. %f c. %ld d, %G 2. How would you check if the values stored in variables x, y, and z were identic a.yz b. x = y & x = z 3. What function is used to read values or inputs from the user at a keyboard? a. fscanf C.sscanf b. scan d)scanf 4. Which of these is the correct format to write expression 2x0 in C? a. 2"pow(x, 10) C. 2"X^10 b. pow(2*x, 10) d. 2*pow(xA10) 5. Which of the following will always execute the body of the loop at least once a.while b.do - while d.for C.if - else

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started