Docsity

Real-Time Systems Exam for Master of Science in Software Development, Exams of Computer Science

Toggle sidebar
bg1
Cork Institute of Technology
Master of Science in Software Development - Award
(NFQ โ€“ Level 9)
Summer 2006
Real-Time Systems
(Time: 2 Hours)
Instructions
Answer any THREE questions.
Note: Question 1 = 34 marks
All other questions = 33 marks
Examiners: Dr. J. Creagh
Dr. M O Heigeartaigh
Q1. (a) (i) Why is determinism essential for real-time systems? (4 marks)
(ii) Modern processors are based on superscalar and multi-core technologies.
Briefly, define these technologies. In your opinion, what are the challenges for real-
time system designers that use these processor technologies?
Clearly justify each point you make.
(14 marks)
(b) (i) A Buddy system may use different sequences for allocation. Two examples are
Fabonacci and Binary. Explain why these two sequences are suitable.
(4 marks)
(ii) With your own examples, explain the Binary Buddy allocator. Also, explain the de-
allocation process. (8 marks)
(iii) OS-9 uses a Buddy system. Justify why this may be considered a suitable decision
for such a RTOS. (4 marks)
pf3
pf4

Partial preview of the text

Download Real-Time Systems Exam for Master of Science in Software Development and more Exams Computer Science in PDF only on Docsity!

Cork Institute of Technology

Master of Science in Software Development - Award

(NFQ โ€“ Level 9)

Summer 2006

Real-Time Systems

(Time: 2 Hours)

Instructions Answer any THREE questions. Note: Question 1 = 34 marks All other questions = 33 marks

Examiners: Dr. J. Creagh Dr. M O Heigeartaigh

Q1. (a) (i) Why is determinism essential for real-time systems? (4 marks) (ii) Modern processors are based on superscalar and multi-core technologies. Briefly, define these technologies. In your opinion, what are the challenges for real- time system designers that use these processor technologies? Clearly justify each point you make. (14 marks)

(b) (i) A Buddy system may use different sequences for allocation. Two examples are Fabonacci and Binary. Explain why these two sequences are suitable. (4 marks) (ii) With your own examples, explain the Binary Buddy allocator. Also, explain the de- allocation process. (8 marks) (iii) OS-9 uses a Buddy system. Justify why this may be considered a suitable decision for such a RTOS. (4 marks)

Q2. Consider the 10 pin bowling case studies: Case study (1) A simple example of single lane bowling. This may even be considered for a toy.

Case study (2) In a multi-lane example, with multiple users per lane, administration of timing periods, lights and so on. This may be suitable for commercial environments.

Case study (3) Expanding case study (2) for a large commercial organisation, accounting, administration and management may be part of this very large system.

(a) From a real-time systems viewpoint, give an outline specification of the key elements of each of the above three case studies (e.g. refer to sensors, actuators, management and so on). (12 marks)

(b) Focusing on pseudo-kernels: (i) What pseudo-kernels or combinations of pseudo-kernels do you think may be used for a solution of case study (1)? Clearly, justify your answer (indicating your knowledge of the pseudo-kernels you specify). (16 marks)

(ii) In your opinion, are pseudo-kernels suitable for case study (2) and case study (3)? Justify your answer. (5 marks)

Q4. (a) (i) Briefly, give an outline description of the HRT-HOOD methodology. (5 marks) (ii) With aid of a diagram, clearly explain the HRT-HOOD protected object. (5 marks) (iii) The HRT-HOOD protected object may be linked to a priority protocol such as ICPP. Referring to ADA or POSIX HRT-HOOD protected object implementation, clearly explain how a programmer may link the protected object with the ICPP protocol. Clearly explain the process. Program example/outline required. (12 marks)

(b) What are the objectives of software hazard analysis? (4 marks)

(c) Explain with aid of a diagram the safety executive pattern. (7 marks)

Q5. (a) Many communication networks are suitable for distributed real-time applications. Referring to FDDI and ATM, explain why these networks are suitable for real-time applications? (5 marks)

(b) A priority-based communication protocol provides additional communication management capability for real-time applications. Explain and justify referring to the CAN field bus. (6 marks)

(c) (i) What are the requirements within an RT-ORB to provide end-to-end predictability of timeliness? (5 marks) (ii) What are the benefits of the RT-CORBA thread pool model? (6 marks) (iii) Give an example of RT-CORBA with thread pools with lanes. Explain why this is a suitable scheme for some applications. Give example code. (11 marks)