|
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: - 2009-04-15 during 14-19 in MA10D-E
- 2009-08-26 during 08-13 in MA8
- 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:
- Browse through the description and get a general impression
what the problem is
about.
- 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.
- 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.
- 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).
- 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.
- 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.
- Explain you
design with figures and text whenever applicable. Write readable text/code.
- 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 |
 |
|
|
|
| 2008-12-16 |
 |
 |
|
English
version. |
| 2007-12-12 |
 |
|
|
|
| 2007-12-12 |
 |
|
|
English
version. |
| 2007-04-11 |
 |
|
|
|
| 2007-04-11 |
 |
 |
|
English
version. |
| 2006-12-11 |
 |
|
|
|
| 2006-12-11 |
 |
 |
|
English
version. Download a
runnable solution to assignment 8, the heart rate monitor (simple
hardware emulator included). |
| 2006-08-26 |
 |
|
|
|
| 2006-08-26 |
 |
|
|
English
version. |
| 2006-06-01 |
 |
|
|
|
| 2006-06-01 |
 |
|
|
English
version. |
| 2006-04-20 |
 |
|
|
|
| 2006-04-20 |
 |
|
|
English
version. |
| 2005-12-12 |
 |
 |
|
English
version. See comments
on the HT page. |
| 2005-12-12 |
 |
|
|
See comments
on the HT page. |
| 2005-08-27 |
 |
|
|
Special case; reused problems, which then were unknown
for the students. |
| 2005-08-27 |
 |
|
|
English
version. |
| 2005-06-01 |
 |
|
|
Reuse of final design problem; was
new for the students repeating . |
| 2005-06-01 |
 |
|
|
English
version. |
| 2005-03-30 |
 |
|
|
|
| 2005-03-30 |
 |
|
|
English
version. |
2004-12-13
|
 |
|
|
English
version.
|
2004-12-13
|
 |
|
|
See English
solutions |
| 2004-06-02 |
 |
|
|
No eSolutions but refer to the
implementations for
problem 9. |
| 2004-06-02 |
 |
|
|
English
version. |
2004-04-14
|
|
|
|
Not quite
representative, never written
electronically, not very hard. |
| 2004-04-14 |
 |
|
|
English
version. |
| 2003-12-15: |
  |
 |
|
English
version.
|
| 2003-12-15: |
  |
|
|
See English solutions |
2003-08-29:
|
  |
|
|
Solutions were never written
electronically, not very hard.
|
2003-04-23:
|
  |
|
|
|
2002-12-19:
|
  |
|
|
English version Solutions
for
last two problems, see Swedish. |
2002-12-19:
|
  |
|
|
Draft solutions: mixed swe/eng,
one explaination missing.
|
2002-08-22:
|
  |
|
|
Implementation
for problem 9. No
solutions made for the rest/simple.
|
| 2001-12-20: |
  |
|
|
English version. |
| 2001-12-20: |
  |
  |
|
Same attachment as 2000-08-17. |
| 2001-08-23: |
  |
  |
|
|
| 2001-03-07: |
  |
  |
|
|
| 2000-12-15: |
  |
  |
|
English version. |
| 2000-12-15: |
  |
  |
|
|
| 2000-08-17: |
  |
  |
RTEventBuffer.java |
Paper-saving version of
attachement (2 A4-pages): |
 |
|
| 2000-03-08: |
  |
  |
|
Same attachement as 1999-08-19. |
| 1999-12-17: |
  |
  |
|
|
| 1999-08-19: |
  |
  |
RTEvent,
RTEventBuffer |
Attachments only as PDF. |
| 1999-03-10: |
  |
  |
|
|
| 1998-12-17: |
  |
  |
|
|
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.
|