Sunteți pe pagina 1din 1

{10.

2ms}
{11 ms}
ackMsg
helloMsg
{2 ms}
{0 ms}
{1.5 ms}
InstanceA:
InstanceB:
Birla Institute of Technology & Science, Pilani
Distance Learning Programmes Division
First Semester 2007-2008
Comprehensive Examination (EC-2 Regular)

Course No. : IS ZC424
Course Title : SOFTWARE FOR EMBEDDED SYSTEMS
Nature of Exam : Open Book
Weightage : 60%
Duration : 3 Hours
Date of Exam : 30/09/2007 (FN)
Note:
1. Please follow all the Instructions to Candidates given on the cover page of the answer book.
2. All parts of a question should be answered consecutively. Each answer should start from a fresh page.
3. Mobile phones and computers of any kind should not be brought inside the examination hall.
4. Use of any unfair means will result in severe disciplinary action.

Q.1 Discuss the static priority pattern using pattern description format (i.e. class diagram with
necessary abstract classes, sequence diagram representing the dynamics of the pattern)
[15]

Q.2 Attach the relevant SPT annotations for the following diagram: [10]












Q.3 Draw the conceptual model of schedulability analysis of SPT profile with all relevant
information. Apply the model for the following schedulability analysis situation described
below:

A telemetry system contains a periodic telemetry data Gatherer task which executes
periodically for every 100ms. When activated, this task gets data from a passive sensor in
15ms. The obtained data is formatted in 5ms. The formatted data is written into shared data
area in 10ms. Acquiring and releasing of the shared data takes each .5ms. The total
processing of data gathering takes not more than 40ms. [15]

Q.4 Apply UML based approach for modeling specification of Vending Machine:

A VendingMachine (VM) sells drinks. It sells water at the price of 50 ps, a softdrink at the
price of 1 Re, and tea at the price of 1Re.50ps. As coins are inserted (say through a coin
collector), lamps on a choice panel signal the possible choices the buyer is eligible to select
the drink depending on coins already inserted and availability of the drink. After pushing
one of the enabled buttons, the corresponding drink is prepared and dispensed, and the
inserted money is stored in the machine. Also a change is given to the customer if required.
(Assume for reasons of simplicity, the VendingMachine is not very sophisticated concerning
money handling, as it does not keep track whether it has some change from previous
buyings. It is for example not possible to buy water if only a 1 Re coin is inserted). The
coins are returned in case no drink is available displaying an appropriate message. Also a
user may cancel his transaction provided the drink is not yet dispensed, by pressing a
CANCEL button. [20]
**********
No. of Pages = 1
No. of Questions = 4

S-ar putea să vă placă și