ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 23 May 2017 My Price 9.00

A large number of student

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 

  • ⇒  the correct answers to the exam questions; 
  • ⇒  the actual student responses (assume that there can be no more than 500 students). The responses are contained in a file; we will supply a sample file for you to use. Note that for every exam question there are precisely 6 possible answers: A, B, C, D, E and blank. The last case is to allow the possibility of a student not responding at all to a question.

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 

  • ⇒  a complete listing of the students' scores (the number of correct answers, incorrect answers, and blank answers); these may be given by student number (as illustrated below). 
  • ⇒  a second listing, like the one shown below, which illustrates how the group as a whole answered each question on the examination. Here is how the output from your program should appear when executed: 
       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.

Answers

(11)
Status NEW Posted 23 May 2017 05:05 AM My Price 9.00

-----------

Attachments

file 1495518970-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)