Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Real-Time Systems Exam for BSc in Software Development & Computer Networking, Exams of Computer Science

The instructions and questions for a 2-hour exam on real-time systems for students pursuing a bachelor of science (honours) in software development and computer networking at cork institute of technology. The exam covers topics such as hrt-hood methodology, ada programming, os-9, and process scheduling. Students are required to answer any three questions, with different marks allocated to each question and sub-question.

Typology: Exams

2012/2013

Uploaded on 03/28/2013

bholaa
bholaa šŸ‡®šŸ‡³

4.6

(9)

79 documents

1 / 3

Toggle sidebar

Related documents


Partial preview of the text

Download Real-Time Systems Exam for BSc in Software Development & Computer Networking and more Exams Computer Science in PDF only on Docsity! Cork Institute of Technology Bachelor of Science (Honours) in Software Development and Computer Networking ā€“ Award (NFQ Level 8) Autumn 2006 Real-Time Systems (Time: 2 Hours) Instructions Answer any THREE questions. Note: Question 1 = 34 marks, All other questions = 33 marks. Real-Time Systems Reference Booklet Available. Examiners: Dr. J. Creagh Dr. J. Buckley Dr. A. Kinsella Q1. (a) (i) What are the main principles of HRT-HOOD? (3 marks) (ii) Referring to obligations, commitments, logical architecture and physical architecture, give an overview of the HRT-HOOD methodology. (6 marks) (iii) HRT-HOOD provides different object types. Clearly explain each object type. Diagrams/examples are required. (8 marks) (iv) The ā€œclassical mine drainage problemā€ may be developed in HRT-HOOD, presented by Burns and Wellings. For each HRT-HOOD object type: ā€¢ Identify an example of this object type from the ā€œclassical mine drainage problemā€. ā€¢ Clearly describe the example object, and clearly indicate why it is of this object type? (10 marks) (b) Compare HRT-HOOD and ROPES methodologies. (7 marks) 2 Q2. (a) A window security system is part of a larger building security system. The window is protected by 4 laser lights that shine onto 4 laser sensors. If an intruder interrupts the laser light then the laser sensor is activated. Write an ADA task which monitors the 4 sensors every 50ms with a deadline of 6ms. If any sensor is activated, then the alarm is turned on and the lights are turned on. For actuators (alarm, lights) 1 = ON, 0 = OFF. Note: A register called ā€˜CSRā€™ controls the hardware. Refer to the reference booklet. A second register ā€˜READINGā€™ is provided for reading a value from a sensor. A third register ā€˜WRITINGā€™ is provided for writing a value to an actuator. (17 marks) (b) Write an ADA program illustrating the generic structure for handling sporadic activity. Comments required. (8 marks) (c) HRT-HOOD protected objects may easily be mapped to ADA code. Explain how this is possible by example. (8 marks) Q3. (a) (i) What is a cyclic alarm in OSā€“9? How does it work? (5 marks) (ii) Give an outline of a sample program which uses OSā€“9 cyclic alarms. Explain your program. (11 marks) (b) Write a generic C/C++ OSā€“9 program, which uses argv/argc to send a signal to a process. Describe how this program may be used from a telnet session. (9 marks) (c) With examples, illustrate the three principal uses of signals in OSā€“9 for real-time programs. (8 marks)
Docsity logo



Copyright Ā© 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved