Laboratory 2
Laboratory 2
MS-Excel
PROGRAM: Bachelor in Engineering Technology
ELECTRICAL ENGINEERING
SUBJECT: SOFTWARE ENGINEERING 2A
DATE: 2023
DURATION: 60 minutes
TOTAL POINTS: 40 (Activity 1 + Activity 2)
Objective
This assignment is concerned OOP and simple database management in C++ language.
The demonstration of your knowledge for archiving database outputs from your OOP
program(s) into MS Excel platforms is important. You are to perform this practical/task using
pair programming technique (in groups of two’s). Any group exceeding more than two
participants per workstation will neither be attended to nor graded.
Procedure
Follow the instructions as follows:
1. Open up 2019 Microsoft Visual Studio on your laboratory desktop.
2. Read out the instructions in your laboratory manuals properly.
3. Write out the codes in the Visual Studio C++ editor as indicated in the manual. Make
sure you save your codes at intervals.
4. Build and debug your code, if possible for every line. Make sure you print out your
output screen/interface and codes in your report.
5. Submit a report for the two activities on blackboard. However, the first activity will be
graded by the end of the lab.
Grading Rubric (Copy this Rubric onto the first page of your report)
1
ACTIVITY 1.1 (To be graded within the Laboratory period; Report must be submitted
with Activity 1.2)
Your client, a University Organisation, has requested that you develop a Student
Enrolment and Result software in C++ using OOP style. A summary of marks
obtained versus grade interpretation is given in the table below:
Table 2: Example of Student Enrolment and Result with Software EXCEL output
𝑘𝜔
𝜉= , in Unit of degrees
𝜔𝑝
2
Assume the following parameters are constants in your programme:
𝜔𝑝 = 12 rad/s,
𝛼 is 5.32, and,
𝑣𝑜 is 50 V.