DBS Assignment (22-SE-67)
DBS Assignment (22-SE-67)
Assignment 01
Date: 12thFeburary, 2024
Outcomes Assessed:
CLO 1: Explain fundamental database concepts.
OR
Study the Wellmeadows Hospital case study presented in Appendix B.3. In what ways would a DBMS
help this organization? What data can you identify that needs to be represented in the database? What
relationship exist between the data items?
Q3. What are Structured Analysis techniques, in what scenarios, a specific data requirements analysis can be
applied?
2|Page
Answer:
The kind of data, the intricacy of the interactions between data entities, the necessity for scalability, and
the requirements of the application are some of the criteria that influence the selection of the best data
model. Below is a summary of potential uses for each data model:
Diagram:
3|Page
Diagram:
Structural Diagram:
Conclusion:
The particulars of the data and the application's requirements determine which data model is best. While
the network and hierarchical models may be more appropriate for situations with complicated
interactions or hierarchical structures that don't easily fit into the relational model, the relational model
is frequently a safe choice for organized data with obvious linkages.
Answer:
A DBMS can provide various benefits to the DreamHome organization:
• Branches:
➢ Information such as branch number, address, telephone numbers, manager's name, and
manager's performance-related details.
• Staff:
➢ Details about staff members including staff number, name, address, position, salary,
supervisor's name (if applicable), and branch office information.
• Properties for Rent:
➢ Data related to properties available for rent, including property number, address, type,
number of rooms, monthly rent, and property owner details.
• Property Owners:
➢ Owner information such as name, address, contact information, and type of ownership
(private or business).
• Clients:
➢ Information about clients, including their name, contact information, preferred type of
accommodation, and maximum rent.
• Leases:
➢ Details regarding leases such as lease number, client information, property details, rental
information, and lease duration.
• Newspapers:
➢ Information about newspapers such as name, contact information, and advertisement
details.
The relationships between the data items in the DreamHome database are as follows:
➢ To maintain data integrity and efficient querying, these relationships would need to be adequately
modeled in the database schema.
Structured Analysis:
A development technique called "structured analysis" enables an analyst to rationally understand the
system and its operations.
It is a methodical process that makes use of graphical tools to evaluate and improve the goals of a
current system and create a new, user-friendly system specification.
➢ It shows the flow of data between various functions of system and specifies how the current system
is implemented.
➢ It is an initial stage of design phase that functionally divides the requirement specifications down
to the lowest level of detail.
➢ Its graphical nature makes it a good communication tool between user and analyst or analyst and
system designer.
➢ It gives an overview of what data a system processes, what transformations are performed, what
data are stored, what results are produced and where they flow.
When the user wants a notational language for communication and the needed design is unclear, DFD is
simple to comprehend and extremely effective. To get the most precise and comprehensive answer,
though, a lot of iterations are needed.
The following table shows the symbols used in designing a DFD and their significance:
Types of DFD
DFDs are of two types: Physical DFD and Logical DFD. The following table lists the points that
differentiate a physical DFD from a logical DFD.
Context Diagram:
A context diagram helps in understanding the entire system by one DFD which gives the overview of a
system. It starts with mentioning major processes with little details and then goes onto giving more details
of the processes with the top-down approach.
Data Dictionary
A data dictionary is a structured repository of data elements in the system. It stores the descriptions of
all DFD data elements that is, details and definitions of data flows, data stores, data stored in data stores,
and the processes.
A data dictionary improves the communication between the analyst and the user. It plays a key role in
building a database. Most DBMSs have a data dictionary as a standard feature. For example, refer the
following table.
Decision Trees:
Decision trees are a method for defining complex relationships by describing decisions and avoiding the
problems in communication. A decision tree is a diagram that shows alternative actions and conditions
within horizontal tree framework. Thus, it depicts which conditions to consider first, second, and so on.
11 | P a g e
Decision trees depict the relationship of each condition and their permissible actions. A square node
writes down an action, and a circle writes down a condition. It forces analysts to consider the sequence
of decisions and names the actual decision that must be made.
➢ Use DFD at high- or low-level analysis for providing good system documentations.
➢ Use data dictionary to simplify the structure for meeting the data requirement of the system.
➢ Use structured English if there are many loops and actions are complex.
➢ Use decision tables when there are a large number of conditions to check, and logic is complex.
➢ Use decision trees when sequencing of conditions is important and if there are few conditions to
be tested.
References:
➢ https://www.transtutors.com/questions/a-database-approach-uses-different-data-models-common-
database-models-include-the-re-6749362.htm
➢ https://www.geeksforgeeks.org/difference-between-hierarchical-network-and-relational-data-model/
➢ https://www.tutorialspoint.com/system_analysis_and_design/system_analysis_and_design_structured.ht