0% found this document useful (0 votes)
63 views2 pages

Real Time System Quiz 1

This document contains a quiz on real-time systems with 5 multiple choice questions. The questions cover topics like the differences between hard and soft real-time tasks, fail-safe states in safety-critical systems, behavioral vs performance constraints, and the challenges of achieving software fault tolerance compared to hardware. Key points made are that real-time applications can contain both real-time and non-real-time tasks, fail-safe states are meaningless for safety-critical systems, and software is more difficult to make fault tolerant than hardware due to statistical correlation of failures.

Uploaded by

Reema Afifi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views2 pages

Real Time System Quiz 1

This document contains a quiz on real-time systems with 5 multiple choice questions. The questions cover topics like the differences between hard and soft real-time tasks, fail-safe states in safety-critical systems, behavioral vs performance constraints, and the challenges of achieving software fault tolerance compared to hardware. Key points made are that real-time applications can contain both real-time and non-real-time tasks, fail-safe states are meaningless for safety-critical systems, and software is more difficult to make fault tolerant than hardware due to statistical correlation of failures.

Uploaded by

Reema Afifi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Real Time System Quiz 1

Q1: State whether the following statements are TRUE or FALSE. Justify your
answer.

1- A hard real‐time application consists of only hard real‐time tasks.

FALSE. A hard real‐time application may also contain several non real‐time
tasks such as logging activities, etc.

2- Every safety‐critical real‐time system contains a fail‐safe state.

FALSE. Having fail‐safe states in safety‐critical real‐time systems is


meaningless because failure of a safety‐critical system can lead to loss of
lives, cause damage, etc. E.g.: a navigation system on‐board an aircraft.

3- A deadline constraint between two stimuli is a behavioral constraint on the


environment of the system.

TRUE. It is a behavioral constraint since the constraint is imposed on the


second stimulus event.

4- Hardware fault‐tolerance techniques are easily adaptable to provide


software fault‐tolerance.

FALSE. Hardware fault‐tolerance is usually achieved using redundancy


techniques. However, the property of statistical correlation of failures for
software renders the technique ineffective.
5- A good algorithm for scheduling of hard real‐time tasks tries to complete
each task in the shortest possible time.

FALSE. A scheduling algorithm for hard real‐time tasks is only concerned


with completing the tasks before the deadlines. Unlike desktop
applications, there is no benefit in completing each task in the shortest
possible time.

Q2: What is the difference between a performance constraint and a behavioral


constraint in a real‐time system?

Performance constraints are the constraints that are imposed on the response of
the system. Behavioral constraints are the constraints that are imposed on the
stimuli generated by the environment. Behavioral constraints ensure that the
environment of a system is well‐behaved, whereas performance constraints
ensure that the computer system performs satisfactorily.

Q5: It is difficult to achieve software fault tolerance as compared to hardware


fault tolerance. Why?

The popular technique to achieve hardware fault‐tolerance is through


redundancy. However, it much harder to achieve software fault‐tolerance
compared to hardware fault‐tolerance. A few approaches have been proposed for
software modeled on the redundancy techniques used in achieving hardware
fault‐tolerance. The reason is the statistical correlation of failures for software.
The different versions of a software component show similar failure patterns, i.e.,
they fail due to identical reasons. Moreover, fault tolerance using redundancy can
only be applied to real‐time tasks if they have large deadlines.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy