Beskjeder
github.uio.no is temporary close from outside UiO. But you can still get access through eduVPN.
Read more here:
https://www.uio.no/tjenester/it/aktuelt/driftsmeldinger/%5B19.11.26%5D-github-er-midlertidig-stengt-for-eksterne.html
You can now find the exam questions here:
https://github.uio.no/IN3130/h26/blob/main/exam-questions.md
Here is some reading material for the past two weeks, I apologise for the delay.
- Page 236 to to page 273 in the IN210 compendium, this has some old slides from 1999s. (https://github.uio.no/IN3130/h26/blob/main/material/IN210_lec11%2Clec12.pdf),
- "C10": (https://github.uio.no/IN3130/h26/blob/main/material/chapter-10.pdf)
- In my opinion it has an unnecessarily high level of formalism. Focus on the underlying ideas, not the formalisation.
Exercises:
- Consider the problem of EXAM PLANNING, model this problem using a SAT formula
- EXAM PLANNING given
- ...
- EXAM PLANNING given
Dear all,
Due to Petter having a sudden event next week, we have made changes to the schedule for the final weeks.
First, the lecture next week, Monday 9th, is moved to the following week. That means that there is no lecture next week.
Second, the lecture on Monday 16th will be both the lecture on Priority Queues and Q/A. To fit everything you can expect that the Q/A will continue after 16:00; I expect no later than 17:00. As Python has is reserved after 16:00, the lecture and Q/A will be held in Prolog (just by Python).
There was a partly old link in the previous post. This is the correct:
https://github.uio.no/IN3130/h26/blob/main/exam-information.md
Dear all,
You can now find some information and a tentative plan for the exam:
https://github.uio.no/IN3130/h26/blob/main/exam-information.md
Everyone should have gotten a day fitting what was requested.*
Note, that it is a tentative plan, meaning that we can compact the schedule of each day (move you time a bit) in event that students are not qualified or signed up for the exam. But you will not be moved to other days.
Everyone that is qualified for the exam can of course take it. So if you are not on the list yet, we will find a time for you. There are some open slots.
You are welcome to already contact me now (michakt@ifi.uio.no) if you are missing.
* Some requested specific topics for the exam questions, but that we cannot provide :-)
Please fill the below Nettskjema no later than Sunday November 1st for your possible dates for the exam.
https://nettskjema.no/a/in3130-exam
Then I will make an overall plan. If you don't provide any indications, I will just find a time for you with what is available.
Mvh.
Michael
Oblig3 has been published, the due date is 3 weeks from now, (16. nov).
The slides for this week are now uploaded (https://github.uio.no/IN3130/h26/tree/main/slides).
The exercises for the week are uploaded to https://github.uio.no/IN3130/h26/blob/main/exercises/w11.pdf
For reading material, read 7.5 in Sipser. In particular the subset sum, and vertex cover problems. Other than that, the slides.
Oblig2 is now published to: https://github.uio.no/IN3130/h26/tree/main/obligs.
We apologise for the delay. To give everyone enough time to complete the assignment we have decided to postpone the deadline to 4. November.
Dear all,
We have found four days on which to hold the IN3130 oral exam. These are:
- Tuesday December 1st
- Wednesday December 2nd
- Monday December 7th
- Tuesday December 8th
We will avoid overlap with other exam as much as possible, so later I will post a Nettskjema where you can indicate this.
Reading Material & Exercises, week 7
The slides for this week are now uploaded (https://github.uio.no/IN3130/h26/tree/main/slides).
Reading material in Sipser:
- 7.4
Exercises in Sipser:
- 7.5
- 7.17
- In the definition of A <=_p B. Why do we require f to be polynomially time computable?
- In particular, what property must B have so that every decidable language is reducible to B without the polynomial time requirement on f?
- Construct such a reduction
...
The slides for this week are now uploaded (https://github.uio.no/IN3130/h26/tree/main/slides).
Reading material in Sipser
- 3.2 (the section about NTMs)
- 7.1
- 7.2
- 7.3
Exercises: https://github.uio.no/IN3130/h26/blob/main/exercises/W6.pdf
The slides for this week are now uploaded (https://github.uio.no/IN3130/h26/tree/main/slides).
Reading material (in Algorithms by Jeff Erickson, https://jeffe.cs.illinois.edu/teaching/algorithms/)
Chapter 3 - Dynamic Programming
If you only want new material read:
- The final part of 3.4 for some advice for how to create dynamic programming solutions
- 3.6
- 3.7
- 3.8,
- 3.9
Regardless, Section 3.2 can be skipped.
Exercises (they are all in Section 3):
- 3. ...
Oblig1 is now published to: https://github.uio.no/IN3130/h26/tree/main/obligs. The deadline for it is 1. October.
There was small mistake in the slides for the definition of TM, namely they said that F is a superset of Q, which is not correct, F is a subset of Q. This has been corrected, and I have uploaded the corrected slides in the usual place (https://github.uio.no/IN3130/h26/tree/main/slides).
Also I have made a TM simulator which might be fun to play around with:
https://github.com/bikeiser/turing-sim
EDIT: I also made a mistake with the definition of yield in lec2(-handout).tex
specifically:
C=uxqyv yields C' if
- δ((q,y))=(q',z,L) and C'=uqxzv
- δ((q,y))=(q',z,R) and C'=uxzqv
for state q, words u, v, and symbols x, y
I apologise for the mistakes, hope they did not cause too much confusion.
The slides for this week are now uploaded (https://github.uio.no/IN3130/h26/tree/main/slides).
Reading material (in Sipser, 3rd edition):
- Ch 4, but skip mentions of non-deterministic, and context-free, that is skip theorems
- 4.2
- 4.3
- 4.7
- 4.8
- 4.9
- Ch 5, but skip reductions via computation histories, and skip Theorem 5.13
Exercises:
Honestly all the exercises in chapter 5 are great, but here is a shorter representative:
- ...
The slides for this week are now uploaded(https://github.uio.no/IN3130/h26/tree/main/slides), by request I have also made "handout" versions, which do not include the gradual uncovering of text that the lecture slides have (but still have the relevant "animations").
Reading material (in Sipser):
- Ch 3.2, skip Non-Determinstic Turing Machines (we will come back to this, so feel free to read it now as well)
- Ch 3.3
Exercises (in Sipser):
- 3.2
- 3.5, note that our definition of TM is different from Sipser's, and therefore the answers may be different too.
- Consider Turing Machines with modified δ : Q×Γ →...
The slides from the first lecture are uploaded to the github. (https://github.uio.no/IN3130/h26/tree/main/slides)
Reading material:
Introduction to the Theory of Computation, (3rd edition) Sipser:
- Ch 1.1
- Ch 3.1
alternatively, in the compendium (material/in210_komp99.pdf) it is more or less what is under, Lecture 1.
Note that Sipser uses a slightly different definition of TMs where there are distinct states: qaccept, and qreject. This essentially does not matter. We instead allow multiple accepting states, and define rejecting to be when there are no valid transitions e.g. if δ((q, g)) is undefined the TM rejects, as opposed to if we the TM is in state qreject then the TM rejects. Consequently our δ is a partial function (not defin...
The purpose of this course is to give you an understanding of some of the hardest problems that we know about in computer science (even what we cannot solve) and get a feeling for how we can reasonable try to solve some versions of them. Throughout the course you will work both with some formal computer models (though we will not be too formal) and practical implementation of relevant algorithms.
The course will have weekly lectures and exercises. The lectures will be held by Brage Keiserås and Petter Kristensen (external lecture from FFI), but there will also be some guest lectures through the course.
I (Michael Kirkedal Thomsen) will mainly work as the course organiser, so please address all administrative questions to me. I will also be available to talk to at many lectures.
For the exercises, you will this year be good hands with Stanislaw, while Sandra will aid with correcting assignments.
Material of the course will be not...