Architectural Design(part 2)
In this section of unit 3, we studied about control models and its types whi includes: centralized control model and event-driven model. We also discussed about the domain specific architecture.
Summary
In this section of unit 3, we studied about control models and its types whi includes: centralized control model and event-driven model. We also discussed about the domain specific architecture.
Things to Remember
- A control model deals with control flow between the subsystems. It has two types: centralized control model and event-driven model.
- Centralized control model: In this model, one of the subsystems is designated as system controller with responsibility for managing the execution of other subsystems. It has two types: call-return model and manager model.
- Event-driven model:These models are driven by externally generated events. There are two types : broadcast model and interrupt-driven model.
- The above architecture models are general models. They can be applied to many classes of application. As well as those general models, architectural models that are specific to particular application domain are called domain specific architecture.
MCQs
No MCQs found.
Subjective Questions
Q1:
Define pneumonia?
Type: Very_short Difficulty: Easy
Q2:
What are the causes and symptoms of pneumonia?
Type: Long Difficulty: Easy
<p> </p>
<p><strong> </strong>causes of pneumonia are:</p>
<p>Pneumonia has many possible causes. The most common are bacteria and viruses in the air we breathe.</p>
<p>Pneumonia is classified according to the types of germs that cause it, and where you acquired the infection.</p>
<ol>
<li>Community-acquired pneumonia</li>
</ol>
<p>Community-acquired pneumonia is the most common type of pneumonia. It occurs outside of hospitals and other health care facilities, and may be caused by:</p>
<p>- Bacteria, such as Streptococcus pneumoniae. Bacterial community-acquired pneumonia can occur on its own or after you have a cold or respiratory flu. .</p>
<p> </p>
<p>- Viruses, including some that are the same type of viruses that cause colds and flu. Viruses are the most common cause of pneumonia in children younger than 2 years. - Fungi, which can be found in soil and in bird droppings. This type of pneumonia is most common in people with an underlying health problem or weakened immune system and in people who have inhaled a large dose of the organisms.</p>
<p> </p>
<p>Signs and symptoms of pneumonia include:</p>
<p>- Fever, sweating and shaking chills</p>
<p>- Cough, which may produce thick, sticky fluid</p>
<p>- Chest pain when you breathe deeply or cough</p>
<p>- Shortness of breath</p>
<p>- Fatigue and muscle aches</p>
<p>- Nausea, vomiting or diarrhea</p>
<p>- Headache</p>
Q3:
List down the tests and diagnosis for pneumonia?
Type: Short Difficulty: Easy
<p>If pneumonia is suspected, your doctor may recommend:</p>
<p>- Chest X-rays, to confirm the presence of pneumonia and determine the extent and location of the infection.</p>
<p>- Blood tests, to confirm the presence of infection and to try to identify the type of organism causing the infection. Precise identification occurs in only about half of people with pneumonia.</p>
<p>- Pulse oximetry, to measure the oxygen level in your blood. Pneumonia can prevent your lungs from moving enough oxygen into your bloodstream.</p>
<p>- Sputum test. A sample of fluid from yours lungs (sputum) is taken after a deep cough, and analyzed to pinpoint the type of infection.</p>
<p> </p>
<p> </p>
<p> </p>
Q4:
What are the treatment and drugs used for pneumonia?
Type: Short Difficulty: Easy
<p>Specific treatments depend on the type and severity of your pneumonia, and your age and overall health. The options include:</p>
<p>- Antibiotics, to treat bacterial pneumonia. It may take time to identify the type of bacteria causing your pneumonia and to choose the best antibiotic to treat it. Symptoms often improve within three days, although improvement usually takes twice as long in smokers.</p>
<p>- Antiviral medications, to treat viral pneumonia. Symptoms generally improve in one to three weeks</p>
<p>- Fever reducers, such as aspirin or ibuprofen.</p>
<p>- Cough medicine, to calm your cough so you can rest. Because coughing helps loosen and move fluid from your lungs, it's a good idea not to eliminate your cough completely.</p>
Videos
No videos found.

Architectural Design(part 2)
Control Model
A control model deals with control flow between the subsystems. In order to make a system work effectively, its constituent sub systems must be controlled to ensure that the services are delivered in a precise manner. There are two types of control models. They are:
A)Centralized Control Model
In this model, one of the subsystems is designated as system controller with responsibility for managing the execution of other subsystems. Depending on whether the controller system executes sequentially or in parallel, the centralized controlled models are of two types:
a)Call- return Model: This is a top- down sub-routine model where the control passes from a higher level subroutine in a hierarchy to the lower level routine. This model is only applicable to sequential system. In this model, currently executing subroutine has the responsibility for control. It can either call other subroutines or returns control to its parent.(Sommerville SE_book)
.jpg)
b)Manager Model: This is applicable for concurrent systems. One system component is designed as a system manager that manages the starting, stopping, and coordination of other system processes. A process is a subsystem that can execute in parallel with other processes. It is also applied in sequential systems where a management routine calls a particular subsystem depending on the values of same state variables through case statement. It is useful in soft-real time systems where time is not a tight constraint. It requires very powerful algorithm to control concurrent processes.
.jpg)
B)Event -Driven Model
These models are driven by externally generated events. There are two types of such models which are:
a)Broadcast Model: These are appropriate for integrating subsystems distributed across different computers on a network. In this model, an event is broadcast to all the subsystems. Any subsystems which can handle that event respond to it. The event and message handler maintain a register of subsystems and the events of interest to them. The event handler detects the event to those subsystems that have registered an interest in the event. A subsystem can send a message to another subsystem.
.jpg)
b)Interrupt-Driven Model: These are exclusively used in real time system with stringent timing requirement. The external events are detected by an interrupt handler. In an interrupt driven model, the interrupt types are identified with their respective handlers. Each interrupt is associated with the memory location
where handlers address is stored.
.jpg)
Domain Specific Architecture
The above architecture models are general models. They can be applied to many classes of application. As well as those general models, architectural models that are specific to particular application domain are called domain specific architecture.
There are two types of domain-specific architecture models:
- General Models: These are abstractions from a number of real systems. They encapsulate principal characteristics of these real-time systems. These may be reused directly in a design. Eg: compiler model.
- Reference Model:These are more abstract and describe a larger class of systems. These include all the features that system might incorporate. These are used to communication domain concepts and compare or evaluate possible architectures. It may be used as a basis for system implementation. Eg OSI model.
Difference between Generic and Reference Model
- Generic model may reuse directly in a design.
- Reference model are normally used to communicate domain concept and compare possible architectures.
- Generic models are usually derived “bottom-up” from existing system.
- Reference modes are derived from “top-down”.
- Generic models are abstract system representations.
- Reference model do not necessarily reflect the actual architecture of existing system in the domain.
Reference:
Lesson
Architectural Design
Subject
Software Engineering
Grade
IT
Recent Notes
No recent notes.
Related Notes
No related notes.