Software Engineering Mcqs
What is a Range check ?

A. Check that the input does not exceed some maximum size e.g. 40 characters for a name
B. Check that the input falls within a known range
C. Use information about the input to check if it is reasonable rather than an extreme value
D. None of the mentioned

Exception handling is a mechanism to provide some fault avoidance ?

A. True
B. False
ExpLanation: exception handling is a mechanism to provide some fault tolerance.

Which of the following is not a Protection system ?

A. System to stop a train if it passes a red light
B. System to indicate not returning of the library book
C. System to shut down a reactor if temperature/pressure are too high
D. None of the mentioned

Which of the following is a bad practice of Dependable programming ?

A. Limit the visibility of information in a program
B. Check array bounds
C. Check all inputs for validity
D. None of the mentioned

Which of the following is a layer of protection for Security ?

A. Platform-level protection
B. Application-level protection
C. Record-level protection
D. All of the mentioned

Security engineering is only concerned with maintenance of systems such that they can resist malicious attacks ?

A. True
B. False
ExpLanation: security engineering is concerned with maintenance as well as development of such systems.