subject
Engineering, 21.11.2019 03:31 monica1400

The local driver's license office has asked you to write aprogram that grades the written portion of driver's license exam. the exam has 20 multiple choice questions. here are the correctanswers:
1. b 6.a 11.b 16. c
2. d 7.b 12.c 17. c
3. a 8.a 13.d 18. b
4. a 9.c 14.a 19. d
5. c 10.d 15.d 20. a
your program should store the correct answers shown above inan array. it should ask the user to enter the student's answers foreach of the 20 questions, and the answers should be stored inanother array. after the student's answers have been entered, theprogram should display a message indicating whether the studentpassed or failed the exam. (a student must correctly answer 15 ofthe 20 questions to pass the exam.)
it should then display the total number of correctly answeredquestions, the total number of incorrectly answered questions, anda list showing the questions numbers of the incorrectly answeredquestions.
input validations: only accept the letters a, b, c, or das answers.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
question
Engineering, 04.07.2019 18:20
Find the minimum film thickness for a journal bearing with the data below. shaft diameter, d-50 mm, clearance ratio, cdratio? 0.001, shaft speed, n 2000 rpm; bearing length. i 200 mm; eccentricity ration, ? -0.55. ( note, cdratio-ca/d) the minimum film thickness is um
Answers: 2
question
Engineering, 04.07.2019 18:20
Apiston-cylinder device contains 0.1 m3 of liquid water and 0.9 m3 of water vapor in equilibrium at 800 kpa. heat is transferred at constant pressure until the temperature of water reaches 350 °c. determine (a) the quality of water at the initial state (b) the work associated with this process, (c) the heat associated with this process.
Answers: 2
You know the right answer?
The local driver's license office has asked you to write aprogram that grades the written portion of...
Questions
question
Mathematics, 27.08.2021 05:40
question
Biology, 27.08.2021 05:40
Questions on the website: 13722367