The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
A large number of student responses to questions on a multiple-choice examination are to be processed by a program that you will write. The input to your program will consist of
Since the student answers are to be read in from a file, you should “echo” the data on to the computer display screen as it is being read. You should assume that the user of your program knows nothing about how computers work, so your program needs to be friendly and easy to operate.
The output from your program will consist of
Welcome to Exam Analysis. Let’s begin ... Please type the correct answers to the exam questions,one right after the other: ABCEDBACEDWhat is the name of the file containing each student's responses to the 10 questions? exams.dat
Student #1's responses: ABDEBBAC D Student #2's responses: ABCE CACED Student #3's responses: DCE AEDC Student #4's responses: ABCEB ACED Student #5's responses: BBCEDBACED Student #6's responses: DBCE CACED Student #7's responses: ABCE CA E Student #8's responses: BBE CACED Student #9's responses: ABCEDBACED We have reached “end of file!”
Thank you for the data on 9 students. Here's the analysis:
Student # Correct Incorrect Blank~~~~~~~~~ ~~~~~~~ ~~~~~~~~~ ~~~~~1721 2811 ............
... ... ... { the whole table should be filled in} ............
9 10 0 0
QUESTION ANALYSIS (* marks the correct response) ~~~~~~~~~~~~~~~~~
Question #1:
A* B C D E Blank 421101
44.4% 22.2% 11.1% 11.1% 0.0% 11.1%
Question #2:
A B* C D E Blank ...
...
Be sure to test your program out on the sample data provided above that corresponds to an exam having 10 multiple-choice questions with just 9 students taking the exam.
etc. Again, be sure to fill in the entire table for all 10 questions
But remember — your program should be general enough that it would work with an exam having any number (up to 100) different multiple-choice questions and with up to 500 different students taking the exam.
-----------