question archive COSC 1336 – Fundamentals of Programming Exam 3 – Lab Section (40 Points) Grade Distribution 20% of the grade is programming styles • proper variable names • use of functions • readability • comments/documentation 80% - logic, proper output

COSC 1336 – Fundamentals of Programming Exam 3 – Lab Section (40 Points) Grade Distribution 20% of the grade is programming styles • proper variable names • use of functions • readability • comments/documentation 80% - logic, proper output

Subject:Computer SciencePrice:12.89 Bought3

COSC 1336 – Fundamentals of Programming Exam 3 – Lab Section (40 Points) Grade Distribution 20% of the grade is programming styles • proper variable names • use of functions • readability • comments/documentation 80% - logic, proper output. Syntax, semantics, run time Input Data For each student, the following data will be input: • Student name • Test 1 (an integer value) • Test 2 (an integer value) • Test 3 (an integer value) Validation Tests are graded on a 100-point scale with a 10-point bonus question. So a valid test score should be 0 through 110. Processing Your program should work for any number of students. • When the program starts, it should ask the user for the number of students to be processed. • Function to input the student name/score pairs and store them. Input validation: the score must be between 0 and 110, inclusive. • Function to sort the array on the score member in ascending (increasing) order. • Function that calculates the average of the scores. • Function that displays a neat table of student name/score pairs in sorted order. Include appropriate column heading for your table. Following the table, display the average score with appropriate label. • The score is the average of the 3 test scores Page 1 of 2 COSC 1336 – Fundamentals of Programming Exam 3 – Lab Section (40 Points) SAMPLE RUN (User entry is in BOLD) User’s input How many do you have 3 Student #1 Enter the name Jim Smith Enter grade for test 1: 75 Enter grade for test 2: 79 Enter grade for test 3: 77 Student #2 Enter the name Victor Montero Enter grade for test 1: 81 Enter grade for test 2: 90 Enter grade for test 3: 89 Student #3 Enter the name Christa Kim Enter grade for test 1: 88 Enter grade for test 2: 80 Enter grade for test 3: 92 Sample Output Name Scores Average Letter Grade Christa Kim 80, 88, 92 86.7 B Jim Smith 75, 77, 79 77.0 C Victor Montero 81, 89, 90 86.7 B

Option 1

Low Cost Option
Download this past answer in few clicks

12.89 USD

PURCHASE SOLUTION

Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

rated 5 stars

Purchased 3 times

Completion Status 100%