SD Unit Ii
SD Unit Ii
Processes are never nested inside one another. If the node has
multiple processors, then true concurrency on that node is possible.
If the node has only one processor, there is only the illusion of true
concurrency, carried out by the underlying operating system.
A thread is lightweight.
It may be known to the operating system itself.
More often, it is hidden inside a heavier-weight process and runs inside
the address space of the enclosing process.
In Java, for example, a thread is a child of the class Thread. All the
threads that live in the context of a process are peers of one another,
contending for the same resources accessible inside the process.
Threads are never nested inside one another. In general, there is only
the illusion of true concurrency among threads because it is processes,
not threads, that are scheduled by a node's operating system.
General description of various models / UML
Models / UML Modelling
Types of UML modeling:
• Structural Modeling
• Behavioral Modeling
• Architectural Modeling
Structural Modeling
Structural modeling captures the static features of a system. They consist of the following
−
• Classes diagrams
• Objects diagrams
• Deployment diagrams
• Package diagrams
• Composite structure diagram
• Component diagram
Structural model represents the framework for the system and this framework is the place
where all other components exist. Hence, the class diagram, component diagram and
deployment diagrams are part of structural modeling. They all represent the elements and
the mechanism to assemble them.
The structural model never describes the dynamic behavior of the system. Class diagram
is the most widely used structural diagram.
Behavioral Modeling
• Activity diagrams
• Interaction diagrams
• Use case diagrams