Software Engineering Questions and Answers – Dependability and Security Assurance

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

Answer: b
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

Answer: d
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

Answer: c
Explanation: Formal methods are the ultimate static verification technique that may be used at different stages in the development process.
advertisement
advertisement

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

Answer: b
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

Answer: b
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

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

Answer: a
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

Answer: d
Explanation: None.
advertisement

8. Static analysis is now routinely used in the development of many safety and security critical systems.
a) True
b) False
View Answer

Answer: a
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

Answer: b
Explanation: Users of a programming language define error patterns, thus extending the types of error that can be detected.
advertisement

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

Answer: a
Explanation: None.

Sanfoundry Global Education & Learning Series – Software Engineering.

Here’s the list of Best Books in Software Engineering.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.