Lab Manual of SE
Lab Manual of SE
LAB Manual
Software Engineering
Submitted By:
Minha
(21-cs-01)
Submitted To:
Mr. Muhammad Awais
Lab No.01
1. Draw Activity Diagram of Sale Purchase System.
Software Engineering (CS-381L)
Lab No.2
1. Draw Sequence Diagram of School Management System.
Software Engineering (CS-381L)
Lab No.03
1. Draw a used case diagram of hospital management system.
Software Engineering (CS-381L)
Lab No. 03
1. Draw Context Model of Pizza (or other food) shop, including ordering, cooking,
delivering. Could include tables for: Customer, Orders, Products (menu items),
Ingredients, Stores.
2. Create a Level 0 Data Flow Diagram Pizza (or other food) shop, including
ordering, cooking, delivering. Could include tables for: Customer, Orders,
Products (menu items), Ingredients, Stores.
Software Engineering (CS-381L)
Write problem statement to define the project title with bounded scope of the project.
I Practical Significance
A properly defined and managed scope leads to delivering a quality product, in agreed cost and within
specified schedules to the stake-holders. Whilst there is a clear understanding of the need to achieve
project success, surprisingly little is published on significance of scope on project success. This study
discusses that scope should be properly defined and controlled and what can be the major factors behind
mismanagement of scope and how it can be overcome.
II PLO3
III CLO1
V Practical Skills
Project scope is the part of project planning that involves determining and documenting a list of specific
project goals, deliverables, features, functions, tasks, deadlines, and ultimately costs. In other words, it is
what needs to be achieved and the work that must be done to deliver a project. It is important to pin down
the scope early in a project’s life cycle as it can greatly impact the schedule or cost (or both) of the project
down the track.
Software Engineering
IX Procedure
A project scope is the first step in setting your project goals and objectives.
Achievable –Can your project’s goals and objectives be achieved, given the resources on hand?
Realistic –Are the goals and objectives easy to deliver, especially if you face problems or
complications. Will these reduce the overall quality of the project’s outcome and cause
running over budget and not meeting the set deadlines.
Time Frame –Can your project goals and objectives be met within the allocated time frame? Is
it a key criterion to meet these deadlines?
5. Identify constraints
There are always roadblocks to achieving what you were set out to do. When being aware of
possible limitations along the way, it can help you minimize problems that may delay or
constrain your ability to achieve your project’s outcome.
These can be caused by dynamic environmental conditions (internal and external),
technological glitches and/or lack of resources. Communicating such problems with your team
early on and taking steps to overcome these hurdles will reduce delays in project
completion and keep spending within budget. Whether these are based on assumptions or
uncertainty, analyzing their impact throughout the projects timeline further reduces the risk of
failure.
6. Identify necessary changes It is always best to avoid reworking the scope of your project, as it
means investing in more time, money and resources.
Software Engineering
1. Write problem statement to define Online Library Management System with bounded
scope of the project.
The creation of an effective and user-friendly Online Library Management System (OLMS)
within a precisely specified scope is the issue that has to be solved. The goal of this project
is to provide a digital platform that guarantees safe, well-organized resource access while
streamlining library operations and improving user experience. The project's scope is
limited and concentrated on these particular challenges:
1. Cataloging and Resource Organization: Users find it difficult to find and access materials
at the existing library since there isn't a structured digital catalog in place. In order to
facilitate effective resource categorization and retrieval, the project seeks to build a
complete cataloging system for books, periodicals, and digital assets.
2. User Authentication and Registration: There isn't a strong user management procedure in
the existing system. Customers will be able to register accounts, check out items, and safely
maintain their profiles thanks to the project's user-friendly registration and authentication
system.
3. Check-Out and Return Procedure: The project will provide an easy-to-use procedure for
checking out and returning books and digital resources in order to expedite the process of
borrowing and returning library goods. This entails keeping track of deadlines, controlling
renewals, and alerting users to goods that are past due.
4. Resource Reservation and Request System: The OLMS will have a function that lets
users request resources that aren't available right now and reserve resources ahead of time.
Better access to in-demand resources will be ensured, and resource usage will be optimized.
5. Access Control and Security: It's critical to safeguard user data and ensure data security.
To protect sensitive data and stop unwanted access, the project will put access control
mechanisms, secure data storage, and frequent backups into place.
6. Analytics and Reporting: The system will give administrators the ability to create reports
on user behavior, popular resources, and library usage. Allocating resources and making
decisions will be made easier with these insights.
7. Notifications and Alerts: The OLMS will include a notification system to let users know
about upcoming deadlines, the availability of reserved materials, and library events in an
effort to increase user engagement.
8. Integration with Online Databases: To increase the variety of resources available and give
users a more complete collection, the project will investigate integration with third-party
databases and digital libraries.
Software Engineering
Lab No.5
Select relevant process model to define activities and related tasks set for the assigned project.
1. Write down the Agile model activities and related tasks set for the project.
The Agile methodology is a software development process that emphasizes flexibility,
teamwork, and customer feedback. It is incremental and iterative. An Online Library
Management System’s Agile model activity can be divided into multiple phases or stages,
with different activities comprising each phase. An outline of these actions is provided
below:
1. Project Start-Up:
Describe the Online Library Management System's goals and objectives.
Determine the important parties involved, such as administrators, users, and librarians.
Make a product backlog and a high-level project plan.
2. Planning for Release:
Sort features and functionalities according to user requirements and business value.
Make a release schedule that includes an incremental delivery roadmap.
For the initial release, specify the minimum viable product (MVP).
3. Planning a Sprint:
From the product backlog, choose a few features or user stories for the next sprint.
Divide up user stories into manageable tasks.
Determine how much work will be needed for each task.
4. Sprint Management:
Create and carry out the chosen tasks and features.
Hold stand-up meetings every day to discuss issues and monitor progress.
Work closely with the developers, testers, and designers that make up the development
team.
5. Sprint Evaluation:
Present the finished features to stakeholders and get their input.
Examine the sprint objectives and determine if they were accomplished.
Based on comments, make any necessary changes to the product backlog.
6. Sprint Afterthought:
Examine the sprint's procedures and note any places that could use improvement.
Talk about what worked well and what could be improved for the upcoming sprint.
Software Engineering
LabLab No.No
Activity 6 3
Gather application specific requirements to assimilate into RE (Requirement Engineering)
model.
Functional Requirements:
Software Engineering
1. User Administration:
the capacity to create, modify, and remove user accounts.
2. Organizing Books:
Delete, alter, and add book records.
Keep tabs on the location, status (checked in/out), and availability of books.
3. Returning and Borrowing:
Books ought to be available for loan and return.
Upon checkout and return, the system need to automatically update the availability of
books.
4. Reservation Framework:
Its ought should be possible for users to reserve books that are presently on loan.
5. Look Up and Peruse:
Books should be searchable by author, title, genre, and other criteria.
To explore the collection, use the browse functionality.
6. Get Notified:
Notifications about overdue books, available reservations, etc. should be sent to users.
7. Summarizing:
Provide information on user activity, overdue books, and book availability.
Keep track of and show past transactions.
8. Delicate Handling:
Automated computation and imposition of late fees for unclaimed books.
Excellent payment capabilities.
9. Classification and Cataloging:
Books ought to be arranged and grouped according to authors, genres, and other pertinent
factors.
10. Control Panel:
Access to system settings, books, and user administration features.
Lab Activity No 7
Software Engineering
Prepare broad SRS (Software Requirements Software) for the above selected project.
The SRS is frequently a component of the contract that the client and development team
sign. It outlines the software's expected features for the customer as well as the development
Software Engineering
6. Security Requirements:
User authentication with secure password storage.
Encryption of sensitive guest information.
7. Documentation Requirements:
Comprehensive user manuals for administrators, receptionists, and guests.
API documentation for potential future integrations.
8. Testing Requirements:
Unit testing, integration testing, and user acceptance testing protocols.
9. Constraints:
The system must comply with relevant data protection and privacy regulations.
Compatibility with existing hotel infrastructure.
10. Appendices:
Include any additional information, diagrams, or references.
Software Engineering
Lab No 8
Lab Activity No 9
Software Engineering
Use CPM (critical path method)/PERT (Programmed evaluation and review technique) for
scheduling the assigned project.
1. For a software project different activity and their durations are listed as below. Draw
the activity network and the critical path.
In this diagram:
Nodes represent tasks.
Directed arrows represent dependencies between tasks.
The number next to each node represents the duration of the corresponding task.
Critical Path:
Software Engineering
The critical path is: T1 -> T2 -> T4 -> T5 -> T6 -> T7 -> T8 -> T9 -> T11 -> T12
The total duration of the critical path is the sum of the durations of tasks on the critical path:
8 + 15 + 10 + 10 + 5 + 20 + 25 + 15 + 7 + 10 = 130 days
Therefore, the critical path for this project is T1 -> T2 -> T4 -> T5 -> T6 -> T7 -> T8 -> T9
-> T11 -> T12, and the project will take a minimum of 130 days to complete if there are no
delays in the critical path tasks.
2. Difference between PERT and CPM.
It is event-oriented It is activity-oriented
technique which means technique which means
2. that network is that network is
constructed on the basis constructed on the basis
of event. of activities.
Project scheduling is a crucial aspect of project management, and it involves creating a plan
that outlines when specific tasks or activities will be performed. Four basic principles of
project scheduling are:
Clearly Define Project Objectives and Scope:
Before initiating the scheduling process, it is crucial to have a comprehensive understanding
of the project's goals and scope. This entails identifying the project's deliverables,
milestones, and overarching objectives. A well-articulated project scope serves as the basis
for pinpointing and organizing the essential tasks in the schedule.
Break Down the Project into Manageable Tasks:
Once the project scope has been established, the subsequent step involves decomposing the
project into smaller, more manageable tasks or activities. This process, often referred to as
the work breakdown structure (WBS), facilitates the identification of all necessary
components, ensuring that no crucial elements are overlooked during the scheduling phase.
Sequence Tasks and Activities:
Following the identification of tasks, the project manager must establish the sequential
order in which these tasks should be executed. This process, known as task sequencing,
considers task dependencies, where the completion of certain tasks relies on the fulfillment
of others. Recognizing and comprehending these dependencies is vital for developing a
practical and attainable project schedule.
Estimate Time and Resources:
Each task or activity outlined in the project schedule requires estimations of duration and
resource needs. Time estimation involves determining the duration required to complete
each task, while resource estimation entails identifying the necessary personnel, equipment,
and materials. Precise estimation is fundamental to crafting a realistic schedule and
efficiently allocating resources.
4. Explain the Work Break Down structure in detail.
The Work Breakdown Structure (WBS) is a hierarchical decomposition of the total scope of
work to be carried out by the project team. It's a foundational project management tool that
helps in organizing and defining the total scope of a project. Here's a detailed explanation of
the components and purpose of a Work Breakdown Structure:
1. Definition:
The Work Breakdown Structure (WBS) is a visual and hierarchical representation of all the
tasks, deliverables, and work packages within a project.
It starts with the overall project at the top level and breaks it down into smaller, more
manageable components.
2. Hierarchy:
The highest level represents the entire project, and each subsequent level represents an
increasingly detailed breakdown of the work.
3. Components:
Work Packages: These are the lowest level of the WBS hierarchy and represent the
smallest units of work that can be assigned, estimated, and tracked. Work packages are the
basis for estimating time, costs, and resources.
Tasks and Activities: These are elements within work packages that define the specific
actions or steps required to complete the work.
Deliverables: Tangible or intangible outcomes or results that are produced at the
completion of a project or work package.
4. Purpose:
Scope Definition: The WBS helps in defining and understanding the scope of the project. It
ensures that all necessary work is identified and included.
Organization: It provides a clear and organized structure for all project work, making it
easier to manage and control.
Estimation: The hierarchical structure allows for more accurate estimation of time, cost,
and resources at each level of the breakdown.
Communication: It serves as a visual communication tool for project stakeholders, helping
them understand the project's structure and components.
5. Creation Process:
Top-Down Approach: Start with the project's main deliverable and successively break it
down into smaller, more manageable pieces.
Bottom-Up Approach: Identify all tasks and work packages first and then organize them
into a hierarchy.
6. Coding System:
Work packages and elements within the WBS are often assigned a unique code for easy
reference and tracking.
7. Control Account:
A control account is a management control point where scope, budget, actual cost, and
schedule are integrated and compared to the earned value for performance measurement.
8. WBS Dictionary:
This is a companion document to the WBS that provides detailed information about each
component, including work package descriptions, responsible parties, and more.
In summary, the Work Breakdown Structure is a critical project management tool that helps
in organizing, defining, and communicating the scope of work in a project. It provides a
clear framework for project planning, execution, monitoring, and control.
5. Write meaning of PERT and explain how it is different from CPM.
Software Engineering
completion.
5. Application:
PERT: Generally preferred for research and development projects or projects with high
uncertainty and variability.
CPM: More commonly used in construction and manufacturing projects with well-defined
and deterministic activity times.
In practice, the terms PERT and CPM are often used interchangeably, and both methods are
frequently integrated for a more comprehensive project management approach.
Lab No. 10
Draw class diagram, Sequence diagram, Collaboration diagram, State Transition diagram
Software Engineering