0% found this document useful (0 votes)
21 views4 pages

Overview of Structured Analysis and Design

Structured analysis and design are methodologies in software development that outline steps from planning to implementation while clarifying user and system requirements. An Entity Relationship Diagram (ERD) visually represents data relationships within an organization, highlighting entities, primary keys, and foreign keys that establish connections between them. Relationships in an ERD describe interactions between entities, often represented by verbs, to provide additional context beyond the entities themselves.

Uploaded by

Hari pro
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views4 pages

Overview of Structured Analysis and Design

Structured analysis and design are methodologies in software development that outline steps from planning to implementation while clarifying user and system requirements. An Entity Relationship Diagram (ERD) visually represents data relationships within an organization, highlighting entities, primary keys, and foreign keys that establish connections between them. Relationships in an ERD describe interactions between entities, often represented by verbs, to provide additional context beyond the entities themselves.

Uploaded by

Hari pro
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

What is structured analysis and design

- Structured design defines structured steps in software development process, starting from planning, analysis, design,
implementation, and supporting.
- Structured analysis defines and clarifies user and system requirements

Logical vs physical design

- Logical design illustrates the specific entities, attributes and relationships involved. (description)
- Physical design represents an application and database-specific implementation of a logical data model.

What is an ERD

- Entity relationship diagram which represents a logical representation of the data of an organisation or business area

Entities
- Entities is a collection of things that share common properties of characteristics. The entity type is given a name which is
always singular. Example like customer, supplier, product, employee, and student.

What is primary key


- One attribute whose value can uniquely identify a complete record or one row of data within an entity.
- Primary key cannot be empty or null and it does not change.
What is foreign key

- A copy of primary key that exists in another entity for the purpose of forming relationship between the entities involved

Relationships

- Relationships are usually verbs such as assign, associate, or track and provide useful information that could not be
discerned with just the entity types. Relationships are associations between or among entities.

Create an ERD based on the case given in the next slide. (Student Testing System)
Include ALL elements required by the diagram, including attributes and their types

Common questions

Powered by AI

Creating a comprehensive ERD for a Student Testing System involves identifying essential attributes such as student ID, name, and enrollment details; test ID, name, and subject; question ID, text, and type; and result information including scores and dates. Data types for these attributes include integers for IDs and scores, strings for names and textual information, and dates for tracking when tests are taken. These attributes form the core of the ERD, reflecting the necessary data to facilitate smooth operation and management of the testing system .

An ERD can improve the design and implementation of a Student Testing System by explicitly mapping out the key entities involved, such as students, tests, questions, results, and potentially instructors. It visualizes the relationships and constraints between these entities, such as which students have taken which tests, and tracks results over time. This clarity simplifies database design and ensures all necessary features are captured in the system, facilitating accurate data retrieval and reporting, thus enhancing the system’s functionality and usability .

Primary keys ensure data integrity in relational databases by providing a unique identifier for each record in a table, which prevents duplicate records and allows for precise modifications and deletions. Foreign keys, on the other hand, maintain integrity by matching primary keys from other tables, establishing a link between tables. This enforces referential integrity; for example, ensuring that records cannot be orphaned and that relationships between entities are consistent and valid .

Logical design in database development illustrates the entities, attributes, and relationships involved in the database, abstracting from how data is stored physically. Physical design, on the other hand, involves creating the actual database-specific implementation based on the logical design, determining how the data will be stored on disk, the indexing strategy, and other performance considerations .

Designing both logical and physical database models is crucial as these models serve complementary roles in system development and performance. A logical model provides a clear outline of the data structure and relationships abstract from technology considerations, ensuring all business requirements are represented. The physical model translates this into specific technology implementations, considering factors such as storage optimization and access speed. Together, they ensure that the system is both functionally accurate and performs efficiently under real-world conditions, providing a blueprint for robust system implementation .

An Entity Relationship Diagram (ERD) plays a critical role in organizing data within an organization or business area by providing a visual representation of the data and their relationships. It helps identify how data entities such as customers, suppliers, or products interact with each other within the system. This organizational clarity aids in structuring data efficiently, which is vital for database design and optimization, ensuring that all necessary data relationships and constraints are accounted for .

Entities and relationships are fundamental to creating a comprehensive database model as they define the objects that need to be represented in the database and their interconnections. Entities provide the structure for the database by representing distinct objects such as customers or products, each described by attributes. Relationships illustrate how these entities interact and depend on each other, providing additional context that defines essential business rules and constraints. This comprehensive modelling ensures that data integrity is maintained and that the system supports all required operations and queries .

A primary key must be unique and non-null to ensure that each record in a database entity can be unequivocally identified, which is fundamental for database operations such as indexing, searching, and maintaining record integrity. Unique, non-null primary keys prevent duplicate entries, allowing reliable updates, deletions, and associations with foreign keys in other tables, thus supporting efficient database operations and maintaining consistency across the database's relational structure .

Structured analysis and design contribute to software development by providing a systematic framework for understanding and documenting the requirements and functionalities needed for a system before implementation. The process involves structured steps starting from planning, where objectives are set; analysis, where user and system requirements are defined and clarified; design, focusing on detailed specifications of what the system must do; implementation, where the design is transformed into actual code; and supporting, which involves ongoing maintenance and enhancement of the software .

Relationships between entities in an ERD provide information about how entities interact with each other, specifying how data is related within the business context. This information is crucial because it reveals the dependencies and constraints necessary for processing information, such as which entities are linked through transactions or ownership. Understanding these relationships is essential for accurate database querying and for ensuring that the business processes are reflected correctly in the system, thus preventing data inconsistency and redundancy .

You might also like