Messages

Published June 7, 2020 10:48 AM

Q:

For 2.2: is it enough to simply take the program made in 2.1 and add print statements, which will showcase that the threads are working and shutting down before the main thread, or does it need to be a more specialised use case?

 

A: Answering this question is essentially part of the exam. Hint: ask yourself, if the execution of program 2.1 really shows that it is correct? Can you do better?

 

Q:

For 3.3: How detailed do we have to be when explaining how it works? Is it enough to say something like "when a thread wants to move into the next segment, it needs to wait for a lock on that segment before continuing." or does it have to be something like a step by step explanation of what each thread is doing at a certain point for example?

A:

This is for you to decide. Hint: your explanation should be able to convince one of your fellow students in the course that your idea solves the problem -...

Published June 7, 2020 10:41 AM

During the one week final exam, you can send questions to UiO - they will be handled by the exam office - and possibly forwarded to me. I will then answer by posting a new message HERE.

But I am also allowed to hold a Zoom question and answer session - what the Norwegians call "trøsterunde" so that you can ask qustions about the final exam.

I have already held one such session and I will hold another Q&A session June 8th, 2020 at 13:30 via Zoom. For security reasons, I will e-mail you the Zoom invite.

(If you do not receive the e-mail, then contact me by sending me e-mail using your UiO e-mail account.)

-- Eric

Published June 3, 2020 2:48 PM

Q & A session 2020-06-03 recording uploaded, see menu on the left.

Final exam also uploaded in two versions: IN3030 and IN4330.

NOTE: the two exams are slightly different and have different points for each question - be sure to use the correct one. Those signed up for INF2440 exam should take the IN3030 exam.

-- Eric

 

Published June 2, 2020 11:35 PM

During the one week final exam, you can send questions to UiO - they will be handled by the exam office - and possibly forwarded to me. I

will then answer by posting a new message HERE.

But I am also allowed to hold a Zoom question and answer session - what the Norwegians call "trøsterunde" so that you can ask qustions about the final exam.

So I will hold such a Q&A session June 3rd, 2020 at 13:30 via Zoom. For security reasons, I will e-mail you the Zoom invite.

(If you do not receive the e-mail, then contact me by sending me e-mail.)

Some have asked questions about my explanation of the parallellization of insertionsort - I will review the questions and the more specific advice on the soolution - my explanation last week was quite generic and so some had problems translating it into a solution. I will expand upon the solution at the Q&A session.

The session will be recorded and show on the course website for you and for th...

Published May 30, 2020 8:25 AM

IN3030/IN4330 Lecture 2020-05-27: review of Training Exam, recording uploaded

PLEASE do the Training Exam, if you have not done it yet.

The week 20 lecture contains a review of the Training Exam - do yourself a favor and listen to it - and make sure you understand the Training Exam because that will make your life easier when doing the real exam!

Have fun.

-- Eric

 

Published May 27, 2020 10:09 AM

Today's lecture will contain a review of the Training Exam.

Will start at 10:15am today.

"See you"!

-- Eric

 

Eric Jul is inviting you to a scheduled Zoom meeting.

Topic: Lecture IN3030/IN4330 2020-05-27
Time: May 27, 2020 10:15 Copenhagen

Join Zoom Meeting
https://uio.zoom.us/j/61361612439?pwd=eWxZSlZyR1F2cDN6bUtvYUVRZDBsZz09

Meeting ID: 613 6161 2439
Password: 193741

Documentation on how to use Zoom can be found here:
https://www.uio.no/english/services/it/phone-chat-videoconf/zoom/

One tap mobile
+4773494877,,61361612439# Norway
+4723960588,,61361612439# Norway

Dial by your location
        +47 7349 4877 Norway
        +47 2396 0588 Norway
        +46 8 5050 0828 Sweden
        +46 8...

Published May 21, 2020 2:18 PM

You might want to know what the final exam looks like, so I have wriitten a Traning Exam based on last year's exam.

The final exam will have the same format and the same typee of questions, so do yourself a favor and do the Training Exam.

I will discuss the solution at the lecture next week, May 27th, 2020.

Also, all the final exams and previous training exams that I could find, have been uploaded to Former Exams.

Have fun!

-- Eric

Published May 14, 2020 6:01 PM
Published May 14, 2020 2:14 PM

.. along with last year's exam and the proposed solution. You should really check it out :)

Apart from that, it's been a real pleasure having you guys and I hope that you didn't mind having me as your TA <3 Mind you though that I'm still hired until you've handed in your exams so I'll be available by email if something's the matter.

Who appreciates you? Kim does. Who believes in you? Kim does. I wanted to bake a cake for you but that is obviously not going to happen. Best of luck with your exams and say hi if you meet me in person sometime in the future!

- K

Published May 14, 2020 10:17 AM

As promised, we'll discuss last year's exam. It's gonna be very useful to you guys :)

12:15 - whenever we're done. Meeting link below.

- Kim

Join Zoom Meeting
https://uio.zoom.us/j/3718610961?pwd=RTk0bmcvRUJxVURZeFBxWk16SkRPUT09

Meeting ID: 371 861 0961
Password: washhands

Published May 13, 2020 10:15 AM

Today's lecture via Zoom: Review and a little about the exam:

 

Eric Jul is inviting you to a scheduled Zoom meeting.

Topic: IN3030/IN4330 Lecture 2020-05-13
Time: May 13, 2020 10:20 Copenhagen

Join Zoom Meeting
https://uio.zoom.us/j/66390008926?pwd=SDJLRzR3OVQvQ3UvWTUvSmNhckVqdz09

Meeting ID: 663 9000 8926
Password: 292041

Documentation on how to use Zoom can be found here:
https://www.uio.no/english/services/it/phone-chat-videoconf/zoom/

One tap mobile
+4723960588,,66390008926# Norway
+4773494877,,66390008926# Norway

Dial by your location
        +47 2396 0588 Norway
        +47 7349 4877 Norway
        +46 8 4468 2488 Sweden
        +46 8 5050 0828 Sweden
        +...

Published May 7, 2020 1:19 PM

The recording is up where you can find recordings. Shoutout to my boys for their valiant effort in today's intense Kahoot session.

Next week we'll discuss answers to last year's exam! I've uploaded it under the folder "Former exams" to your right left. If you have the time, do yourselves a solid and take a look at it before next Thursday. I'm also gonna upload exams from previous years whenever I can find them in English.

- Kim

Published May 7, 2020 11:33 AM

Exam is the name, exam is the game. We're going to reiterate some things from the curriculum before taking a look at last year's exam, which we'll discuss in further detail next week. See you at 12:15!

- Kim

Published May 5, 2020 1:36 PM

Another attentive student pointed out a logical error when initially adding all points except the ones in indexes MAX_X and MIN_X to Intlist m. You can review the changes on Github.

- Kim

Published Apr. 30, 2020 12:05 PM

No lecturing or presentations today, but I will stick around in the meeting room between 12:15 and 14:15 and be available for oblig-related assistance :)

https://uio.zoom.us/j/3718610961?pwd=RTk0bmcvRUJxVURZeFBxWk16SkRPUT09

The upcoming two group sessions will be focused on preparing you guys for the exam!

- Kim

 

Published Apr. 27, 2020 5:24 PM

Hi everyone (keep on reading, this is important)!

We were alerted about a bug on Piazza by a very attentive student (shoutout to him) which I have now corrected.
Basically the bug was that Oblig5Precode assumed that MAX_X and MAX_Y were actual max values for x and y, and not indexes in x[] and y[] where you would find the max values for x and y. So basically:

Oblig5Precode:
- MAX_X is the highest value in x[]
- MAX_Y is the highest value in y[]

Oblig5.java (the one I published):
- MAX_X is the index in x[] where you can find the highest value in x[]
- MAX_Y is the index in y[] where you can find the highest value in y[]

So the definition of MAX_X and MAX_Y would have to be the same in both Oblig5Precode and Oblig5, meaning that one of them would have t...

Published Apr. 23, 2020 2:37 PM

.. in addition to my tentative plan for the rest of the course. I mostly discussed and shared my thoughts on the two different methods for parallelization of the convex hull. You can find the plan and recording under "Group Sessions - online resources".

HINT: one thing I forgot to share with you guys is the following; if you have a large N, does it not make sense to also parallelize the initial discovery of min_x and max_x? ;))

- Kim

Published Apr. 23, 2020 11:08 AM

https://uio.zoom.us/j/359965726

Password is in your inbox somewhere. Hit me up if you can't find it.

- Kim

Published Apr. 22, 2020 2:26 PM

Lecture Material for week15-v20 has ben uploaded including Zoom recordiing.

-- Eric

Published Apr. 22, 2020 11:40 AM

Schedule for the rest of IN3030/IN4330  Spring 2020

  • 22. april (uke15)
  • Mer om hvordan parallellisere ulike problemer
  • 29. april (uke16) - ingen forelesning - jobbar m Oblig5
  • 6. mai (uke17) - ingen forelesning
  • 13. mai (uke18) - review av kurs, perspektiv, litt om eksamen
  • 20. mai (uke19) - ingen forelesning
  • 27. mai (uke20) - meget om eksamen, evaluering
  • 3.-10. juni - hjemmeeksamen via Inspera
  • 10. juni kl 09:00 - frist for innlevering av eksamen

In English:...

Published Apr. 22, 2020 10:16 AM

https://uio.zoom.us/j/68091377764?pwd=MVdWN2phNEtCWVl0OHRzZWp3S2hJZz09

Published Apr. 17, 2020 2:28 PM

EDIT: the assignment text has been updated. - K

Some points that we forgot to update in the new Oblig 5 assignment text:

  • Pages 6-7: 'TegnUt' has been renamed to 'Oblig5Precode'
  • Description for fig1 says that the points shown in the figure are the ones we'll be using in the assignment. This is not necessarily correct because the seed for generating the points is to be specified by you instead of us.
  • Page 7, 1b: a call to drawGraph() and writeHullPoints() is also required for output after creating an object from Oblig5Precode
Published Apr. 16, 2020 2:53 PM

.. you can find it and the recording of me demoing Oblig 5 and a sequential solution to it under "Group Sessions - online resources".

- Kim

Published Apr. 16, 2020 1:17 PM

Kim here - there was some confusion as to whether there would be a group session today and if so, where the invite was. The answer to that is "yes" and "drowned somewhere on the course page". My bad. Below you'll find the O.G. group session invite message, and please note that it's the same meeting with the same invitation we'll be using for every group session! I sent the password to you all at some point so go dig in your inboxes, and if you can't find it please email me and I'll send you the password :)

Today's group session was recorded and will be published on "Group Sessions - online resources" ASAP.

 

Hello!

Below is the invite to the online group session. Should be recurring so I think that's the only invitation you're gonna need for the semester. Between 12:15 and 14:15. We can expand the time if necessary bu...

Published Apr. 15, 2020 7:51 PM

Note that I've altered the precode for Oblig5 slightly from the version that was used last year and for my Oblig 5 demo from last week. If you started the oblig before today, please make sure to use the latest version of the precode, which is on my Github of course. The changes are detailed in comments, but aren't too substantial.

The sequential implementation has also been ever so slightly altered. Just one character in fact, if we're not counting comments.

- Kim