
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:A university is analysing students' academic performance in a course using an application. As
shown below, the application generates a list of final marks and an academic performance
report:
The following information is required to generate the final mark listing and academic
performance report:
Course details
The course details to be stored in the program include a list (array) of final marks,
number of students, a list (array) of the distribution of frequencies of grades.
The final marks:
75B+
79B+
88A
96A+
90A+
80A
76B+
76B+
79B+
76B+
75B+
91A+
92A+
82A
84A
76B+
97A+
93A+
95A+
82A
78B+
81A
81A
82A
The final marks are stored in a text file named marks.txt. Download the data file,
marks.txt from WBLE for building the list of final marks in the program.
77B+
75B+
85A
63B
71B+
73B+
73B+
72B+
68B
74B+
69B
67B
73B+
68B
62B
61B
68B
70B+
66B
61B
62B
64B
62B
71B+
• Listing the final marks with associated grades
After building the list of final marks in the program, all the final marks and
associated grades are listed with no more than 8 numbers on a line as shown in
Diagram 1. Table 1 shows the grading system:
69B
66B
69B
61B
74B+
68B
60B
62B
71B+
73B+
66B
72B+
70B+
67B
69B
65B
72B+
61B
60B
63B
61B
61B
66B
69B
58C+
56C+
56C+
520
55C+
55C+
50C
55C+
56C+
54C
59C+
57C+
54C
520
510
58C+
+ Table 1: Grading system.
Mark Range
90 - 100
80 - 89
70-79
59C+
500
59C+
51C
55C+
53C
54C
54C
54C
25F
25E
19F
10F
42F
22F
31F
Grade
A+
Total number of students: 104
A
B+
60-69
55-59
50-54
The Success Institute
B
C+
SLLM 1643 Laws of Leadership Mastermind
Academic Performance Report
C
F
0-49
Grade | No. of Student | Percentage | Histogram (Percentage)
Generating the distribution of frequencies of grades
The application determines how many students score an A+, how many students
score an A, how many students score an B+, how many students score a B and so
on for all grades. The counts are to be updated to the list of the distribution of
frequencies of grades in the program.
A+
7
6.73
| *******
A
9
8.65 %
| ***
B+
25
24.04 4
B
31
29.81 *
C+
13
12.50 4
• Printing histogram
A set of percentage values are computed from the list of the distribution of
frequencies of grades in the program. The histogram is printed based on the
percentage values. You should round the percentage value of each grade to the
integral value that is nearest to it before printing the histogram.
12
11.54 %
F
6.73 %
I*******
Total |
104
| 100.00
Design a solution for the case study of Academic Performance Report using the
following design tools:
Construct a flowchart for the module that generates distribution of frequencies of
grades to illustrate the execution flow of the process.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 4 steps with 1 images

Knowledge Booster
Similar questions
- List out the principle components involved in developing a program Explain the benefits of breaking up a program into small modules. Give an example which emphasizes on one of these benefitsarrow_forwardDraw the hierarchy chart and design the logic for a program that calculates service charges for Hazel's Housecleaning service. The program contains housekeeping, detail loop, and end-of-job modules. The main program declares any needed global variables and constants and calls the other modules. The housekeeping module displays a prompt for and accepts a customer's last name. While the user does not enter ZZZZ for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. The service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. The detail loop also displays the service charge and then prompts the user for the next customer's name. The end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.arrow_forwardPlease write a java code using the photo below. The second photo is the output of my program that I am writingarrow_forward
- The answer needs both a C++ and a Python code and the source code for the C++ is a picture attached Design a menu with appropriate user interactions and checks for valid entry. Use C++ to successfully complete this criterion. Your simple program will need a menu that can validate user input and is easy to use. It needs to include options for the display of a multiplication table, doubling a value, and exiting the program. If either of the first two options are selected, then users need to be prompted to input a numeric value. The menu should be displayed using a loop, where the user can choose to exit the program only by selecting option 3. Any user input other than 1, 2, or 3 should result in an error message that returns the user to the menu. An example menu might look like the following:1: Display a Multiplication Table 2: Double a Value 3: Exit Enter your selection as a number 1, 2, or 3. Create code that prints a multiplication table for a given numeric value. Both C++ and…arrow_forwardIt has been recommended that N-version programming be utilized to develop the control software for a radiation therapy system that is used to treat cancer patients. What are your thoughts on whether or not this is a good idea?arrow_forwardYou are burning some music CDs for a party. You have arranged a list of songs in the order youwant to play them. However, you would like to maximize your use of space on the CD, whichholds 80 minutes of music. To do so, you want to figure out the total time for a group of songsand see how well they fit. Write a design and a C++ program to help you accomplish this task.The data are on file “songs.txt” (which is provided for you). The time is entered as seconds. Forexample, if a song takes 7 minutes and 42 seconds to play, the data entered for that song wouldbe 462.After all the data has been read, the application should print a message indicating the timeremaining on the CD. The output must be in the form of a table with columns and headingswritten on a file. For example: (see image) Note: the output converts the input from seconds to minutes and seconds. Use meaningfulvariable names, proper indentation, and appropriate comments. Thoroughly test the programusing your own data sets.Use…arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY