Software Engineering Lab
Software Engineering Lab
Software Engineering Lab
B.TECH
(AIML)
Vision
To be a premier centre for academic excellence and research through innovative
interdisciplinary collaborations and making significant contributions to the
community, organizations, and society as a whole.
Mission
To impart cutting-edge Artificial Intelligence technology in accordance with
industry norms.
To instill in students a desire to conduct research in order to tackle challenging
technical problems for industry.
To develop effective graduates who are responsible for their professional
growth, leadership qualities and are committed to lifelong learning.
Quality Policy
Department of CI Page 5
Software Engineering Lab AY-2023-2024
Department of CI Page 6
Software Engineering Lab AY-2023-2024
1. Students are advised to come to the laboratory at least 5 minutes before (to starting time), those
who come after 5 minutes will not be allowed into the lab.
2. Plan your task properly much before to the commencement, come prepared to the lab with
the synopsis / program / experiment details.
3. Student should enter into the laboratory with:
a. Laboratory observation notes with all the details (Problem statement, Aim, Algorithm, Procedure,
Program, Expected Output, etc.,) filled in for the lab session.
b. Laboratory Record updated up to the last session experiments and other utensils (if any) needed
in the lab.
c. Proper Dress code and Identity card.
4. Sign in the laboratory login register, write the TIME-IN, and occupy the computer system allotted
to you by the faculty.
5. Execute your task in the laboratory, and record the results / output in the lab observation
notebook, and get certified by the concerned faculty.
6. All the students should be polite and cooperative with the laboratory staff, must maintain the
discipline and decency in the laboratory.
7. Computer labs are established with sophisticated and high-end branded systems, which should
be utilized properly.
8. Students / Faculty must keep their mobile phones in SWITCHED OFF mode during the lab sessions.
Misuse of the equipment, misbehaviors with the staff and systems etc., will attract severe
punishment.
9. Students must take the permission of the faculty in case of any urgency to go out; if anybody found
loitering outside the lab / class without permission during working hours will be treated seriously and
punished appropriately.
10. Students should LOG OFF/ SHUT DOWN the computer system before he/she leaves the lab after
completing the task (experiment) in all aspects. He/she must ensure the system / seat is kept
properly.
Department of CI Page 7
Software Engineering Lab AY-2023-2024
Objectives:
Discuss and Analyses how to develop software requirements specifications for a given
problem.
To understand Software development as a process
To implement various software designs, data flow diagram models.
various testing techniques including white box testing black box testing regression
testing
To have hands on experience in developing a software project by using various
software engineering principles and methods in each of the phases of software
development.
WEEK 1:
Development of problem statements.
WEEK 2:
Preparation of Software Requirement Specification Document, Design Documents and Testing
Phase related documents.
WEEK 3:
Preparation of Software Configuration Management and Risk Management related documents.
WEEK 4:
Study and usage of any Design phase CASE tool.
WEEK 5:
Performing the Design by using any Design phase CASE tools.
WEEK 6:
Develop test cases for unit testing and integration testing.
WEEK 7:
Develop test cases for various white box and black box testing techniques.
Sample Projects:
1. Passport automation System
2. Book Bank
3. Online Exam Registration
4. Stock Maintenance System
5. Online course reservation system
6. E-ticketing
7. Software Personnel Management System
Department of CI Page 8
Software Engineering Lab AY-2023-2024
TEXT BOOKS:
1. Software Engineering, A practitioner’s Approach- Roger S. Pressman, 6th edition, McGraw
Hill International Edition.
2. Software Engineering-Sommerville, 7th edition, Pearson Education.
3. The unified modeling language user guide Grady Booch, James Rambaugh, Ivar
Jacobson, Pearson Education.
REFERENCE BOOKS:
1. Software Engineering, an Engineering approach- James F. Peters, Witold Pedrycz, John Wiley.
2. Software Engineering principles and practice-Waman S Jawadekar
COURSE OUTCOMES:
Ability to translate end-user requirements into system and software requirements
Ability to generate a high-level design of the system from the software requirements
Will have experience and/or awareness of testing problems and will be able to develop
a simple testing report
Understand and develop various structure and behavior UML diagrams.
Explain the knowledge of project management tool Demonstrate how to manage file
using Project Libre project management tool.
Department of CI Page 9
Software Engineering Lab AY-2023-2024
5 Performing the Design by using any Design phase CASE tools 17-31
6 Develop test cases for unit testing and integration testing 32-37
7 Develop test cases for various white box and black box testing techniques 38-43
Department of CI Page 9
Software Engineering Lab AY-2023-2024
WEEK 1
Problem Statement:
Statement of a current issue/problem that requires timely action to improve the situation.
Process Flow of Library Management System:
A Book Bank lends books and magazines to member, who is registered in the system.
Also it handles the purchase of new titles for the Book Bank.
Old books and magazines are removed when they are out or date or poor in condition.
A member can reserve a book or magazine that is not currently available in the book bank, so that when it is
returned or purchased by the book bank, that person is notified.
The book bank can easily create, replace and delete information about the tiles, members, loans and
reservations from the system.
Components:
Problem
Proposed Solution
Solution(s) and its implementation steps
b) Member:
Registered users
Search available books
Order & book return
c) System:
Notifications for overdue, availability of book etc.
Department of CI Page 1
Software Engineering Lab AY-2023-2024
I Inputs:
Author Name
Published Year
Price
Book ID
User details like id, password for logging in
Communication Details
Problems/Constraints:
Department of CI Page 2
Software Engineering Lab AY-2023-2024
Department of CI Page 3
Software Engineering Lab AY-2023-2024
WEEK 2
AIM:
Preparation of Software Requirement Specification Document, Design Documents and Testing Phase
Related documents.
Preparation of Software Requirement Specification Document:
Users Characteristics:
Student: They are the people who desire to obtain the books and submit the information to the
database.
Librarian: He has the certain privileges to add the books and to approval of the reservation of books.
System Modules:
Log in: Secure registration of student and librarian by filling online registration form.
Book bank: Book bank contains all the books. New book added to the book bank with book no,
titlename, author, edition, publisher name details to the database. Any book is deleted if damaged.
Update of the book information also done.
Operations: student and administrator perform their operations like add book, delete book, update
information, view book details are implemented in log in Web Pages.
Non-functional requirements:
Privacy: privacy maintained for each and every user by providing user credentials username
and password.
Design Document:
Algorithm, Data Structure, Architecture and other support Information is maintained in a design
document.
Diagrams:
a. Use Case:
System details summary & all users in the system.
b. Activity:
System behavior (inclusive of dynamic aspects).
Department of CI Page 4
Software Engineering Lab AY-2023-2024
c. Sequence:
Message flow with the time stamp.
d. Class:
System Structure (Name, Attributes, Operations).
e. State Chart:
States specific to components/objects of a system.
f. Deployment:
System architecture with respect to execution.
Test Plan Document:
Test plan document contains all the catalog information of test strategies, objectives, schedule,
estimations and resources required to complete the project.
A “Test Case” refers to the actions required to verify a specific feature or functionality in software
testing.
Test Case Design Template:
Department of CI Page 5
Software Engineering Lab AY-2023-2024
Department of CI Page 6
Software Engineering Lab AY-2023-2024
Department of CI Page 7
Software Engineering Lab AY-2023-2024
Department of CI Page 8
Software Engineering Lab AY--2023-2024
WEEK 3
AIM:
Preparation of Software Configuration Management and Risk Management related documents for library
management system.
Hardware Requirements:
Processor: i3 or higher
RAM : 4 GB
Risk Management:
Relates to the factors that have negative impact on the software project.
Categorized into
i. Known risks
Known risks are the “predictable” risks that can be easily categorized.
Unknown risks are the “unpredictable” risks that cannot be identified and categorized easily.
Department of CI Page 9
Software Engineering Lab AY--2023-2024
Department of CI Page 10
Software Engineering Lab AY--2023-2024
Department of CI Page 11
Software Engineering Lab AY--2023-2024
Department of CI Page 12
Software Engineering Lab AY--2023-2024
WEEK 4
AIM:
Study and usage of any Design phase CASE tool
Star UML is a UML (Unified Modeling Language) tool introduced by MKLab. It is an open-source
modeling tool that supports the UML framework for system and software modeling. StarUML is
based on UML version 1.4, which provides 11 different types of diagrams and it accepts UML 2.0
notation. Version 2.0 was released for beta testing under a property license.
StarUML is actively supporting the MDA (Model Driven Architecture). It supports the UML
profile concept and allowing it to generate code for multiple languages. It also provides a
number of bug fixes and improved compatibility with the modern versions of the Windows
Operating System.
StarUML is mostly used by the Agile and small development teams, professional persons and
used by the educational institutes.
Features of StarUML:
Department of CI Page 13
Software Engineering Lab AY--2023-2024
Step 3: There will be 3 Operating Systems (OS) options, click on the option as per the devise OS.
Step 4: Now, right-click on the downloaded file, select “Show in Folder” option.
Step 5: Click on the open file, a popup window opens, click on the “Yes” button.
Step 6: Installation gets start. After installation popup opens to ask to buy a license. If you
want to click on the “Buy Now” button or else close that window. StarUML is ready to use.
Department of CI Page 14
Software Engineering Lab AY--2023-2024
Department of CI Page 15
Software Engineering Lab AY--2023-2024
Department of CI Page 16
Software Engineering Lab AY--2023-2024
Week 5
2. book_return
3. book_order
4. book_entry
5. search book_details
Actors Involved:
1. Student
2. Librarian
3. Vendor
I) Usecase Name: Search Book_Details
The librarian initiates this use case when any member returns or request the book and checking ifthe
book is available.
Precondition: The librarian should enter all Book details.
Normal Flow: Build message for librarian who search the book.
Post Condition: Send message to respective member who reserved the book.
Department of CI Page 17
Software Engineering Lab AY--2023-2024
Department of CI Page 18
Software Engineering Lab AY--2023-2024
Activity Diagrams:
They are used to describe the business and operational step-by-step workflows of components
in a system.
An activity is shown as a roundedbox containing the name of the operation. This activity
diagram describes the behavior of the system.
Department of CI Page 19
Software Engineering Lab AY--2023-2024
Department of CI Page 20
Software Engineering Lab AY--2023-2024
Sequence Diagram:
A sequence diagram represents the sequence and interactions of a given USE-CASE or scenario.
Sequence diagrams can capture most of the information about the system.
Most object-to-object interactions and operations are considered events and events include signals,
inputs, decisions, interrupts, transitions and actions to or from users or external devices.
An event also is considered to be any action by an object that sends information. The event line
represents a message sent from one object to another, in which the “form” object is requesting an
operation be performed by the “to” object.
The “to” object performs the operation using a method that the class contains. It is also represented by
the order in which things occur and how the objects in the system send message to one another.
Department of CI Page 21
Software Engineering Lab AY--2023-2024
Collaboration Diagram:
Class Diagram:
The class diagram, also referred to as object modeling is the main static analysis diagram.
The main task of object modeling is to graphically show what each object will do in the problem
domain.
The problem domain describes the structure and the relationships among objects.
1. Student
2. Book
3. Issue
4. Return
5. Vendor
6. Details
Department of CI Page 22
Software Engineering Lab AY--2023-2024
1) Student:
2) Book:
3) Issue:
It consists of eight attributes and two operations to maintain issue details such as, issue
date, acc no of issued book, name of the student who borrowed book.
4) Return:
It consists of eight attributes and two operations to maintain issue details such as, issue
date, acc no of issued book, name of the student who borrowed book.
5) Students:
The attributes of this class are name, dept, year, bcode no.
The operation is display students ().
6) Details:
The attributes of this class are book name, author, bcode no. The operations are delete
details().
Department of CI P a g e 23
Software Engineering Lab AY--2023-2024
Department of CI P a g e 24
Software Engineering Lab AY--2023-2024
Department of CI P a g e 25
Software Engineering Lab AY--2023-2024
Department of CI P a g e 26
Software Engineering Lab AY--2023-2024
Department of CI P a g e 27
Software Engineering Lab AY--2023-2024
Department of CI P a g e 28
Software Engineering Lab AY--2023-2024
Department of CI P a g e 29
Software Engineering Lab AY--2023-2024
Department of CI P a g e 30
Software Engineering Lab AY--2023-2024
Department of CI P a g e 31
Software Engineering Lab AY--2023-2024
Week 6
Aim: To develop test cases for unit testing and integration testing.
Unit Testing:
It is a software development process in which the smallest testable parts of an application,
called “units”, are individually scrutinized for proper operation.
Software developers and sometimes QA staff complete unit tests during the development process.
Integration Testing:
It is a type of software testing where components of the software are gradually integrated and then
tested as a unified group.
Usually, these components are already working well individually, but they may
break whenintegrated with other components.
Department of CI P a g e 32
Software Engineering Lab AY--2023-2024
Department of CI P a g e 33
Software Engineering Lab AY--2023-2024
Department of CI P a g e 34
Software Engineering Lab AY--2023-2024
Department of CI P a g e 35
Software Engineering Lab AY--2023-2024
Department of CI P a g e 36
Software Engineering Lab AY--2023-2024
Department of CI P a g e 37
Software Engineering Lab AY--2023-2024
Week 7
Aim: To develop test cases for various white box and black box testing techniques.
Department of CI P a g e 38
Software Engineering Lab AY--2023-2024
Department of CI P a g e 39
Software Engineering Lab AY--2023-2024
Department of CI P a g e 40
Software Engineering Lab AY--2023-2024
Department of CI P a g e 41
Software Engineering Lab AY--2023-2024
Department of CI P a g e 42
Software Engineering Lab AY--2023-2024
Department of CI P a g e 43