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, 03.07.2019 14:10
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 19:10
What is creep? what is stress relaxation?
Answers: 1
question
Engineering, 06.07.2019 02:30
Air (c-1.006 kj/kg.k, r-0.287 kj/kg.k) enters a nozzle steadily at 280 kpa and 77°c with a velocity of 50 m/s and exits at 85 kpa and 320 m/s. the heat losses from the nozzle to the surrounding medium at 20°c are estimated to be 3.2 kj/kg. determine (a) the exit temperature and (b) the total entropy change for this process. solve this problem using constant specific heats.
Answers: 1
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, 21.04.2020 03:54
question
Mathematics, 21.04.2020 03:55
Questions on the website: 13722367