Course No. : IS ZC424 Course Title : SOFTWARE FOR EMBEDDED SYSTEMS Nature of Exam : Open Book Weightage : 60% Duration : 3 Hours Date of Exam : 30/03/2008 (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 Apply the ROPES process and perform the requirements analysis for Smart Home Controller (SHC) given below. Requirements analysis phase consists of developing Use Case diagrams with associated Use Case sequence diagrams and requirements text. Smart home controller specification is given below. Note the specification given below is only of indicative nature and needs to be elaborated during use-case modeling:
SHC device monitors the home for various sensors and actuators. It can detect smoke, fire, theft etc and inform the user as well as security agencies.
It can also be accessed by user remotely to know the status of certain electronic devices or configure them for certain activities. Clearly mention your assumptions wherever applicable. [20]
Q.2 The web is a client/server system consisting of web browsers and servers. A web browser can send requests to a web server, wait for a resource to be sent in response to the request, and then render the resource on screen. A web server is a system which waits for HTTP requests to arrive. If such a request is received, the web server analyzes it, finds the requested file in the file system, and formulates an HTTP response consisting of a set of headers and the file. An external user can interact through web browser to get the information from the web server.
(a) Identify the various actors and use cases for above mentioned system and draw the use case diagram to show the association among them. (b) Identify the various objects in the system and draw a sequence diagram to show the interaction among these. (c) Show the behavior model of the system with the help of state chart diagrams. [3 + 3 + 4 = 10]
No. of Pages = 2 No. of Questions = 4
IS ZC424 (EC-2 REGULAR) SECOND SEMESTER 2007-2008 PAGE 2
Q.3 Why real-time systems usually have to be implemented using concurrent processes? Explain with suitable examples. Discuss the various techniques to achieve the concurrency in a single processor system. [10]
Q.4 A weather mapping system is required to generate weather maps on a regular basis using data collected from remote, unattended weather stations and other data sources such as weather observers, balloons and satellites. Weather stations transmit their data to the computer in response to a request from that machine. The area computer system validates the collected data and integrates the data from different sources. The integrated data is archived and, using data from this archive and a digitized map database, a set of local weather maps is created. Maps may be printed for distribution on a special purpose map printer or may be displayed in a number of different formats.
(a) Use the ROPES process to design the above mentioned weather mapping system and give a layered architecture for it. (b) Identify the various subsystems and draw the subsystem diagrams using UML 2.0 notations to show the relationship among various objects. (c) Identify real time constraints and various quality of service (QoS) attributes in the system if any? [6 + 10 + 4 = 20]