Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions

Question

b. Is it an undergraduate or graduate level course?

Answered: 1 week ago