Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i want the quizzies in dynamic in vector c++ language Scenario: Every end of semester, lecturer in college is required to come out with carry
i want the quizzies in dynamic in vector c++ language
Scenario: Every end of semester, lecturer in college is required to come out with carry mark summary for students, individually that covers quiz, test, programming project and lab exercise marks (refer Table 1.0). Table 1.0 Assessment Quiz Test Assignment Lab Test Mark 15 50 20 30 Frequent Full Mark 3 45 1 50 1 20 1 10 Total Carry Mark Percentage 15 25 20 10 70 -- QUESTION Given a data structure, Student float float float string float float float float float quizl quizz quiz3 quiz IdNo carryMark test assignment labrest totalCarry Mark vector Student Student Student Student Student Student 0 1 2 Develop a complete C++ program to assist lecturer for above scenario. Do provide necessary functions for creating the dynamic array of student ID numbers, adding assessment and displaying details of carry mark summary Remarks: Extra marks will be given if you manage to save all entries in txt files. Sample Output MAIN MENU CARRY MARK PROGRAM 1. Add New Student 2. Update Assessment 3. Carry Mark Summary 4. Carry Mark Summary (Save to File) 5. Exit Select Menu: 1 MAIN MENU : ADD NEW STUDENT Enter student ID : SW564378 Assessment Menu: 1. Quis 2. Test 3. Assignment 4. Lab Test Select option: 1 Enter Quizl mark (15) : 12.0 Enter Qui: 2 mark (15) : 14.5 Enter Quiz3 mark (15) : 13.0 Total Quiz mark (45m) : 39.5 Percentage of Quiz is 13.16% Add another assessment [Y/N] : Y Assessment Menu: 1. Quis 2. Test 3. Assignment 4. Lab Test Select option: 2 Enter Test mark (50) : 45.0 Percentage of Test is 22.509 Add another assessment (Y/N) : Y Assessment Menu: 1. Quis 2. Test 3. Assignment 4. Lab Test Select option: 1 Quiz mark already exists. Choose UPDATE option in MAIN MENU to update. Add another assessment (Y/N] : N MAIN MENU : UPDATE ASSESSMENT Enter student ID : SW564378 Assessment Menu: 1. Quis 2. Test 3. Assignment 4. Lab Test Select option: 1 Quizl mark (15) : 12.0 Quiz2 mark (15) : 14.5 Quiz3 mark (15) : 13.0 Current Percentage of Quiz : 13.16% Enter Quiz no to update [1 to 3]: 2 Enter Quiz2 mark (15) : 12.5 New Total Quiz mark (45): 37.5 New Percentage of Quiz 12.500 Update another assessment [Y/N]: N MAIN MENU : CARRY MARK SUMMARY Display Menu: 1. Individual 2. All 3. Highest carry mark Select option: 1 Enter student ID : SW564378 ::Carry Mark Details:: Student ID : SWS64378 Quiz : 12.50 Test : 22.500 Assignment : 9.0% Lab Test : Not Available Total Carry Mark : 44.00% End of Summary MAIN MENU : CARRY MARK SUMMARY Display Menu: 1. Individual 2. All 3. Highest carry mark Select option: 3 Enter Student ID : SW564381 ::Carry Mark Details:: Student ID : SW564381 Quiz : 13.5% Test : 16.805 Assignment : 10.00% Lab Test : 5.00% Total Carry Mark : 45.309 End of Summary MAIN MENU : CARRY MARK SUMMARY (SAVE TO FILE) Enter file name : CM_14FEB2021 File CM 14 FEB2021. txt is saved. *CM 14FEB2021 - Notepad - X File Edit Format View Help IDNO QUIZ SW564378 12.50 SW564381 13.50 TEST 22.50 16.80 ASSIGNMENT 9.00 10.00 LABTEST 0.ee 5.00 TOTAL 44.00 45.301 Ln3, Col 43 100% Windows (CRLF) UTF-8
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started