Question: Qno 1 With the Active Object design pattern, the order of method execution follows the order of method invocation. True or False Qno 2 Which

Qno1 With the Active Object design pattern, the order of method execution follows the order of method invocation.
True or False
Qno 2Which of the following is true about a Thread?
A thread is a static entity made up of program statements.
A thread can NOT has its own data and status.
A thread can be associated with more than one process in the same time.
A thread allocates part of the processs resources for its needs.
Question 3
0.5 Points
Which of the following is true about Concurrency Architecture?
Special hardware architecture needed to perform multi-threading.
Another term for multi-processing, system with more than one CPU.
The concurrency architecture identifies the threads of execution, the allocation of software elements to those threads, specifies how the threads will be scheduled, and defines how resources will be shared among them.
A platform (Operating System plus hardware) specialized for running multi-threaded applications.
Question 4
0.5 Points
Which of the following is true about a Thread?
A thread can be associated with more than one process in the same time
A thread allocates part of the processs resources for its needs.
A thread can NOT has its own data and status.
A thread is a static entity made up of program statements.
Which concurrency pattern you should use to implement a high-performance multi-threaded server application?
Reactor
Active Object
Monitor
Lead/Followers
Question 6
0.5 Points
Which of the following is true about a parallel system?
It gives the appearance of several tasks executing at once.
It can improve performance by a factor of n, where n is the number of CPUs in the system.
It can only run Java and Python programs.
It requires a multiple CPU system.
Question 7
1 Point
Which of the following suggests the use of a Monitor Object pattern?
When Multiple threads of control accessing the same object concurrently and we want to ensure that only one method at a time runs within an object.
When we want to decouple asynchronous and synchronous service processing in concurrent systems, to simplify programming without unduly reducing performance.
In an event-driven application where multiple service requests arriving on a set of event sources must be processed efficiently by multiple threads that share the event sources.
When we want to decouple method execution from method invocation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!