Docsity

Final Examination for Software Verification Validation Test | CSE 565, Exams of Computer Science

Toggle sidebar
bg1
Department of Computer Science and Engineering
Arizona State University
Tempe, AZ 85287
Final Examination
CSE 565
Fall 2007
Final Examination: Take Home, Due Monday Dec. 10, 2007 at 5 PM. Submit your final
electronically to your TA. Type your answer, and make sure that your answer is as short
as possible. Budget our time wisely.
1. This question is related to safety testing (15%).
a. What are the differences between system reliability and safety? Illustrate
this using an example (3%).
b. Why is the Fault Tree Analysis (FTA) process outside in? Why? (2%)
c. What are four common techniques to handle potential hazards identified?
(3%) Which one of them is most commonly used? Why? (1%)
d. Runtime mitigation software is often the most safety-critical part of a
system. Why? (3%)
e. Is it advisable to perform safety analysis at the code level? Why or why
not (3%)?
2. This question is related to regression testing and ripple effect analysis. (10%)
a. Explain the process of applying group testing in regression testing. You
may assume that the system has 3 components only. (5%)
b. Is the group testing used in regression testing completely reliable? If yes,
state your reason. If not, explain why it is still used in practice. (3%)
c. Why is the ripple effect analysis iterative? Can it be completely
automated? (2%)
3. This question is related to testing service-oriented software. (55%)
a. What is dynamic composition? What are the limitations of current state-
of-art on dynamic composition? (5%)
b. How do you propose to test dynamic composition assuming that dynamic
composition is feasible and available today? Note that most of SOA
software does not support dynamic composition, only static composition.
(10%)
c. Design a testing framework to test an integrated SOA application. (20%)
d. Design an adaptive database scheme to store test cases for SOA testing,
knowing that we used a test ranking mechanism to adaptively rank test
cases. Make sure that you design the schema and processing algorithms
clearly. (20%)
1
pf2

Partial preview of the text

Download Final Examination for Software Verification Validation Test | CSE 565 and more Exams Computer Science in PDF only on Docsity!

Department of Computer Science and Engineering Arizona State University Tempe, AZ 85287 Final Examination CSE 565 Fall 2007 Final Examination: Take Home, Due Monday Dec. 10, 2007 at 5 PM. Submit your final electronically to your TA. Type your answer, and make sure that your answer is as short as possible. Budget our time wisely.

  1. This question is related to safety testing (15%). a. What are the differences between system reliability and safety? Illustrate this using an example (3%). b. Why is the Fault Tree Analysis (FTA) process outside in? Why? (2%) c. What are four common techniques to handle potential hazards identified? (3%) Which one of them is most commonly used? Why? (1%) d. Runtime mitigation software is often the most safety-critical part of a system. Why? (3%) e. Is it advisable to perform safety analysis at the code level? Why or why not (3%)?
  2. This question is related to regression testing and ripple effect analysis. (10%) a. Explain the process of applying group testing in regression testing. You may assume that the system has 3 components only. (5%) b. Is the group testing used in regression testing completely reliable? If yes, state your reason. If not, explain why it is still used in practice. ( 3 %) c. Why is the ripple effect analysis iterative? Can it be completely automated? (2%)
  3. This question is related to testing service-oriented software. (55%) a. What is dynamic composition? What are the limitations of current state- of-art on dynamic composition? (5%) b. How do you propose to test dynamic composition assuming that dynamic composition is feasible and available today? Note that most of SOA software does not support dynamic composition, only static composition. (10%) c. Design a testing framework to test an integrated SOA application. (20%) d. Design an adaptive database scheme to store test cases for SOA testing, knowing that we used a test ranking mechanism to adaptively rank test cases. Make sure that you design the schema and processing algorithms clearly. (20%) 1
  1. This question is related to Verification Pattern (VP). (20%) An elevator system requirement is specified as follows:
  2. There is a button panel to issue user’s request on each floor.
  3. The elevator can be turned on and off using the ‘on’ and ‘off’ buttons. There are 5 floor level buttons – ‘ 1 ’, ‘ 2 ’, ‘ 3 ’, ‘ 4 ’ and ‘ 5 ’ which can be used to choose his/her destination.
  4. There are two buttons marked as ‘open’ and ‘close’ respectively to open or close the door of the elevator.
  5. The elevator controller gets the user’s inputs (i.e., pressing the buttons) and the state of the elevator as its own input, and decide the action of the elevator.
  6. The elevator’s status includes: still, moving, door fully open, door fully closed, door opening, door closing, moving direction (only applicable while the elevator is in movement), location and moving destination.
  7. There are also some timing constraints about the elevator: moving from n-th floor to n+1 th, or n-1 th floor will take 3 seconds, make the door from fully closed to fully open will take maximally 1 second and vice versa.
  8. A user can press button to issue commands to cause the door open, which will take maximally 1 second to complete. Once the door is fully open, it will keep in the fully open status for 2 seconds.
  9. When the elevator stops at some floor, say n, and a user pressed ‘up’ or ‘down’ button at floor m, the elevator should make the elevator to go to the right floor, pick up the user and send the user to the right destination. Suppose the number of floors passed during the movement is N, the maximal time cost during this process is 3 * N seconds.
  10. When the elevator stops at some floor m, and more than one user press ‘up’ or ‘down’ button at the same time, the elevator should go to the nearest user first.
  11. When the elevator is in movement and there is one user pressed ‘up’ or ‘down’ button, there will be two situations: 1) if the user is in the direction of the elevator movement, the elevator will stop at the user’s floor and pick him/her up. 2) otherwise, the elevator will first finish serving the current users and come back to serve the new user.
  12. When the elevator is in movement and there are more than one user press ‘up’ or ‘down’ button at the same time, the elevator should do similar to scenario 8 and then serve the nearest first.
  13. The controller will get the user’s request and monitor the status of the elevator, then issue appropriate commands to the elevator. a. Identify the VPs associated with the requirements in this example. ( 2 0%) 2