Lund University
 

Concurrent and Real-Time Programming

Lectures

Exercises & Labs

Software

Exams

 

 

EDA040: Concurrent and Real-Time Programming - HT1 + HT2 2007

 

Exams

Results are available for the exam December 2008 and the exams are shown Monday 2009-01-19 at 12.30-13.30 in room E4130, which is the opportunity to check your grade and ask about our judgements.
The only remaining exams for 2009 are those in the next section, and we urge any students having only this course left before getting their degree, to go for one of the scheduled occasions. Students now living abroad can contact us for practical arrangements in case of difficulties going to Lund, but by default you have to be in the room as stated.

The next upcoming occasions

Click here to see what exams that are scheduled so far.

For 2009 this should state:

  1. 2009-04-15 during 14-19 in MA10D-E
  2. 2009-08-26 during 08-13 in MA8
  3. 2009-12-xx during 5 hours in yy.

You do not have to sign up; just show up. Starting with December 2008 all exams are given in English ONLY. 

Hints for solving the construction problems

The first part of each exam in on the theory, whereas the second part is the construction part consisting of two construction problems. The first of these has to be sufficiently well solved for the second to count for your points/grade. (The reason is that the first construction problem is more concrete and aims to test actual coding skills and knowledge about synchronization etc., and that is required to pass, while the second is more conceptual and design oriented, which should count only for higher grades; to make high-level decisions you should know what it implies on lower levels [in any system or organization].)  More than 80% of those failing the exam do so because of the first construction problem. Therefore, the following hints are intended to help you avoid some typical mistakes:
  1. Browse through the description and get a general impression what the problem is about.
  2. Read carefully the description, in particular paragraphs containing specifications, and mark (yes, underline, mark, and make notes in the exam document, which is for you to use and keep) the specifics that your implementation should fulfill.
  3. What accomplishments does your customer care about? In this course it is neither code that is so correct that it would compile direct (errors that the compiler would report is mainly ignored), nor is it formally correct numerical computations that might be part of some methods. It is the design and implementation of multi-threaded systems, including proper object-oriented concurrency (active and passive objects and the signaling and synchronization between them) and proper locking of shared resources (mutual exclusion) that counts when your solution is reviewed.
  4. Write short answers to the theory questions, and make sure you have sufficient time (3.5 hours?) for the construction part (and perhaps start with that).
  5. For things you do not think is clear from the problem or that does not make sense, make reasonable assumptions that you also provide with your solution, as typically within engineering. Of course, if you oversimplify the problem there will be a reduction of your points, but it is still better than an implementation that does not correspond to the problem.
  6. Implement the main and most important parts first. Some simple initialization code and the like can be skipped. Instead, pay careful attention to how you accomplish synchronization and other core parts of the course.
  7. Explain you design with figures and text whenever applicable. Write readable text/code.
  8. Maintain a positive attitude during your struggles.....
Concurrency and real-time problems are typically part of  rather complex scenarios, and in industry you ability to grasp the problems can be as important as your ability to solve them, and there is always a lack of time. Still, a course needs to have a limited scope and the exam should be possible to understand, so ask if needed.

Exams in the past so far

The following exams have been given:

Date Exam Solution Attachments Comment
2008-12-16 pdf  
2008-12-16 pdf pdf English version.
2007-12-12 pdf  
2007-12-12 pdf
English version.
2007-04-11 pdf  
2007-04-11 pdf pdf   English version.
2006-12-11 pdf  
2006-12-11 pdf pdf   English version. Download a runnable solution to assignment 8, the heart rate monitor (simple hardware emulator included).
2006-08-26 pdf  
2006-08-26 pdf   English version.
2006-06-01 pdf  
2006-06-01 pdf   English version.
2006-04-20 pdf  
2006-04-20 pdf   English version.
2005-12-12 pdf pdf   English version.  See comments on the HT page.
2005-12-12 pdf   See comments on the HT page.
2005-08-27 pdf     Special case; reused problems, which then were unknown for the students.
2005-08-27 pdf     English version.
2005-06-01 pdf     Reuse of final design problem; was
new for the students repeating .
2005-06-01 pdf     English version.
2005-03-30 pdf      
2005-03-30 pdf     English version.
2004-12-13
pdf pdf
English version.
2004-12-13
pdf

See English solutions
2004-06-02 pdf     No eSolutions but refer to the
implementations for problem 9.
2004-06-02 pdf     English version.
2004-04-14
pdf  
 
Not quite representative, never written
electronically, not very hard.
2004-04-14 pdf     English version.
2003-12-15: pdfPS pdf   English version.
2003-12-15: pdfPS
  See English solutions
2003-08-29:
pdfPS

Solutions were never written
electronically, not very hard.
2003-04-23:
pdfPS pdf

2002-12-19:
pdfPS

English version Solutions for 
last two problems, see Swedish.
2002-12-19:
pdfPS pdf
Draft solutions: mixed swe/eng,
one explaination missing.
2002-08-22:
pdfPS

Implementation for problem 9. No
solutions made for the rest/simple.
2001-12-20: pdfPS     English version.
2001-12-20: pdfPS pdfPS   Same attachment as 2000-08-17.
2001-08-23: pdfPS pdfPS    
2001-03-07: pdfPS pdfPS    
2000-12-15: pdfPS pdfPS   English version. 
2000-12-15: pdfPS pdfPS    
2000-08-17: pdfPS pdfPS RTEventBuffer.java
Paper-saving version of
  attachement (2 A4-pages):
PS
2000-03-08: pdfPS pdfPS   Same attachement as 1999-08-19.
1999-12-17: pdfPS pdfPS    
1999-08-19: pdfPS pdfPS RTEvent, RTEventBuffer Attachments only as PDF.
1999-03-10: pdfPS pdfPS    
1998-12-17: pdfPS pdfPS    

Several table rows are under construction....
*) Due to lack of time, several solutions are not formatted/finished for publication yet. They will appear, but no promise when.

  gra
Last update:
Friday, 23-Jan-2009 14:05:47 CET
© Institutionen för Datavetenskap 2007. Contact: Klas Nilsson
spacer