build up whole program and have to make sure it works
ELEX 4618: Object Oriented Design Lab 1
Craig Hennessey 11/12/2022 1
This lab introduces the development of a simple C++ program using the Standard Library and the C++
Programming language in a Windows (Microsoft Visual Studio) development environment.
Develop a software system that will help an Instructor at BCIT enter their course marking. The software
system will read as input from the console for each student their student number (char array), the lab
grade (float), the quiz grade (float), the midterm grade (float), and the final exam grade (float). Each
grade is a percentage out of 100, with the lab worth 40% of the course, the quiz 10%, the midterm 20% and
the final exam 30%. Create a C struct which holds each grade variable and assume the maximum class size
is 100 students (array of 100), stored as a global variable. Use a number_of_students variable to keep
track of the number of students in the class.
The software system should have a simple text menu which allows you to (A)dd a student, (E)dit a student,
(P)rint all the students data including the final course grade to the screen and (Q)uit to exit. Display the
main menu after each operation. An example of the system operation is shown below.
The design above commits several programming crimes (global variables, fixed 100 array, etc) which will
be fixed in the next lab.
Develop the program described above all within one main.cpp file using the Microsoft Visual Studio
IDE. Each menu option should be executed in its own function (add_student, edit_student,
print_menu, print_grades). Note that adding a student is the same as creating a new blank student and
then editing that student (i.e. don’t duplicate the edit code).
Prior to coming to the lab, complete the following tasks:
A) Write the menu display portion of the project outlined above (print menu and wait for input). The menu
should be printed with a function print_menu and the other functions should be stubs (create as an empty
function, you don’t need to add any code for the pre lab mark). At the start of lab, demo the menu display
operation.
Demonstrate the operation of the system by adding 3 students, then edit 1 student and print the grades.
Copy your CPP and H files into the lab hand in folder on D2L.
ELEX 4618: Object Oriented Design Lab 1
Craig Hennessey 11/12/2022 2
****************************************
ELEX4618 Grade System, by STUDENT NAME
****************************************
(A)dd student
(E)dit student
(P)rint grades
(Q)uit
CMD> A
Adding Student
Student Number: A00512345
Lab Grade: 77
Quiz Grade: 55.5
Midterm Grade: 66
Final Exam Grade: 80
****************************************
ELEX4618 Grade System, by STUDENT NAME
****************************************
(A)dd student
(E)dit student
(P)rint grades
(Q)uit
CMD> P
# Student Lab Quiz Midterm Final Exam Final Grade
1 A00512345 77.0 55.5 66.0 80.0 73.55
****************************************
ELEX4618 Grade System, by STUDENT NAME
****************************************
(A)dd student
(E)dit student
(P)rint grades
(Q)uit
CMD> E
Student to edit: 1
Student Number: A00512345
Lab Grade: 77
Quiz Grade: 55.5
Midterm Grade: 66
Final Exam Grade: 60
1 Introduction
2 Design Problem
3 Design Process
4 Pre Lab Work (1)
5 Lab Completion Demo (3)
6 Example Operation
Select your paper details and see how much our professional writing services will cost.
Our custom human-written papers from top essay writers are always free from plagiarism.
Your data and payment info stay secured every time you get our help from an essay writer.
Your money is safe with us. If your plans change, you can get it sent back to your card.
We offer more than just hand-crafted papers customized for you. Here are more of our greatest perks.
Get instant answers to the questions that students ask most often.
See full FAQWe complete each paper from scratch, and in order to make you feel safe regarding its authenticity, we check our content for plagiarism before its delivery. To do that, we use our in-house software, which can find not only copy-pasted fragments, but even paraphrased pieces of text. Unlike popular plagiarism-detection systems, which are used by most universities (e.g. Turnitin.com), we do not report to any public databases—therefore, such checking is safe.
We provide a plagiarism-free guarantee that ensures your paper is always checked for its uniqueness. Please note that it is possible for a writing company to guarantee an absence of plagiarism against open Internet sources and a number of certain databases, but there is no technology (except for turnitin.com itself) that could guarantee no plagiarism against all sources that are indexed by turnitin. If you want to be 100% sure of your paper’s originality, we suggest you check it using the WriteCheck service from turnitin.com and send us the report.
Yes. You can have a free revision during 7 days after you’ve approved the paper. To apply for a free revision, please press the revision request button on your personal order page. You can also apply for another writer to make a revision of your paper, but in such a case, we can ask you for an additional 12 hours, as we might need some time to find another writer to work on your order.
After the 7-day period, free revisions become unavailable, and we will be able to propose only the paid option of a minor or major revision of your paper. These options are mentioned on your personal order page.