Data Structures Midterm Exam Instructions

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

  1. Accept each GitHub Classroom problem using the provided links.
  2. Clone the problem repository to your computer.
  3. Open the project in VS Code.
  4. Before starting the first problem, you must turn off the VS Code AI assistant (GitHub Copilot).
  5. 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:

  1. Edit the provided code to complete the required task.
  2. To test your work, run: make test This will execute the automated test cases.
  3. If all tests pass, you must submit your test results by running:
    make submit
  4. Finally, push your solution and results to GitHub:
    git add -A
    git 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

  1. Click the “Extensions” icon on the left sidebar.
  2. Search for “GitHub Copilot.”
  3. Click the gear icon ⚙️ next to it.
  4. Select “Disable (Workspace)” or “Disable (Global)”.
    • Disable (Workspace) is preferred for the exam folder.
  5. 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.

Scroll to Top