mpiler, the one that we use for our course. The program will need to calculate the final mark and corresponding grade and letter grade based on the information given below. • The final mark is derived from the following components of the assessments. Assessment

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Write a ‘C++’ program (capable of being compiled on any standard ‘C++’ compiler and
in particular Bloodshed Dev-C++ compiler, the one that we use for our course.
The program will need to calculate the final mark and corresponding grade and letter
grade based on the information given below.
• The final mark is derived from the following components of the assessments.
Assessment
Component
Percentage
allocated for the
components
Number of
components
Marks per
component
Exam 50% ONE (1) 100 marks
Mid term test 20% ONE (1) 100 marks
Lab Practices 15% THREE (3) 50 marks
Programming Assignment 15% ONE (1) 100 marks
• Result calculation is based on information below:
o Exam (50%)
o Coursework (50%) components are made up of the total from the mid term test
(20%), programming assignment (15%) and lab practice (15%).
▪ Courseworks = Mid term test * 0.20 + Lab Practices (total marks /
150) * 0.15 + Programming Assignment * 0.15
▪ Final Mark = Exam * 0.5 + Courseworks
• Your program should also display the letter and letter grade based on the table
below:
Table A: Grade
Grading System
MARKS GRADE Letter
Grade Percentage
75 to 100 Distinction
A 80 - 100
A- 75 - 79
Page 4
60 to 74 Credit
B+ 70 - 74
B 65 - 69
B- 60 - 64
50 to 59 Pass
C+ 55 - 59
C 50 - 54
0 to 49 Fail
C- 45 - 49
D 40 - 44
 F 0 - 39
Specification:
• Your program must continue to process the students’ grade as long as there are
more students to be processed.
• You can read and edit such file using the Dev-C editor or even Window’s Notebook
application, as the file are simply ASCII text readable file.
• The program should be designed to accept results with any number of students
within the range 5 to 30 students (inclusive). Your program should calculate the final
mark, grade and letter grade based on the information given earlier. Thus the
following example shows what would be expected to contain when such a program
processes the input file mentioned earlier.
An example of what might contain:
Last
Name
First
Name
Prog
Asgn
Test Lab
practices
Exam CW Final
Mark
Grade Letter
Grade
Each column below which are separated by a space below correspond to each
column stated above. Note cw and final mark need to be in 2 decimal points.
Ahmed Ali xx xx xx xx xx.xx 66.30 B Credit
Ali Sanusi xx xx xx xx xx.xx 56.45 C+ Pass
Allen Woody xx xx xx xx xx.xx 43.40 D Fail
Batis Hassan xx xx xx xx xx.xx 21.35 F Fail
.
.
.
• Next your program should display the following information to the screen:

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Module hierarchy chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education