Professional Documents
Culture Documents
Midterm Review
Type of Questions
Part I: Multiple choice and multiple answer questions:
There are 30 (15+15) multiple choice / multiple
answer questions.
Choose one answer in multiple choice;
Choose all correct answers in multiple answer
questions, which will be specified by Select all that
apply.
The types of questions are similar to lecture
exercises and quizzes.
Part II: Write-in questions
There are 20 points of write-in questions. You can be
asked to
explain concepts,
3
read a program and explain what the program does,
Sample Questions
1. What are the roles of the three parties in service-oriented software
development?
2. Compare and contrast OOC and SOC paradigms.
3. What are critical operations? What mechanisms can be used to
protect critical operations?
4. In what circumstances should an indivisible instruction be used, and
in what circumstances should the object lock be used?
5. What is the role of a service broker? What information must be
provided in order to publish a service in UDDI?
6. Given a piece of code (e.g., a piece of code similar to those in text
and in the slides):
6.1 Explain what variable is used by the producer and by the consumer
to communicate.
6.2 Do the given methods/statements need to be synchronized in the
context of the program?
6.3 If they need to be synchronized, add code to synchronize them.
7. Discuss the implications of using proxy, instead of using code
integration.
4
8. What methods can be used to store states in web services?
Multithreading with
Shared Buffer for communication
Monitors / Locks
Semaphore
5