Question: #1466

ISM 6258 HW 1 Complete Solution

ISM 6258 HW 1

Program Description
Develop a Console Application that grades a multiple choice test with 10 questions taken by 8 students. The applications finds each student’s letter grade based on that test, and then displays:
(i) a table listing names, scores and grade for all students, (ii) median of the test scores, and (iii) a histogram showing the number of students who got A, B, C, D, or F, etc. on the screen.
Suppose the student’s names, their answers to the questions, the answer key and the score for each question are as given below.
Student’s Answers to the Questions
Jack
A B A C C D
E E A D
John
D B A B C A
E E A D
Jill
E D D A C B
E E A D
Mary
C B A E D C
E E A D
Peter
A B D C C D
E E A D
Bob
B B E C C D
E E A D
Nancy
B B A C C D
E E A D
Pat
E B E C C D
E E A D
Key
D B D C C D
A E A D
Score
2 2
5 3 3 4
4
4
6 7
The application should do the following:


1. create one two dimensional array to store the student’s answer and at least three different one dimensional arrays to store the student names, the answer key and the scores for each question, and initialize them to the values given above.
Note that we may change the student responses, the answer key and/or the scores for the questions when we test your application. So, write your code in such a way that it will work for any values.


2. compute the total score for each student and determine the grade the student earns given the following grading scheme: A: [90%,100%], B: [80%, 90%), C: [70%, 80%), D: [60%, 70%), F: <60%. Note that B:[80, 90) means a student gets a B if his score is >= 80%, but strictly less than 90%.


3. compute the median of the test scores. You must use the Array.sort() method that is part of
.NET Framework Class Library to sort an array instead of writing code of sorting yourself.
4. display all the information as shown in the sample output.


Sample Output
Note: You do not have to have the same amount of spacing as shown in the sample output above. But make sure that the output is neatly formatted, the values in the columns in the table of student information should be left aligned and all the decimal values should be displayed with exactly two digits after the decimal point.

Instructions for Submission


1. Create a ZIP file containing all the subdirectories starting with the project root directory. The zip file must be named A1_yourLastNameYourFirstName.zip
2. Submit the zip file as an attachment using the E-Learning Assignment tool.
Note that not following the submission instructions exactly will result in loss of points.


Grading


Following criteria will be used to grade the program
1. Successful compilation without any errors or warnings; if the code does not compile as it is, you get a 0 on the assignment. So my suggestion would be to attempt the problem in steps. As soon as you have a version which is compiling and partially working, save a copy of it before you attempt to add features to this code. This will make sure that you always have a copy of code that compiles and correctly implements at least some parts of the assignment which you can submit and get partial credit.
2. Correctness of the program
3. Code Readability (spacing, indentation, etc).
4. The TA/instructor may ask you to come and explain your design/code. The ability to explain your design/code and its correctness may carry some points.
Academic Integrity: This is an individual assignment. Plagiarism and Cheating of
any kind on the assignment will not be tolerated. It may result in an “F’ for this assignment or depending on the severity of the case, may lead to an “F” for the entire course. It may be subject to appropriate referral to the Office of Student Judicial Affairs for further action. For more information, consult the Dean of Students Academic Honesty Student Guide at http://www.dso.ufl.edu/judicial/procedures/academicguide.php.
All programming assignments are to be done individually. We will use special software to verify that your work is completely distinct from that of your classmates and also from information on the internet. A list covering some examples of actions which break the honor code is given below:
• Copying, submitting, or viewing the work of another student.
• Submitting work that is copied from information posted on the Internet or any other source
• Working in any capacity with or helping student(s)
• Providing your own work or transferring the work of someone else to another student.

Solution: #1447

ISM 6258 HW 1 Complete Solution

This Tutorial is rated A+ p...

Tutormaster
Rating: A+ Purchased: 11 x Posted By: Macgyver
Comments
Posted by: Macgyver

Online Users