Explain when it may be cost-effective to use formal specification and verification in the development of safety-critical software systems. Why do you think that critical systems engineers are against the use of formal methods?
What will be an ideal response?
Formal methods can be cost-effective in the development of safety-critical software
systems because the costs of system failure are very high and so additional cost in
the development process is justified. Most safety-critical systems have to gain
regulatory approval before they are used and it is a very expensive process to
convince a regulator that a system is safe. The use of a formal specification and
associated correctness argument may be less than the costs e.g. of additional testing
to convince the regulator of the safety of the system.
Some developers of systems are against the use of formal methods because
they are unfamiliar with the technology and unconvinced that a formal
specification can be complete representation of the system. Furthermore, the
problem with formal specifications are that they cannot be understood by system
customers so they may conceal errors and give a false picture of the correctness of
the system.
You might also like to view...
Nontype parameters are:
a. Unable to have default arguments. b. Specified before the angle-bracket-enclosed type-parameter list. c. const. d. Required for class templates.
Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several trips by recording miles driven and gallons used for each trip. Develop a C++ program that uses a while statement to input the miles driven and gallons used for each trip. The program should calculate and display the miles per gallon obtained for each trip and print the combined miles per gallon obtained for all tankfuls up to this point.
a) Read the problem statement. b) Formulate the algorithm using pseudocode and top-down, stepwise refinement. c) Write a C++ program. d) Test, debug and execute the C++ program. ``` Enter miles driven (-1 to quit): 287 Enter gallons used: 13 MPG this trip: 22.076923 Total MPG: 22.076923 Enter miles driven (-1 to quit): 200 Enter gallons used: 10 MPG this trip: 20.000000 Total MPG: 21.173913 Enter the miles driven (-1 to quit): 120 Enter gallons used: 5 MPG this trip: 24.000000 Total MPG: 21.678571 Enter the miles used (-1 to quit): -1 ```
The first slide in the presentation is called the ________ slide
A) Template B) Theme C) Information D) Title
You have been given both a physical and logical network diagram for your company's enterprise. Which of the following information is only shown in the physical network diagram?
A. device name B. cabling used C. IP address D. device role