SOLUTIONS VERIFIED LATEST UPDATE
Which of the following is true about multi-threading and multi-processing?
A) threads can have multiple processes
B) processes can share runtime memory space while threads have their own
memory space
C) Object locks can be used to synchronize critical sections for both threads and
processes
D) all of the above
E) none of the above
E
Which method must be defined by a class implementing the java.lang.Runnable
interface?
A) public void run( )
B) void run( )
C) public void start( )
D) none of the above
A
Synchronized instance methods acquire lock on?
A) object level
B) method level
C) can be object level or method level depending on the implementation
D) synchronize is not a locking mechanism
A
Which of the following is true about blocked and waiting state of a thread?
, A) threads can go to the blocked state when the block() method is called on the
thread
B) threads can go to the waiting state when a thread doesn't get required
resources
C) threads can get out of a blocked state after receiving notify( ) message
D) all of the above
E) none of the above
E
What entity does not belong to the three-party model of SOC software
development?
A) Service provider
B) Service broker
C) Application builder
D) End user of software
D
What method in Java is used for moving one thread from the "wait" state to the
"runnable" state?
A) Monitor.Wait( )
B) Monitor.Notify( )
C) Notify( )
D) Unlock.Notify( )
E) Unlock( )
C
Web Service Description Language (WSDL) is used for
A) Writing the executable code of services
B) Composing applications using existing services
C) Describing the coordination among the services
D) Defining the interface of services