Publisert 26. nov. 2018 21:14

Elise Lystad from the Students Educational Committee at the Department of Informatics has asked me to remind you about the course evaluation.

You can access the survey by logging in here with your UiO username and password:

If you have any questions regarding the evaluation, feel free to contact

Publisert 25. nov. 2018 20:59

The final group lecture will mainly focus on the 2012 exam.

The 2012 exam can be found inside this zip-file:


Publisert 20. nov. 2018 02:35

The group lecture this Wednesday will instead focus on

the prolog part from exam 2011 and the theory part from exam 2015



Publisert 18. nov. 2018 22:54

The group lectures this week will focus on old exams, 

the theory part and the prolog part from 2016 to be specific.

You should probably look at the exam beforehand if you want to optimize your learning outcome from these group lectures. 

Also, all the weekly exercises and solutions are now available from the lecture schedule: schedule



Publisert 15. nov. 2018 00:57

Part 1 (most relevant part): 

Question 3 (a,b,c) in Exam 2015

There is an error in 3c Exam2015. The 3 and 5 value in the heap should be switched, so that the heap is actually a heap.

There will be a detailed solution available after a week or so.

There will be a detailed solution available after a week or so.

Part 2 : 

Exercises combining some of the curriculum about types and subtypes from Eyvind's lectures with 
some SML stuff and of course Prolog.

Some of these exercises are probably a little hard and goes a bit outside the normal exam exercises for Prolog in this course.

Check out old exams to see the normal difficulty of prolog exercises on the exams.

Link : Prolog...

Publisert 15. nov. 2018 00:49

Here are some old exams. Look at the urls to see the year and if the pdf contains the solution/answers.
I would guess that the exam this year will probably look more like the 2015,2016 and 2017 version.

Publisert 25. okt. 2018 22:07

Hi all,

I will not be able to deliver the class tomorrow.  We will finish up with ML on Nov. 9 and start Functional programming in Prolog then.

I am sorry for the short notice.


Publisert 16. okt. 2018 13:36

Hi everyone,

In the last lecture, we talked about dynamic languages allowing things like runtime additon and removal of methods and properties, meta-object protocols and dynamic proxies. We had a short discussion about the potential usefulness of such features, and Kristian mentioned that this was being used by Netflix, for instance. Here are some interesting links:


API Adapter:

Background: ...

Publisert 5. okt. 2018 12:53

There are no weekly exercises next week because there was no lecture this Friday, but there will be group lectures.

So the content of the group lectures will be the new mandatory exercise, some SML exam questions and some other SML stuff.
If you have any suggestions for specific exercises or other topics that you would like to repeat, send a mail to :

If you need some extra exercises to do : exercises

Publisert 5. okt. 2018 12:36

The second mandatory exercise ("oblig") is now available (link). The deadline is October 26th. Attend the group lectures for more information on the exercise.

Publisert 9. sep. 2018 16:11

The group lecture this coming Wednesday 12.09 is canceled.
The students that planned on coming to the group lecture can come to the one on Monday 10.09 14:15 instead or do the exercises from home. The solutions will be posted later



Publisert 3. sep. 2018 17:15

Sample code 2 contained a small error :
west (+ (* 2 i) (* 3 j) )

instead of the correct expression:

west (+ (* 2 i) (* 3 j) 5)          


It has been fixed


Publisert 31. aug. 2018 09:42

The first mandatory exercise ("oblig") is now posted on the lecture plan. The deadline is September 21st. Attend the group lectures for more information on the exercise.

Publisert 22. aug. 2018 08:01

The group lectures will be held at Mondays 14.15-16.00 and Wednesdays 10.15-12.00. The content will be the same in both groups, so you only need to come to one of them.

You can ignore the group you have been assigned on StudentWeb, just come to the group that suits you the best. The Monday group will be held in English, and Wednesday group will be held in Norwegian, unless English is needed.

If you have any questions, feel free to send an email to

Publisert 22. aug. 2018 08:00

The first lecture will be on Friday August 24; we look forward to seeing you all there!