ICC-P Exemples de questions pour le midterm
Completion requirements
You will find two files here:
-
PDF file with examples of Python coding questions relevant to the midterm exam.
-
Python script with the corresponding code.
To run the script and display the expected answer for a specific question, use the following command in your terminal:
python <script_name> <year> <question>
For example:
python ICC-P-Practice-Midterm-Solutions.py 2023 5
This command will show the expected answer for Question 5 (Year 2023). Make sure your terminal's current directory matches the location of your script.
You may notice that questions from 2024 are missing; they are shared in their original (exam) layout, along with detailed step-by-step solutions, in Week 7 (the week leading up to the midterm exam).
