You have shown interest in joining the master's programme Artificial Intelligence. A prerequisite of the master AI is that you have programming skills. This test is developed for checking whether you have the right level of programming skills.
The programming language most often used during the master artificial intelligence is Python (a language developed in the same city as our university!), and therefore the assignments of this programming assessment also have to be programmed in Python. We understand that not all of you know Python by heart, and therefore this assessment is split up into two separate assignments. The first assignment is considerably easier than the second one, and also serves as a means of getting to know Python 'on the go' for students who can program in a language other than Python.
After you have programmed the two assignments listed below, you can submit them via our code submission system CodeGrade. The first time that you submit your assignments, you will need to create an account. When doing so, use your real name, not a nickname! If you want to resubmit your assignments, you can use that same account again.
CodeGrade automatically tests your submitted assignments when you upload them. After you submit an assignment, the webpage will tell you that your program is queued to be tested:
If you wait until your assignment is tested, you can see your score:
Note that you passed the assignment only if your score is 1/1. If did not pass the assignment and want to see what you did incorrectly, you can click on the arrow next to the test, and CodeGrade will show you the test output:
Note: CodeGrade tests your submitted assignments using Python 3.8, on a Ubuntu 18.04 virtual machine (so don't program your assignments in Python 2).
This assignment consists of eight simple exercises. Students that already know Python should be able to solve these exercises in a short amount of time. Students that know how to program, but don't know Python can use this assignment to learn how to program in Python. The assignment description and the eight exercises can be found in the file linked above.
To submit this assignment, you have to submit a single Python (.py) file named code.py
.
This assignment is considerably larger than the previous one, and requires you to think about how you are going to structure your program. In the files linked above, you can find a template of the file that you have to hand in, as well as a Python script that you can use to test your code.
To submit this assignment, you have to submit a single Python (.py) file named chess.py
.
We do not help with Python related questions. We recommend using this book as a reference point, and this (online) course. It is your own resonsibility to have at least this level of programming at the start of the master AI in September.
For questions that are not Python related, you can contact Annette ten Teije ().