Professional Documents
Culture Documents
IV B.Tech. I Semester
LABORATORY MANUAL
Prepared By
Mrs.Ch Sujana
M.Tech.
Assistant Professor
Department of Computer Science and Engineering
DEPARTMENT VISION
To become a center for excellence in Computer Science and Engineering education and innovation.
DEPARTMENT MISSION
PEO1:
Capability to design and develop new software products as per requirements of the various domains and
eligible to take the roles in various government, research organizations and industry.
PEO2:
More enthusiastic to adopt new technologies and to improve existing solutions by reducing complexity
which serves society requirements as per timeline changes.
PEO3:
With good hands on basic knowledge and ready improve academic qualifications in India or abroad.
PEO4:
Ability to build and lead the team to achieve organizational goals.
PO1: Engineering Knowledge : Apply the knowledge of mathematics, science, engineering fundamentals,
and an engineering specialization to the solution of complex engineering problems.
PO2: Problem Analysis : Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences,
and engineering sciences.
PO3: Design / Development of Solutions : Design solutions for complex engineering problems and design
system components or processes that meet the specified needs with appropriate consideration for the
public health and safety, and the cultural, societal, and environmental considerations.
PO4: Conduct Investigations of Complex Problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information
to provide valid conclusions.
PO5: Modern Tool Usage : Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modeling to complex engineering activities with
an understanding of the limitations.
PO6: The Engineer and Society : Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
PO7: Environment and Sustainability: Understand the impact of the professional engineering solutions in
societal and environmental contexts and demonstrate the knowledge of and need for sustainable
development.
PO8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
PO9: Individual and Teamwork: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
PO10: Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports
and design documentation, make effective presentations, and give and receive clear instructions.
PO11: Project Management and Finance : Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
PO12: Life-Long Learning: Recognize the need for and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
PSO1:
The ability to design and develop computer programs for analysing the data.
PSO2:
The ability to analyze data & develop Innovative ideas and provide solution by adopting emerging
technologies for real time problems of software industry.
PSO3:
To encourage the research in software field that contribute to enhance the standards of human life style and
maintain ethical values..
TABLE OF CONTENTS
Experiment Page
Experiment Name
Number No.
Experiment 1:
Application Window: a title bar, tool bar, menu bar, and a work area for Displaying
•toolbox, browser, document window, diagram window,
and specification window
Browser: a window with navigation tool for viewing diagrams and many other
•model elements
Diagram Windows
•
Overview Window: can be showed through put the mouse pointer over hand icon
•
Other windows such as Log, Edit, can be access through View on menu bar
•
Specification
Window
2. From the menu bar select Tool - > Create -> Use Case
3. Select the Actor from the Toolbox and place it into the Use Case Diagram
4. Right click on the Actor to see the pop-up menu, and then select Open Specification menu
5. Select the Use Case from the Toolbox and place it into the Use Case Diagram
6. Right click on the Use case to change the name to HelloUML
Actor HelloUML
Hello
message : String = "Hello
UML"
getName() Hello()
10
11
12
Experiment 2:
events are,
2) Describe what data is exchanged between the actor and the usecase
3) Do not describe the details of the user interface,unless it is necessary to understand the behavior of the system.
Procedure:
a) Register member:
here the members who can access the library are registered based on the id nos.
b) issue book:
before issuing book the specific member is verified whether he/she is registered or not
after verifying the person then the availability of book which he/she selected is checked whether
the book is available or not
c) Return book:
13
After the specific time is over the person should return book during returning
e)Maintaining books:
This is done by the librarian that how many books are present,person or members login id and their
registrations etc.
Graphical representations:
Usecase Description
Register member The members who can access the library are registered based on the
ids
Issue book-verfy member Before issuing the book the specific member is verified whether
he/she is registred or not
Check availability of book Check the book is available or not
Return book After the specific time is over the person should return
Calculate fine The fine is calculated if their fine
14
Experiment 3:
15
16
c) Aim: Develop CRUD matrix to represent relationships between usecase and problem domain classes
The CRUD Matrix is an excellent technique to identify the Tables in a database which are used in any User
interaction with a Web Site. CRUD means Create, Read, Update or Delete' and the CRUD Matrix
identifies the Tables involved in any CRUD operation.
Maintain Books C
Experiment 4:
AIM:
a) Develop Use case diagrams
b) Develop elaborate Use case descriptions & scenarios
c) Develop prototypes (without functionality)
18
Designing use case diagram for the library management system. Some scenarios of the system are as
follows :
1. User who registers himself as a new user initially is regarded as staff or student for the library system.
• For the user to get registered as a new user, registration forms are available that is needed to be
fulfilled by the user.
• After registration, a library card is issued to the user by the librarian. On the library card, an ID is
assigned to cardholder or user.
2. After getting the library card, a new book is requested by the user as per there requirement.
3. After, requesting, the desired book or the requested book is reserved by the user that means no other
user can request for that book.
4. Now, the user can renew a book that means the user can get a new due date for the desired book if
the user has renewed them.
5. If the user somehow forgets to return the book before the due date, then the user pays fine. Or if the
user forgets to renew the book till the due date, then the book will be overdue and the user pays fine.
6. User can fill the feedback form available if they want to.
7. Librarian has a key role in this system. Librarian adds the records in the library database about each
student or user every time issuing the book or returning the book, or paying fine.
8. Librarian also deletes the record of a particular student if the student leaves the college or passed out
from the college. If the book no longer exists in the library, then the record of the particular book is
also deleted.
9. Updating database is the important role of Librarian.
OBJECTIVE:
To satisfy the user needs and for easy understanding of the system to the user. User can easily find books
in online and work efficiently.
APPROACH:
our aim is to manage the book lovers with their taste of satisfaction. Choice of selection of books can be
made from the virtual representation with our initiative. We help you to figure out the estimated budget for
the booking.
USER GOALS:
Find books and receive books soon. Good guidance is expected. Navigate efficiently.
REQUIREMENTS:
Book entry where we can store the details of the books. book issue which is used to track of book issue
details. Need to see the online book recommended status. The system need to be reliable. Web pages are
loaded within seconds.
19
PROTOTYPE:
Navigation Map
20
Experiment 5:
AIM:
a) Develop system sequence diagrams and high-level sequence diagrams for each use case
b) Identify MVC classes I objects for each use case
c) Develop Detailed Sequence Diagrams / Communication diagrams for each use case showing interactions
among all the three-layer objects
a) Develop system sequence diagrams and high-level sequence diagrams for each use case
21
Transaction Journals
Bill Magazines
Study Books
22
c) Develop Detailed Sequence Diagrams / Communication diagrams for each use case showing interactions
among all the three-layer objects
23
Experiment 6:
AIM:
a) Develop detailed design class model(use GRASP patterns for responsibility assignment)
b) Develop three-layer package diagrams for each case study
a) Develop detailed design class model(use GRASP patterns for responsibility assignment)
• A design pattern systematically names, motivates, and explains a general design that addresses a recurring design
problem in object-oriented systems.
• 9 GRASP patterns
• Creator
• Information Expert
• Low Coupling
• Controller
• High Cohesion
• Indirection
• Polymorphism
• Protected Variations
• Pure Fabrication
Member Record/Members requests for book and also responsibility assigned for Book i.e., information expert,
patterns.
Librarian creates transaction and also responsibility assigned for transaction i.e.,Creator, information expert,
patterns.
24
Package Diagrams
Package diagram is used to simplify complex class diagrams, you can group classes into packages. A package is a collection
of logically related UML elements.
The diagram below is a business model in which the classes are grouped into packages:
25
ATM System
Banking System
26
27
Experiment 7:
AIM
28
b)Component Diagrams
29
30
d) Refine domain class model by showing all the associations among classes
31
Experiment 8:
Develop sample diagrams for other UML diagrams - state chart diagrams, activity diagrams and
deployment diagrams
32
33
Deployment diagram
34