Course No. : IS ZC424 Course Title : SOFTWARE FOR EMBEDDED SYSTEMS Nature of Exam : Open Book Weightage : 60% Duration : 3 Hours Date of Exam : 28/09/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. Leave about one inch margin space on all four sides of the answersheet. 4. Mobile phones and computers of any kind should not be used inside the examination hall.
Q.1 Find and represent the requirements, functional, and dynamic aspects of the following case study example using UML: [20]
Case study: Cruise control system (CCS) for an automobile
The CCS has a control lever with four switch positions: ACCEL (right), RESUME (left), and OFF (up or down). It also has a neutral position. The required cruise control functions are:
Automatic Cruise Control: The CCS is activated and controlled by a lever at the right- hand side of the steering wheel column. The following functions are activated in the individual switch positions ACCEL: Cruising speed is set and memorized. By holding the lever in this position, the car accelerates without using the accelerator. After releasing the lever, the achieved speed is maintained and also memorized. The cruising speed control is automatically switched off in any operation when using the footbrake. OFF(two positions): by moving the control lever either in a downward or upward direction, the cruise control can be switched off in any driving and operating condition. RESUME: the last memorized speed can be resumed by moving the lever to Resume. The memorized speed is cancelled by switching off the ignition.
Two calibration buttons are available for the maintenance technician to start and stop measured mile calibration. They are needed to set the value of a calibration constant used in distance and speed measurement.
Monitoring functions: The required vehicle monitoring functions are:
Display of average speed from the start of a trip on a mileage display screen. The driver may reset the trip start mileage. Display of average fuel consumption for a trip on a mileage display screen. The driver may reset the trip start mileage. Driver notification of required vehicle maintenance as follows: 10,000 miles for oil service and oil filter change. 50,000 miles for air filter change. 150,000 miles for major service
The three reset buttons are to be available for the maintenance technician to reinitialize the maintenance indicators after a service has been carried out. The maintenance messages are to be displayed on a maintenance display screen. When the car is within 250 miles of a maintenance threshold, there should be an intermittent message given. When the car is within 50 miles of the maintenance threshold, the message should be on constantly. Multiple messages can be on at the same time if the car has not been properly serviced.
No. of Pages = 2 No. of Questions = 4 IS ZC424 (EC-2 REGULAR) FIRST SEMESTER 2008-2009 PAGE 2
Q.2 (a). Explain the stereotypes of CoreResourceModel sub package of SPT profile. [5]
Q.2 (b). Explain how RT Time Modeling sub profile can be used conduct performance analysis of a Real-Time application models. [10]
Q.3 Many application supports concurrency to meet QoS requirements. If objects run concurrently we must synchronize access to their methods and data if these objects are shared by multiple client threads. Describe the design patterns (in detail) that support the issues of concurrency, synchronization and parallelism. [15]
Q.4 Define schedulability. Explain how client-resource modeling helps determine schedulability of given set of actions. [10]