My Programming Project
- Ben Lee
- Jan 24, 2024
- 2 min read
As per the curriculum, we were instructed to create a program using c++
They were 5 people in our group, and I was appointed as the group leader. The project was difficult since all five of us were absolute beginners in C++, but we tried our best, and we ended up scoring a distinction (80/100) for our efforts.
Here were the instructions for the project.







As you can see, the program is divided into 5 modules. After reading through the instructions, I assigned each person on my team a module each and this was our results.
Here is a snippet of our 500+ lines of codes

Here is the startup of the program where is user can enter his/her username and choose his/her gender. After picking a name and a gender, the program will greet the user with a "You selected -insert module title-, Mr/Ms -name-" after the user selected a module from the main menu.

Here is the main menu

Here is a module 1+2 of the program. The first module has 10 phrases, and when viewed, a video will pop up on the screen where an actor from our group will explain the Hokkien phrase the user had just selected.
Module 2 consisted of 10 questions, testing the skills of the users. At the end, the score will be displayed to which answers the user had right or wrong.
If the user got at least 1 question correct, a text document in the project folder will be altered.
In this text document, there is only a single thing inside—the digit '0'. This is our flag. If the user finishes 'Test your Skill', the digit will be changed from 0 to 1. This is important since it affects Module 5 (The exit function)

Here is module 3 of the program, where the user can view the scoreboard. It shows the nname of the user and which questions the user got correct from module 2

This is module 4 of our program, the Developer information (us). When the user selects this, an image of the group will pop up. I have blurred the names and the faces of my group members.



And here is the last module for our program, the exit. If the user has not attemted 'Test Your Skill' (Module 2), the program will inform the user that he/she needs to complete 'Test Your SKill' first. the user can choose to enter 'Y' or 'N' to go back to the main menu or exit the program.
If the user has completed 'Test Your Skill', the program will just prompt the user if he/she wants to exit the program.
(The flag was set to '1')

That's it! This was a good first project that was extremely challenging for us, but with lots ans lots of group meeting, we managed to not only survive, but do fairly well!
Comments