Course No. : IS ZC424 Course Title : SOFTWARE FOR EMBEDDED SYSTEMS Nature of Exam : Open Book Weightage : 60% Duration : 3 Hours Date of Exam : 01/04/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.
Q1. and Q2 are based on application of SPT profile stereotypes, tags (schedulability, performance)
Q.1 (a) State the main domain concepts of Schedulability Analysis package of SPT profile [5]
Q.1 (b) A telemetry system consists of a Telemetry Gatherer (which interfaces with a sensor), a Data Displayer, and a DataProcessor. Gatherer periodically gets data from sensor and displayer displays the data periodically on a display interface. The system is to be deployed on a Ix86 Processor associated with a clock. Represent class diagram of the system as well as sequence or collaboration diagrams representing various scenarios of triggers and responses. Annotate the model with stereotypes from schedulability package of SPT profile with suitable data. [10]
Q.2 Web video application model: The user makes a selection through the web browser (b), asking the remote web server (ws) for a video to be fed back to the users site. Based on the selection, the web server chooses an appropriate video server (vs), which initiates a video player (vp) on the users site and then sends it a stream of video frames. The video frames are displayed back to the user through a dedicated video window (vw). Represent deployment diagram of the system as well as sequence or collaboration diagrams representing various scenarios of triggers and responses. Annotate the model with stereotypes from Performance package of SPT profile with suitable data pertaining to requirements: (estimate) video server processing demand per frame: mean = 10 ms; (estimate) video viewer processing demand per frame: mean = 15 ms, standard deviation (stdv) = 10 ms; (assumed) network delay distribution: exponential with mean: 10 ms; (measured) local network packets per frame: 65; (measured) file operations per frame, for retrieval for the video server: 12; the number of users active in the system at one time is limited to $NUsers; external delay: each user has an average delay between ending one session and beginning another of 20 minutes; frames in a video: $N, a variable; video frame interval: 30 ms. [15]
PAGE 1 OF 2 PTO No. of Pages = 2 No. of Questions = 4 IS ZC424 (EC-2 REGULAR) SECOND SEMESTER 2006-2007 PAGE 2
For Q3, Q4, design suitable patterns for the given contexts/problems. Follow pattern description format to describe the various aspects of the pattern. State the implementation issues, if any, briefly and precisely
Q.3 Context: consider a service oriented architecture where clients seek certain services from dynamically configurable servers. Clients request for services. A suitable server is identified dynamically and physical identification is passed to clients. Then the clients directly establish the connections with the server. For performance reasons the clients may use low-level communication mechanisms, whenever possible, provided by the OS e.g. sockets ports, tcp/ip ports, etc. But these specific mechanisms are separated from main application functionality of the clients. Also differentiate the above context when clients and servers are located on different address spaces e.g. different processes, or different nodes. Assume synchronous communication for above contexts. (also compare with forwarder-receiver, client-dispatcher-server, and publisher-subscriber patterns) [15]
Q.4 Context: Consider reliable communication scenario between a sender and a receiver over an unreliable communication medium with the levels of communication reliability: At Most Once (AMO) Message transmitted exactly once. Design a pattern, by extending the functionality of forwarder & receiver pattern that implements EO semantics for reliable communication over unreliable communication medium. [15]