Important notes:
- You need to get at least 120 points for INF3331 and 136 points for INF4331 students in order to pass the course.
- The total number of points will be 150 for INF3331 and 170 points for INF4331 students (the last two assignments will have additional exercises for INF43331) (+10 bonus points from assignment 5).
- The first 3 assignements are not peer-reviewed.
- Your points will be visible on devilry.ifi.uio.no.
Name | Deadline | Resources |
---|---|---|
Assignment 1 | Sept 8th, 11:59 | Download Self-test |
Assignment 2 | Sept 11th, 11:59 | Download Self-test |
Assignment 3 | Sept 18th, 11:59 | Download Self-test (last update: 17 Sept) |
Assignment 4 | Oct 4th, 23:59 | Download |
Peer-review of assignment 4 | Oct 13th, 23:59 | Peer-review guidelines (last update: 5 Oct) |
Assignment 5 | Nov 1st, 23:59 |
Download (last updated 22. Oct, add numpy vectorisation to 5.2 and fixes for 5.3) |
Peer-review of assignment 5 | Nov 10th, 23:59 | Latex template |
Assignment 6 | Nov 29th, 23:59 | Download (last updated 22. Nov, fixed reference, added another hint, minor fixes), getchar.py |
Peer-review of assignment 6 | Dec 8th, 23:59 | Latex template |
How to run the self-tests (only for 1 week assignments)
You can test your own solution (and get an rough estimate of the number of points that you will get). For that, download the self-test file, extract it in your solution folder (for example INF3331-Simon/week1 and execute the command "python run_tests.py":
>> python run_tests.py [...] Test readme passed (2 points) Test calc passed (2 points) Test compress passed (4 points) Test clock passed (2 points) Rough (!!) estimate of points: 10 / 10
Note: you might have to install py.test first. On UiO computers, you can install py.test with these commands:
wget -P ~/.local/lib https://bootstrap.pypa.io/get-pip.py; python ~/.local/lib/get-pip.py --user #Gettin get-pip printf "\nPATH=~/.local/bin/:\$PATH" >> ~/.bashrc #Adds /.local/bin to the global path variable and adds it to bashrc file source ~/.bashrc #run bashrc, almost same effect as restarting terminal pip install pytest --user #Installing pytest
How to sign up for the assignments
You need to hand in the assignments electronically via github. To do so:
- Sign up on github.com using your UiO email.
- (Optional) Activate the student pack for your github account.
- Fill out this web form.
- After a few days you should receive an email to join the UiO-INF3331 and with instructions how to proceed from there.