IN3030 IN4330 Final Exam Questions and Answers

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 - and they should be able to write the program based on your explanation.

 

Q:

In general: Are we expected to provide citations in the exam, and if yes, how should they be provided?

A:

If you cite something or use something from another source, you should cite it appropriately.

 

-- Eric

 

Published June 7, 2020 10:48 AM - Last modified June 7, 2020 10:48 AM