+1 vote
in Software Engineering by
A train protection system automatically applies the brakes of a train if the speed limit for a segment of track is exceeded, or if the train enters a track segment that is currently signaled with a red light (i.e., the segment should not be entered). There are two critical-safety requirements for this train protection system:

The train shall not enter a segment of track that is signaled with a red light.

The train shall not exceed the specified speed limit for a section of track.

Assuming that the signal status and the speed limit for the track segment are transmitted to on-board software on the train before it enters the track segment, propose five possible functional system requirements for the onboard software that may be generated from the system safety requirements.

1 Answer

+2 votes
by
selected by
 
Best answer
The five possible functional system requirements for the onboard software so that the system safety requirements are fulfilled are as follows:

1. The system should ensure that brakes are applied when the red light is signalled, and an alarm is activated in the driver cabin.

2. The system should check frequently the speed of the train running on a segment of the track so that it does not exceed the speed limit of the segment of the track. In case it exceeds, the system should apply brakes automatically.

3. The system should check the color of the light before a train enters a segment of the track. If the color of the light is red, the system should apply brakes automatically and an alarm is activated in the driver cabin.

4. The system should check the speed limit and color of the light. If the train exceeds the speed limit and also a red light is signalled, then the brakes should be applied, and an alarm must be activated in the driver cabin.

5. The system should ensure that a train do not enter a segment of a track for which there is a red light.

Related questions

Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

All browsers support the hex definitions #chuck and #norris for the colors black and blue.
...