This set of Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Dependability and Security Assurance”.
1. Static Analysis involves executing a program.
a) True
b) False
View Answer
Explanation: Static analysis techniques are system verification techniques that don’t involve executing a program.
2. Which of the following is a technique covered in Static Analysis ?
a) Formal verification
b) Model checking
c) Automated program analysis
d) All of the mentioned
View Answer
Explanation: None.
3. Select the disadvantage of using Formal methods
a) Concurrent systems can be analysed to discover race conditions that might lead to deadlock
b) Producing a mathematical specification requires a detailed analysis of the requirements
c) They require the use of specialised notations that cannot be understood by domain experts
d) All of the mentioned
View Answer
Explanation: Formal methods are the ultimate static verification technique that may be used at different stages in the development process.
4. Which of the following is incorrect with respect to Model Checking?
a) Model checking is particularly valuable for verifying concurrent systems
b) Model checking is computationally very inexpensive
c) The model checker explores all possible paths through the model
d) All of the mentioned
View Answer
Explanation: Model checking is very expensive.It is only practical to use it in the verification of small to medium sized critical systems.
5. Choose the fault class in which the following automated static analysis check would fall:”Variables declared but never used”.
a) Control Faults
b) Data Faults
c) Input/Output Faults
d) Interface faults
View Answer
Explanation: None.
6. Choose the fault class in which the following automated static analysis check would fall: “Unreachable code”.
a) Control Faults
b) Data Faults
c) Input/Output Faults
d) Interface faults
View Answer
Explanation: None.
7. Choose the fault class in which the following automated static analysis check would fall:”Non-usage of the results of functions”.
a) Storage management faults
b) Data Faults
c) Input/Output Faults
d) Interface faults
View Answer
Explanation: None.
8. Static analysis is now routinely used in the development of many safety and security critical systems.
a) True
b) False
View Answer
Explanation: The static analyzer can discover areas of vulnerability such as buffer overflows or unchecked inputs
9. Which level of Static Analysis allows specific rules that apply to a program to be checked ?
a) Characteristic error checking
b) User-defined error checking
c) Assertion checking
d) All of the mentioned
View Answer
Explanation: Users of a programming language define error patterns, thus extending the types of error that can be detected.
10. Choose the fault class in which the following automated static analysis check would fall:”Pointer Arithmetic”.
a) Storage management faults
b) Data Faults
c) Input/Output Faults
d) Interface faults
View Answer
Explanation: None.
Sanfoundry Global Education & Learning Series – Software Engineering.
Here’s the list of Best Books in Software Engineering.
- Check Software Engineering Books
- Practice Information Technology MCQs
- Practice Computer Science MCQs
- Practice BCA MCQs
- Check Computer Science Books