MCQ On Software Reliability In Software Engineering Part-1

Here are the collections of solved multiple choice questions on software reliability on software engineering includes MCQ questions on software reliability metrics which have been used for software reliability specification along with their examples, different strategies used in reliability in a software system, structured programming and error avoidance. It also includes about different aspects to fault tolerance along with fault recovery process.

1. A software reliability matrix, .................... is a measure of the likelihood that the system will fail when a service request is made.
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Rate of Failure Occurrence (ROCOF)

2. Operating system and transaction processing system are the example systems of ................ matrix which have been used for software reliability specification.
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Rate of Failure Occurrence (ROCOF)

3. ............... is a measure of the time between observed system failures.
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Availability (AVAIL)

4. ................. is a measure of the frequency of occurrence with which unexpected behavior is likely to occur.
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Rate of Failure Occurrence (ROCOF)

5. Continuously running systems such as telephone switching systems are the example systems of software reliability matrix ..................
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Availability (AVAIL)

6. Systems with long transactions such as CAD systems are the example systems of ................ matrix.
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Availability (AVAIL)

7. ............... is a measure of how likely the system is to be available for use.
A) Probability of Failure on Demand (POFOD)
B) Rate of Failure Occurrence (ROCOF)
C) Mean Time to Failure (MTTF)
D) Availability (AVAIL)

8. Select the correct order for the steps involved in statistical testing.
i) Apply these test cases to the program.
ii) Determine the operational profile of the software.
iii) Select or generate a set of test data corresponding to the operational profile.
A) i, iii, ii
B) iii, ii, i
C) ii, iii, i
D) i, ii, iii

9. Reliability in software system can be achieved using which of the following strategies.
i) Fault Avoidance                ii) Fault Tolerance
iii) Fault Detection                iv) Fault Deletion
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

10. Fault avoidance and the development of fault-free software relies on
i) Restriction on the use of programming construct, such as pointers, which are inherently error-prone.
ii) The use of strongly typed programming language so that possible errors are detected by the language compiler.
iii) The availability of a precise system specification, which is an unambiguous description of what, must be implemented.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii
11. ...................... is a term which is to mean programming without using go to statements, programming using only while loops and if statements as control structures and designing using a top-down approach.
A) Statement programming
B) Structured programming
C) N-Version programming
D) Defensive programming

12. We can reduce the faults introduced into programs with the use of these constructs is minimized.
i) Integers     ii) Floating-Point Members      iii) Pointer     iv) Recursion
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

13.  ................... are means of forcing control to transfer to a section of code irrespective of the code currently executing.
A) Parallelism
B) Recursion
C) Interrupts
D) Pointers

14. .................. is the situation in which a subroutine calls itself or calls another subroutine, which then calls the calling subroutine.
A) Parallelism
B) Recursion
C) Interrupts
D) Pointers

15. ................ may be unavoidable but its use should be carefully controlled to minimize inter-process dependencies.
A) Parallelism
B) Recursion
C) Interrupts
D) Pointers

16. .................... is needed in situations where system failure would cause some accident or where a loss of system operation would cause large economic losses.
A) Fault avoidance
B) Fault detection
C) Fault tolerance
D) Fault recovery

17. Which of the following are the aspects to fault tolerance.
i) Failure detection      ii) Damage assessment  
iii) Fault recovery        iv) Fault repair
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

18. ................... is an approach to fault tolerance, which can be carried out without a fault-tolerant controller.
A) Exception Handling
B) Defensive Programming
C) Failure Prevention
D) Damage Assessment

Answers

1. A) Probability of Failure on Demand (POFOD)
2. B) Rate of Failure Occurrence (ROCOF)
3. C) Mean Time to Failure (MTTF)
4. B) Rate of Failure Occurrence (ROCOF)
5. D) Availability (AVAIL)
6. C) Mean Time to Failure (MTTF)
7. D) Availability (AVAIL)
8. C) ii, iii, i
9. A) i, ii and iii only
10. D) All i, ii and iii
11. B) Structured programming
12. B) ii, iii and iv only
13. C) Interrupts
14. B) Recursion
15. A) Parallelism 
16. C) Fault tolerance
17. D) All i, ii, iii and iv
18. B) Defensive Programming

Read Next:MCQ On Software Reliability In Software Engineering Part-2

MCQ On Software Reliability In Software Engineering Part-1
2017-06-06T03:07:00-07:00
Shuseel Baral
Multiple Choice Question (MCQ)|Software Engineering|