Sofware Enggc Practical 3rd Semester Btech
Sofware Enggc Practical 3rd Semester Btech
Purpose of SRS:
An SRS provides a comprehensive descrip on of the intended func onality, constraints, and performance criteria of a
so ware project. It acts as a contract between the development team and stakeholders.
1. Introduc on:
o Scope: Briefly describes the so ware, its func ons, and benefits.
o Defini ons, Acronyms, and Abbrevia ons: Lists key terms used in the document.
o Constraints: Lists system constraints like regulatory policies or hardware limita ons.
o Assump ons and Dependencies: Outlines assump ons affec ng the system.
3. Specific Requirements:
4. Appendices:
o Addi onal informa on such as analysis models, data descrip ons, and glossary.
1. Introduc on:
Purpose: The system enables students to register for courses online, view schedules, and receive
no fica ons.
Scope: This system will replace manual registra on, reducing errors and processing me.
Defini ons: Terms like "student," "course," and "registra on" are defined.
Product Func ons: Register for courses, manage schedules, generate reports.
User Characteris cs: Students and administrators with basic computer skills.
Constraints: Must comply with university regula ons and be accessible 24/7.
3. Specific Requirements:
Performance Requirements: The system should handle 1000 simultaneous users with a maximum response
me of 2 seconds.
4. Appendices:
Prac cal 2: Develop DFD Model (Level-0, Level-1 DFD, and Data Dic onary)
Purpose of DFDs:
Data Flow Diagrams (DFDs) provide a graphical representa on of the flow of data through a system, illustra ng how
inputs are processed into outputs through various processes.
Provides an overview of the system, showing the system boundary, external en es interac ng with the
system, and the major data flows between them.
2. Level-1 DFD:
Shows more detailed data flow between processes, data stores, and external en es.
A structured repository that contains defini ons of all data elements, data flows, data stores, and processes
used in the DFDs.
Provides details such as data types, lengths, rela onships, and constraints.
Example: Library Management System
1. Level-0 DFD:
External En es:
o User (Student/Librarian)
o Book Supplier
Main Process:
Data Flows:
2. Level-1 DFD:
Sub-processes:
Data Stores:
o User Database
Data Flows:
(Process Book Requests) --> (Check Availability) --> [Book Inventory Database]
[Book Inventory Database] --> (Provide Book Details) --> (Issue Book)
Data Elements:
o User_ID: Unique iden fier for each user (Type: String, Length: 10).
o Book_ID: Unique iden fier for each book (Type: String, Length: 10).
Data Flows:
o Book_Request: Flow of data from user to system containing User_ID, Book_ID, and Request_Date.
o Issue_Details: Flow of data from system to user containing Book_ID, Issue_Date, Due_Date.
Structured design transforms the data flow diagrams into a modular and hierarchical structure, focusing on the
system's architecture, modules, and their interac ons. This approach enhances maintainability, scalability, and clarity
in the system's implementa on.
1. Iden fy Modules:
The top-level module represents the en re system, while sub-modules represent individual processes.
Use a graphical representa on to depict the hierarchy and interac ons of modules.
1. Iden fy Modules:
Sub-Modules:
o Inventory Maintenance
o Book Issuance
o Supplier Interac on
User Account Management: Handles user login, registra on, and account details.
Supplier Interac on: Handles book orders and delivery confirma ons.
4. Structured Chart:
| |
| |
Structural UML diagrams capture the sta c structure of a system, showing how system components relate to each
other. They provide a blueprint for construc ng the system's architecture.
1. Class Diagram:
2. Object Diagram:
3. Component Diagram:
4. Deployment Diagram:
1. Class Diagram:
Classes:
o Rela onships:
[User]
| userID : String
| name : String
| email : String
|
+-- [Order]
| orderID : String
| date : Date
| totalAmount : Double
+-- [Product]
| productID : String
| name : String
| price : Double
2. Object Diagram:
Objects:
o User: JohnDoe
o Order: Order1234
Rela onships:
[JohnDoe: User]
3. Component Diagram:
Components:
o Web Interface
o Payment Gateway
Dependencies:
4. Deployment Diagram:
Nodes:
o Client Machine
o Web Server
o Database Server
Ar facts:
o Web Applica on
o Database
Deployment:
[Database Server]
+-- [Database]
Behavioral UML diagrams illustrate the dynamic aspects of the system, focusing on the behavior of objects, their
interac ons, and the flow of ac vi es.
Shows actors (users or external systems) and their interac ons with use cases (func onali es).
2. Sequence Diagram:
Illustrates the sequence of messages exchanged between objects to carry out a specific func on or process.
3. Ac vity Diagram:
Emphasizes the flow of processes and the decision points within the system.
4. State Diagram:
Shows the states of an object and transi ons between those states due to events.
Actors:
o Customer
o Administrator
Use Cases:
o Book Service
o Cancel Booking
o Manage Bookings
[Customer]
[Administrator]
2. Sequence Diagram:
3. Ac vity Diagram:
Process: Booking a Service
o Includes decision points such as "Service Available?" leading to either booking confirma on or error
message.
(Start) --> [Search Services] --> [Select Service] --> [Service Available?]
| Yes | No
| |
(End)
4. State Diagram:
Object: Booking