



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A mid-semester examination for the dependable computing course in the computer science department at the university of virginia. The examination focuses on the design and functionality of an air-bag system for an automobile, including potential design faults, safety requirements, and fault tolerance mechanisms. Students are required to answer questions related to the system design, hazard analysis, and fault tree analysis.
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




. This is a closed book, closed notes examination. . Write your answers on the examination paper in ink or legible pencil. . If your answer cannot be read or understood , or if your answer is vague or confused, it will be marked wrong. . In any question, make any assumptions that you need to but document your assumptions. . The number in parentheses after each question is the number of points allocated to that ques- tion.
NAME ( Print Legibly. All Capitals ):
PLEDGE ( Write Out In Full And Sign ):
Time Limit - 75 Minutes
The following system description is used in some of the questions in this examination:
A hypothetical air-bag system for an automobile uses the following design. A variety of sensors monitor vehicle conditions and supply their readings to a computer system. The computer system attempts to detect a crash situation by comparing sensor values with pre- defined thresholds and with sensor data patterns (how the data has changed in the recent past). A small forward looking radar attempts to locate obstacles such as other vehicles in the road ahead. If the computer determines that a crash is happening based on sensor val- ues, it sends a signal to the air-bag inflation charge to cause air-bag inflation. The system performs numerous self checks on the hardware whenever a crash is not tak- ing place. If a self check fails, the system is disabled and a light is illuminated to inform the driver of the system’s non-operational status. It is not considered dangerous for the system to fail provided the failure does not occur during an accident and provided the driver’s warning light is illuminated when the problem is detected and remains illumi- nated. The following figure illustrates the system design:
Three axis vehicle speed sensor
Three axis vehicle acceleration sensor
Passenger position sensor
Forward-looking radar
Dashboard warning light
Computer system
Computer system
Computer system
Air bag inflation charge
Voting logic
Sensor data distribution
Page score
Page score
(a) Write a set definition of the set of all files that are larger than 100 MBytes. (10)
(b) Write a predicate that is true if there is a file in the file system that is of length zero. (10)