Question

In: Computer Science

Question 1 [20 Marks] In system modelling, a graphical notation is used to represent a system...

Question 1 [20 Marks]
In system modelling, a graphical notation is used to represent a system in a way which is simple to express and understand. Different models are developed to represent the system from different perspectives. Discuss the Structural and Behavioural system models in detail.

Solutions

Expert Solution

Hey there ,

Please find the answer below of question posted by you. if you feel consufed or need any other help regarding this. please comment down below or try to connect with me.

1 .Structural system Model:

Structural models:

  • In terms of the components that make up the system and their relationships, structural software models represent the organisation of a system.
  • Structural models can be static models showing the system design structure or dynamic models showing the system organisation as it is implemented.
  • When you discuss and design the system architecture, you produce structural models of a scheme.

Class diagrams

  • Class diagrams are used to display the classes in a system and the relations between these classes when designing an object-oriented system model.
  • It is possible to think of an object class as a general description of one type of device object.
  • An association is a connexion between classes that suggests that these classes have some relationship.
  • Objects reflect something in the real world when you create models during the early stages of the software engineering process, such as a patient, a medication, a doctor, etc.

UML classes and association

Classes and associations in the MHC-PMS

The Consultation class

Key points

  • An abstract view of a system that ignores system information is a model. It is possible to create complementary system models to demonstrate the meaning, relationships, structure and behaviour of the system.
  • Context models illustrate how a system that is being modelled is placed with other systems and processes in an environment.
  • The interactions between users and systems in the system being built are defined use case diagrams and sequence diagrams. Use cases explain interactions between a system and external actors; by displaying interactions between system artefacts, sequence diagrams add more detail to these.
  • Structural models display a system's organisation and architecture. The static structure of classes in a scheme and their associations are described by class diagrams.

Generalization

  • Generalization is an everyday strategy that we use for uncertainty management.
  • Instead of learning the detailed features of each entity we meet, we put these entities in more general classes (animals, vehicles , buildings, etc.) and learn the features of these classes.
  • This helps us to assume that there are certain similar features of various members of these groups, such as squirrels and rats being rodents.
  • In modelling systems, analysing the classes in a system to see if there is space for generalisation is also useful. If changes are proposed, then to see if they are impacted by the change, you do not have to look at all groups in the system.
  • Generalization is implemented in object-oriented languages, including Java, using the class inheritance mechanisms built into the language.
  • Higher-level class features and operations are also correlated with lower-level generalisation classes.
  • Subclasses are lower-level classes that inherit the attributes and operations from their superclasses. More complex attributes and operations are then introduced by these lower-level classes.

A generalization hierarchy

A generalization hierarchy with added detail

Object class aggregation models

  • A model of aggregation illustrates how other groups compose groups that are sets.
  • In semantic data models, aggregation models are analogous to part-of relationships.

The relation of aggregation

2 .Behavioral system Model:

Behavioral models

  • Behavioral models are models of a system's complex behaviour as it is implemented. They demonstrate what happens when a device reacts to a stimulus from its environment, or what is expected to happen.
  • These stimuli can be thought of as being of two kinds:
  1. Data Any data that the device has to process arrives.
  2. Events An occurrence that activates system processing occurs. Events may have similar facts, but this is not always the case.

Data-driven modeling

  • Data-processing systems are many business systems that are mostly powered by data. They are managed by the data input, with very little processing of external events, to the system.
  • The sequence of behaviour involved in processing input data and producing an related output is shown by data-driven models.
  • During the analysis of requirements, they are particularly useful as they can be used to display end-to - end processing in a system.

An action model of the function of the insulin pump

They are not flowcharts or flowgraphs; they are merely 'activities' which need to be
It must or must take place.
(This is a Pipe-Filter Architectural Model example (later))

Processing of Order-Sequence Diagram-Behavorial

Displays the Event Sequence over time as messages are transmitted from one object to another.
A particular one.
Terms: object life; lifelines; actors; unnamed objects; recursion; and more.
The scenarios in motion are very important to demonstrate. Dynamic!

Event Driven Modeling:

  • Real-time systems, with limited data processing, are mostly event-driven. for example :A landline phone switching system, for example, responds by producing a dial tone to events such as 'receiver off hook'.
  • Event-driven modelling demonstrates how external and internal events are responded by a system.
  • This is based on the premise that a system has a finite number of states and that a transition from one state to another can be induced by events (stimuli).

State Machine Modeling:

  • The system's action in response to external and internal events is modelled.
  • They display the responses of the system to stimuli, so they are also used to model real-time systems.
  • State machine models display device states between these nodes as nodes and events as arcs. The machine shifts from one state to another when an occurrence happens.
  • Statecharts are an important component of the UML and are used to display models of state machines.

State diagram of a microwave oven:

Microwave Oven Operation :

Thank You if you still need some information please try to connect with me.


Related Solutions

What is the notation used in the textbook to represent dollar's exchange rate against euro? If...
What is the notation used in the textbook to represent dollar's exchange rate against euro? If dollar appreciates against euro from yesterday to today, does this mean the exchange rate gets bigger or smaller using the notation you get from #1? Why? If dollar depreciates against euro, will this make American goods more expensive or less expensive to Eurozone buyers? Why? How does fixed exchange rate differ from floating exchange rate? How does currency union differ from dollarization?
Question 1: What is the name of the utility used to manage software from the graphical...
Question 1: What is the name of the utility used to manage software from the graphical user interface. Hint: Click on the activities menu and search for it.             Answer: Question 2: From the command line search the software repositories to find the chromium web browser. Provide the command used to find the package.             Answer: Question 3: From the command line use the software repositories to install the chromium web browser. How many dependencies will be installed alongside the...
QUESTION 3 (20 MARKS) QUESTION 3 (20 MARKS) An analysis of the Business School graduates found...
QUESTION 3 QUESTION 3 An analysis of the Business School graduates found that 210 out of 318 randomly selected graduates used An analysis of the Business School graduates found that 210 out of 318 randomly selected graduates used  a statistical inference technique during their first year of employment.a statistical inference technique during their first year of employment. (a) Calculate a 90% confidence interval for the proportion of graduates who used a statistical inference (a) Calculate a 90% confidence interval for the...
Question 1 (20 Marks) 1. One of the purposes of this class is to investigate policies...
Question 1 1. One of the purposes of this class is to investigate policies that lead to a better outcomes for society as a whole. No more is the need more pressing than the area of poverty. A) In order to measure income inequality in Canada, we need to often look at statistical methods. What are some statistical numbers/tools used to measure income inequality in Canada? Using such methods, depict (using a diagram) the case where we have perfect equality...
Question 1 (20 marks) The statements that follow are with regard to evidence that is sufficient...
Question 1 The statements that follow are with regard to evidence that is sufficient and appropriate. As a future auditor, you are required to indicate if you agree with each statement and provide reasons for your decisions: a) An auditor can only properly measure the appropriateness and sufficiency of audit evidence that will be used when expressing opinions are by utilizing the statistical sampling method only when they are gathering evidence. b) The conduction of an audit in prior years...
Question 1 (20 marks) As companies grow in size, it is inevitable for the shareholders to...
Question 1 As companies grow in size, it is inevitable for the shareholders to hire management to run the operations of the business. The entire team of management, starting from the CEO and other top-level management, all the way to the middle and bottom level management are expected to perform towards the growth of the business. Since the shareholders of large companies are scattered across geographies, they appoint certain members as representatives who are elected to represent them on the...
Question 2 [1 marks each/20 marks] True or false 5) In an unregulated competitive market, the...
Question 2 [1 marks each/20 marks] True or false 5) In an unregulated competitive market, the presence of marginal external cost of a good or service results in overproduction. 6) A marginal external cost is the cost of producing an additional unit of a good that falls on the producer. 7) Young drivers often buy used cars. An increase in the legal driving age to twenty-one shifts the demand curve for used cars leftward, whereas lowering the age to fifteen...
Question 2 [1 marks each/20 marks] True or false 5) In an unregulated competitive market, the...
Question 2 [1 marks each/20 marks] True or false 5) In an unregulated competitive market, the presence of marginal external cost of a good or service results in overproduction. 6) A marginal external cost is the cost of producing an additional unit of a good that falls on the producer. 7) Young drivers often buy used cars. An increase in the legal driving age to twenty-one shifts the demand curve for used cars leftward, whereas lowering the age to fifteen...
QUESTION 1 (20 Marks) Part A (10 Marks) Suman gained a Degree in Business when he...
QUESTION 1 Part A Suman gained a Degree in Business when he was a young lad and with skill and hard work, he has used that knowledge to start his own business He operates his own business selling computers and related equipment. Over the last financial year, sales of computers and equipment were paid for at the time of sale. During the year ended 30 June 2019, Suman received $3,000,000 in cash for sales of computers. Purchases during the year...
6.         Question 6 [Total: 20 marks]                             &
6.         Question 6 [Total: 20 marks]                                                     Please discuss how “variation margin” and “margin call” are related in the context of daily settlement procedure.                                                                                [10 marks] b) What are the most important aspects of the design of a new futures contract?      [10 marks]
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT