6.4 Draw diagrams showing a conceptual view and a process view of the
architectures of the following systems:
Ans.
A ticket machine used by passengers
at a railway stations.
A computer-controlled video
conferencing system that allows video, audio, and computer data to be visible
to several participants at the same time.
A robot floor-cleaner that is
intended to clean relatively clear spaces such as corridors. The cleaner must
be able to sense walls and other obstructions.
6.5 A software system will be built to allow drones to
autonomously herd cattle in farms. These drones can be remotely controlled by
human operators. Explain how multiple architectural patterns can fit together
to help build this kind of system.
The model manages fundamental behaviors and data of the application. It can respond to requests for information, respond to instructions to change the state of its information, and even to notify observers in event-driven systems when information changes. This could be a database, or any number of data structures or storage systems. In short, it is the data and data-management of the application.
The view effectively provides the user interface element of the application. It'll render data from the model into a form that is suitable for the user interface.
The controller receives user input and makes calls to model objects and the view to perform appropriate actions.
All in all, these three components work together to create the three basic components of MVC.
6.6 Suggest an architecture for a system (such as iTunes)
that is used to sell and distribute music on the internet. What architectural
patterns is the basis for your proposed architecture?
Client server model is
the appropriate architectural pattern for such kind of system. iTunes stores all the
music they sell in a database where the
client can search these tracks by artist name, genre, etc. all via web based interface.
Also, tracks can be downloaded and paid accordingly.
Then, the server manages the music ordering also via web based interface.
6.7 An information system is to be developed to maintain
information about assets owned by a utility company such as buildings, vehicles,
and equipment. It is intended that this will be updatable by staff working in
the field using mobile device as new asset information becomes available. The company
has several existing asset databases that should be integrated through this
system. Design a layered architecture for this asset management system based on
the generic information system architecture shown in figure 6.8
6.8 using the generic model of a language processing system
presented here design the architecture of a system that accepts natural language
commands and translates these into database queries in a language such as SQL.
Walang komento:
Mag-post ng isang Komento