Lab Manual 6-10
Lab Manual 6-10
Lab Manual 6-10
IV Semester (AI&DS)
CERTIFICATE
0832 ..…………………………..has satisfactorily completed the course of experiments in Software Engineering with
Agile Methodology laboratory, as prescribed by Rajiv Gandhi Proudhyogiki Vishwavidhyalaya, Bhopal for IV
Signature of
Faculty In-charge
INDEX
Sl. Expt. Name of the Experiment Date of Signature
No. No. Conduction of Faculty-
in-Charge
Develop Software Requirement Specification for Library
1 1 Management System
Develop test cases for various white box and black box testing
9 9 techniques
EXPT. No. – 6 Design .USE Case & Class diagram for Library Management System
Theory:
Use case diagram
Use case diagram is the primary form of system/software requirements for a new software program underdeveloped.
Use cases specify the expected behavior (what), and not the exact method of making it happen (how). Use cases once
specified can be denoted both textual and visual representation (such as UML). A key concept of use case modeli ng is
that it helps us design a system from end user's perspective. It is an effective technique for communicating system
behavior in the user's terms by specifying all externally visible system behavior.
A use case diagram contains four components.
The boundary, which defines the system of interest in relation to the world around it.
The actors, usually individuals involved with the system defined according to their roles.
The use cases, which specify roles, are played by the actors within and around the system.
The relationships between and among the actors and the use cases.
Viva Question:
1. What is use case?
2. Explain different types of relationship.
3. What is the difference between use case diagram and use case?
4. Explain the term actor in use case diagrams.
5. Explain “include” and “exclude” in Use case diagram.
Theory:
Class diagrams are the main building block in object-oriented modeling. They are used to show the different objects in a
system, their attributes, their operations and the relationships among them.
The name of the class diagram should be meaningful to describe the aspect of the system.
Each element and their relationships should be identified in advance.
Responsibility (attributes and methods) of each class should be clearly identified
For each class, minimum number of properties should be specified, as unnecessary properties will make the
diagram complicated.
Viva Question:
1. What is class and methods?
2. Where class diagram can be used?
3. What is association relation?
4. Explain generalization and specialization.
5. What are the different components of class diagram
Exp.7 Design Activity Diagram for Employee Management System. sequence diagram for An Online
Exam System
Theory:
Activity Diagrams consist of activities, states and transitions between activities and states.
Activity Diagrams describe
How activities are coordinated to provide a service.
The events needed to achieve some operation.
How the events in a single use case relate to one another.
How a collection of use cases coordinate to create a workflow for an organization.
Viva Question:
1. What is the use of Activity diagram?
2. What do you mean by fork and join?
3. When Activity diagram must for system design?
4. What is the difference between activity diagram and sequence diagram?
5. How to identify activity of the system?
A sequence diagram is a type of interaction diagram because it describes how—and in what order—a group of objects
work together. It is also known as event diagram or event scenario.
Fig. 4.1 Sequence Diagram of an Online Exam System
Automated Teller Machine: An automated teller machine (ATM) is an electronic telecommunications device that
enables customers to perform financial transactions, such as cash withdrawals, deposits, transfer funds, or obtaining
account information, at any time and without the need for direct interaction with bank staff.
Clients may take money from their accounts, deposit money or ask for their current balance.
All these operations are accomplished using either automatic teller machines (ATM) or counter tellers.
Transactions on an account may be done by cheque, standing order or using the teller machine and card.
There are two kinds of account: savings accounts and current accounts.
When a cheque is deposited it must be cleared before the funds can be used by the depositor.
Viva Question:
1) Explain different types of messages in sequence diagram.
2) Define lifeline.
3) Explain message branching.
4) Explain generalization and specialization.
5) Define transition with an example
EXPT. No. – 8 Draw a DFD Diagram For Online Shopping System
DFD rules
EXPT. No. –9 Develop test cases for various white box and black box testing techniques.
Theory:
Viva Question:
1. What is Testing
2. Difference Between White Box and Black Box
3. How we apply Test cases
4. Explain Different Testing Techniques
5. Why Testing is necessary?
EXPT. No. -10 . Studies about the Software Cost Estimation Model.
Theory:
Cost estimation can be defined as the approximate judgments of the costs for project. Cost estimation will
never be an exact science because there are too many variables involved in the calculation for cost
estimation, such as human, technical, environment and political.
Cost estimation is usually measured in terms of effort. The effort is the amount of time for one person to
work for a certain period of time. It is important that the specific characteristics of the development
environment are taking into account when comparing the effort of two or more projects because no two
development environments are the same.
Cost estimation is an important tool that can affect the planning and budgeting of a project because there
are a finite number of resources for a project. A cost estimation done at the beginning of a project will
help us to determine which features can be included within the resource constraints of the project (time).
Requirements can be prioritized to ensure that the most important features are included in the product.
Software Cost Estimation Model:
COCOMO:
The Constructive Cost Model (COCOMO) is a procedural software cost estimation model. COCOMO is used
to estimate size, effort and duration based on the cost of the software.
COCOMO predicts the effort and schedule for a software product development based on inputs relating
to the size of the software and a number of cost drivers that affect productivity.
COCOMO has three different models that reflect the complexities:
Basic Model – this model would be applied early in a projects development. It will provide a rough
estimate early on that should be refined later on with one of the other models.
Intermediate Model – this model would be used after you have more detailed requirements for a
project.
Advanced Model – when design of the project is complete you can apply this model to further
refine your estimate.
Within each of these models there are also three different modes. The mode you choose will depend
on your work environment, and the size and constraints of the project itself. The modes are:
Organic – this mode is used for “relativity small software teams developing software in a highly
familiar, in-house environment”.
Embedded – operating within tight constraints where the product is strongly tied to a “complex of
hardware, software, regulations and operational procedures”.
Semi-detached – an intermediate stage somewhere in between organic and embedded. Projects are
usually of moderate size of up to 300,000 lines of code.
Model A B c D
Organic 2.4 1.05 2.5 0.38
Semi- 3.0 1.12 2.5 0.35
Detached
Embedded 3.6 1.20 2.5 0.32
Table 1. List of Constants Based on Mode
Viva Question:
1. What is COCOMO?
2. What do you mean by LOC?
3. How to calculate software cost?
4. Which basic metrics considered for cost estimation?
5. Why cost estimation is necessary in software development process?