This test has two parts, regular moodle questions and programming work.
The first part of the Moodle is 25 questions, and is worth 50% of the midterm. The second part is the solving of 5 problems in GitHub Classroom.. This is a completely closed test, and you cannot use any other resources (Including AI).
The link is here: Moodle Midterm Link
Exam Instructions
You will have 80 minutes to complete this exam.
- The exam consists of 25 Moodle questions and 5 GitHub Classroom programming problems.
- You may complete the problems in any order.
- Manage your time carefully — if you get stuck on a problem, move on to another one and come back later if time allows.
- The goal is to demonstrate your own understanding of programming concepts and problem-solving.
Programming Setup and Procedure
- Accept each GitHub Classroom problem using the provided links.
- Clone the problem repository to your computer.
- Open the project in VS Code.
- Before starting the first problem, you must turn off the VS Code AI assistant (GitHub Copilot).
- When you are ready to begin programming:
- Raise your hand and notify the instructor.
- Show the instructor that GitHub Copilot is turned off in your VS Code editor.
- You may begin programming only after the instructor confirms that Copilot is disabled.
Working on Each GitHub Problem
For each problem:
- Edit the provided code to complete the required task.
- To test your work, run:
make testThis will execute the automated test cases. - If all tests pass, you must submit your test results by running:
make submit - Finally, push your solution and results to GitHub:
git add -Agit commit -m "submit"git push
Make sure to complete the git push step so your submission is recorded before time is up.
Rules and Restrictions
- No web resources of any kind may be used — this includes AI tools such as ChatGPT, Copilot, Stack Overflow, or any external reference websites.
- You may use your VS Code editor for coding, compiling, and testing only.
- GitHub Copilot must remain disabled for the entire exam session.
How to Turn Off GitHub Copilot in VS Code
- Click the “Extensions” icon on the left sidebar.
- Search for “GitHub Copilot.”
- Click the gear icon ⚙️ next to it.
- Select “Disable (Workspace)” or “Disable (Global)”.
- Disable (Workspace) is preferred for the exam folder.
- Confirm that no Copilot suggestions or ghost text appear as you type.
Alternatively:
- Press Ctrl + Shift + P (Windows/Linux) or Cmd + Shift + P (Mac).
- Type
Copilot: Disable. - Select “GitHub Copilot: Disable Globally” or “Disable for Workspace.”
Academic Integrity
All work must be your own. Any evidence of collaboration, outside assistance, or use of AI tools will be considered a violation of academic honesty policies.
