Docsity

Final Examination - Software Verification and Validation | CSE 565, Exams of Computer Science

Toggle sidebar
bg1
CSE 565: Software Verification and Validation
Department of Computer Science and Engineering
Arizona State University
Tempe, AZ 85287
Final Examination
Out: Dec. 5, 2005
Due: Dec. 13, 2005 at 5 PM
Submit your answer to the TA at [email protected] electronically. You must work
alone, i.e., you should not discuss this examination with your fellow students or any one
else. You can use any library or Internet but you should not communicate any ideas with
any person. Submit your answer as soon as possible when you completed this final to
avoid possible mailbox overflow at the due day. By the way, any one who intentionally
flood the mailbox will be prosecuted.
If the final examination is revised, we will broadcast on the web. So, please check the
class website carefully during the final examination period.
The penalty for late submission is as follows:
One hour: 20%
Two hours: 40%
Three hours: 60%
Four hours: 80%
Five hours (10 PM): 100% (no credit)
Section A: This section is related to general testing (8%)
1. Can we use partition testing and random testing with MtSS? If yes, illustrate your
answer, if no, state your reasons. (2%)
2. What kinds of faults can data-flow testing usually find? (2%) What kinds of data
flow bugs can a Web service have? (4%)
Section B: This section is related to model checking of web services (22%)
3. Give 3 features of model checking (3%)
4. Find and explain at least 3 advantages of model checking over testing. (3%)
5. Describe the process of model checking. (5%)
6. Describe the 3 phases of verification lifecycle in model checking. (6%)
7. How can model checking be useful for verifying SOA? Use an example to illustrate this (5%)
1
pf2

Partial preview of the text

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

CSE 565: Software Verification and Validation

Department of Computer Science and Engineering

Arizona State University

Tempe, AZ 85287

Final Examination

Out: Dec. 5, 2005

Due: Dec. 13, 2005 at 5 PM

Submit your answer to the TA at [email protected] electronically. You must work

alone, i.e., you should not discuss this examination with your fellow students or any one

else. You can use any library or Internet but you should not communicate any ideas with

any person. Submit your answer as soon as possible when you completed this final to

avoid possible mailbox overflow at the due day. By the way, any one who intentionally

flood the mailbox will be prosecuted.

If the final examination is revised, we will broadcast on the web. So, please check the

class website carefully during the final examination period.

The penalty for late submission is as follows:

One hour: 20%

Two hours: 40%

Three hours: 60%

Four hours: 80%

Five hours (10 PM): 100% (no credit)

Section A: This section is related to general testing ( 8 %)

1. Can we use partition testing and random testing with MtSS? If yes, illustrate your

answer, if no, state your reasons. (2%)

2. What kinds of faults can data-flow testing usually find? (2%) What kinds of data

flow bugs can a Web service have? (4%)

Section B: This section is related to model checking of web services (22%)

3. Give 3 features of model checking ( 3 %) 4. Find and explain at least 3 advantages of model checking over testing. ( 3 %) 5. Describe the process of model checking. ( 5 %) 6. Describe the 3 phases of verification lifecycle in model checking. (6%) 7. How can model checking be useful for verifying SOA? Use an example to illustrate this (5%)

Section C: This section is related to collaboration and interoperability V&V ( 17 %)

8. What is a use scenario? Give a use scenario example. (2%) 9. Can ebXML server be viewed as a service registry? (2%). What are CPP and CPA in ebXML? ( 2 %) 10. What kind of analyses & checking can we do with a specified use scenario? List at least 3 analysis techniques. (6%) 11. What kinds of testing techniques can be used to verify a use scenario? Describe these techniques? (5%)

Section D: This section is related to WS group testing ( 35 %)

12. Can we apply MtSS or MfSS testing techniques to test service-oriented software?

Why or why not? Illustrate your answer (8%)

13. How can a UDDI server utilize all the test scripts supplied by the service provider?

Illustrate your answer (4%)

14. Can we apply regression testing to web service testing? If yes, illustrate your

answer. If no, state the reason (4%).

15. How can a client utilize the test scripts supplied by the service provider? (4%)

16. It is impossible to verify a web service because a participating service may reside

on its own host and if the host cannot be trusted, there is no way of verifying the

software remotely. Thus it is impossible to verify a remote web service. Is this the

case? Why or why not. (5%)

17. One particular method uses Petri net to analyze and verify composite WS. Describe

the technique briefly, and describe the strength and limitation of this approach.

(10%). Hint: you can find some material at the class website

http://asusrl.eas.asu.edu/cse565/classinfo/classinfo.htm, and click the link Current

Solution for Web Service Composition.

Section E: This section is related to CSOA (or Collaborative SOA). ( 18 %)

18. Describe the CSOA as presented in the class. Compare CSOA with traditional

SOA. (6%)

19. Describe a testing (or verification) framework for CSOA, limit your answer to this

question to at most 2 pages with at least one figure. (12%)