and Answers All Correct
What is a major difference between object-oriented development and service-oriented
development? - Answer-One development cycle vs. three development parallel cycles
What architecture best supports integration based on code migration? - Answer-
distributed object architecture
What is the standard language in CORBA that is used for defining the interface between
distributed objects? - Answer-IDL
Where does the database normally reside in the fat-client (of client-server) architecture?
- Answer-in the server layer
In service-oriented computing, the building blocks of software systems are services,
which are - Answer-loosely coupled.
In Distributed Object Architecture, what component is called the software bus? -
Answer-Object request broker
Java Enterprise Edition (Java EE) applications are based on a 4-tier architecture, which
includes (Select all that apply): - Answer-Client AND Business
If you write a program to search a UDDI service broker, what UDDI pages do you
search? - Answer-Green Pages
Service-oriented software development achieves the platform-independent computing
by - Answer-Creating service proxies in the application
A design pattern refers to - Answer-software pattern
The process of application building in SOA style includes (Select all that apply): -
Answer-code-level assembling and binding of components AND process level
specification
What statements best describe the architecture-driven approach? Select all that apply. -
Answer-Top down approach AND elaborating the architecture design into executable
, The impacts of service-oriented computing include (select all that apply): - Answer-
Programmers do not have to understand application domain AND Shorter software
development cycle
What is the proper way of creating a thread class if the class has already inherited
members from another class? - Answer-Implement the runnable interface
How is the synchronization mechanism implemented in a Java environment? - Answer-
A lock-bit in an object is set to "true" when a synchronized method accesses the object.
Compare and contrast wait( ) and sleep(t) methods defined in the library class Thread. -
Answer-A thread in the wait state cannot return to the ready state unless another thread
issues a notification.
If a method is prefixed with the keyword "synchronized", then - Answer-all objects
accessed by the method will be locked during the execution of the method.
If a higher priority thread occurs, - Answer-it preempts the lower priority thread and then
begins to execute.
What method in the C# is used to move one thread from the "wait" state to the "ready"
state? - Answer-Monitor.Pulse(...);
What method in C# can be used if the calling thread does not want to be blocked, even
if the object to be accessed is locked by another thread? - Answer-Monitor.TryEnter(...);
The C# monitor class's methods Monitor.Enter and Monitor.Exit can be used for -
Answer-synchronizing a set of statements, similar to the synchronized statements in
Java.
Which method is the starting point in a user-defined C# thread class? - Answer-a user-
named method
The lock(...) method in C# does not need to use try-finally exception handling, because -
Answer-exception handling is implied.
What would happen if a "WaitOne" request is called when the semaphore value is zero?
- Answer-The calling thread will be blocked.
A semaphore has a minimum value and a maximum value. Which operation will cause
an exception? - Answer-A semaphore release when its value is at the maximum value.
A C# delegate (Select all that apply) - Answer-allows a method name to be passed as a
parameter AND allows the same method call to be associated with different method
codes.