III CSE Lab Manual-Ooad
III CSE Lab Manual-Ooad
LAB MANUAL
III CSE – V SEMESTER
ODD (2020-2021)
1
CS8582-OBJECT ORIENTED
ANALYSIS AND DESIGN
LABORATORY
2
CS8582 OBJECT ORIENTED ANALYSIS AND DESIGN LABORATORY
COURSE PRE-REQUISTIES
COURSE OBJECTIVES
1. To capture the requirements specification for an intended software system
2. To draw the UML diagrams for the given specification
3. To map the design properly to code
4. To test the software system thoroughly for all scenarios
5. To improve the design by applying appropriate design patterns.
COURSE OUTCOMES
CO OUTCOMES
Perform OO analysis and design for a given problem
CS8582.1(CO1)
specification.
Able to differentiate advance Object Oriented Approach from
CS8582.2(CO2)
the traditional approach for design and development system
CS8582.3(CO3) Construct various UML Models using the appropriate
notations
CS8582.4(CO4) Identify and map basic software requirements in UML
CS8582.5(CO5) mapping.
Improve the software quality using design patterns and to
explain the rationale behind applying specific design patterns
CS8582.6(CO6) Test the compliance of the software with the SRS.
Course
S.No. Course Objectives
Outcomes
1. To capture the requirements specification for an intended CO1
software system
3
2. To draw the UML diagrams for the given specification CO2, CO3,
3. To map the design properly to code CO4
4 To test the software system thoroughly for all scenarios CO3,CO6
5 To improve the design by applying appropriate design CO3,CO5,
patterns. CO6
COGNITIVE LEVEL ATTAINMENT
Ex.N Course
Lab Cognitive
Experiment Name Outcomes
o. Sessions Level
Nos.
1 Identify a software system that needs to be 4 CO1 Understand
developed.
Document the Software Requirements
2 Specification (SRS) for the identified 4 CO2 Understand
system.
4
CS8582 – OBJECT ORIENTED ANALYSIS AND DESIGN
LABORATORY
LIST OF EXPERIMNENTS
Draw standard UML diagrams using an UML modeling tool for a given case
study and map design to code and implement a 3 layered architecture. Test the
developed code and validate whether the SRS is satisfied.
1. Identify a software system that needs to be developed.
2. Document the Software Requirements Specification (SRS) for the identified
system.
3. Identify use cases and develop the Use Case model.
4. Identify the conceptual classes and develop a Domain Model and also derive
a Class Diagram from that.
5. Using the identified scenarios, find the interaction between objects and
represent them using
UML Sequence and Collaboration Diagrams
6. Draw relevant State Chart and Activity Diagrams for the same system.
7. Implement the system as per the detailed design
8. Test the software system for all the scenarios identified as per the usecase
diagram
9. Improve the reusability and maintainability of the software system by
applying appropriate design patterns.
10. Implement the modified system and test it for various scenarios
5
S.NO INDEX
1. Study of ARGOUML & UML Diagrams
2. PROBLEM STATEMENT - QUIZ SYSTEM
USE CASE MODELING
3.
PROBLEM STATEMENTS
A. Passport automation system.
B. Book bank
C. Exam Registration
D. Stock maintenance system.
E. Online course reservation system
F. E-ticketing
G. Software personnel management system
H. Credit card processing
I. e-book management system
J. Recruitment system
K. Foreign trading system
L. Conference Management System
M. BPO Management System
N. Library Management System
O. Student Information System
6
INTRODUCTION TO OOAD & ArgoUML
What is OOAD ?
Object-oriented analysis and design (OOAD) is a software engineering approach
that models a system as a group of interacting objects. Each object represents
some entity of interest in the system being modeled, and is characterized by its
class, its state (data elements), and its behavior. There are a number of different
notations for representing these models, such as the Unified Modeling
Language (UML).
Object-Oriented analysis
Object-oriented analysis (OOA) looks at the problem domain, with the aim of
producing a conceptual model of the information that exists in the area being
analyzed. Implementation constraints are dealt during object-oriented design
(OOD).
Object-oriented design
Object-oriented design (OOD) transforms the conceptual model produced in
object-oriented analysis to take account of the constraints imposed by the
chosen architecture and any non-functional – technological or environmental –
constraints, such as transaction throughput, response time, run-time platform,
development environment, or programming language.
ArgoUML
ArgoUML is an UML diagramming application written in Java and released
under the open source Eclipse Public License. By virtue of being a Java
application, it is available on any platform supported by Java SE.
ArgoUML is different: i) it makes use of ideas from cognitive psychology, ii) it is based
on open standards; iii) it is 100% pure Java; and iv) it is an open source project.
CASE Tools
7
Computer-aided software engineering (CASE) is the scientific
application of a set of tools which is meant to result in high-quality, defect-free,
and maintainable software products.
8
INTRODUCTION TO SELENIUM TESTING TOOL
Introduction
Selenium Components
• Selenium-IDE
• Selenium-RC (Remote Control)
• Selenium-Grid
Aim:
To study about case tools and ArgoUML
ArgoUML
ArgoUML is an open source Unified Modeling Language (UML) modeling tool
that includes support for all standard UML 1.4 diagrams. It runs on any Java
platform and is available in ten languages.
9
FEATURES
• Support open standards extensively: UML, XMI, SVG, OCL and others.
• 100% Platform independent thanks to the exclusive use of Java
• Open Source, which allows extending or customizing.
• Cognitive features like
– reflection-in-action
• Design Critics
• Corrective Automations (partially implemented)
• "To Do" List
• User model (partially implemented)
– opportunistic design
• "To Do" List
• Checklists
– Comprehension and Problem Solving
• Explorer Perspectives
• Multiple, Overlapping Views
• Alternative Design Representations: Graphs, Text, or Table
Class Diagram
➢ Helps you visualize the structural or static view of a system.
10
➢ Class diagrams show the relationships among class.
➢ Foundation for component and deployment diagrams.
Sequence Diagram
➢ Illustrates object interacts arranged in a time sequence
➢ This shows step-by-step what has to happen to accomplish something in the
use case and emphasize the sequence of events.
Collaboration Diagram
➢ Provides a view of the interactions or structured relationships between
objects in current model.
➢ Emphasizes relation between objects.
➢ Used as the primary vehicle to describe interactions that express decision
about system behavior.
Activity Diagram
Component Diagram
➢ A physical view of the current model and Show the organization and
dependencies of software components, including source code, binary code,
and executable components
Deployment Diagram
➢ Each model contains a single deployment diagram that shows the mapping
of processes to hardware.
11
Overview of the Window
The title bar of the window shows the following 4 parts of information,
separated from each other by a dash.
The Toolbar
The toolbar at the top of the editing pane provides the main functions of the
pane.
12
The Toolbar consists of the following menus:
• File operations
• Edit operations
• View operations
• Create operations
File operations
Edit operations
View operations
Create operations
13
The tools fall into four categories.
• Layout Tools
↑ Select - This tool provides for general selection of model elements on the
diagram.
┤Broom Tool – This tool is used to sweep all model elements along.
• Annotation Tools
• Drawing Tools
14
USE CASE DIAGRAM SPECIFIC TOOLS
15
CLASS DIAGRAM SPECIFIC TOOLS
Class diagrams are used for only one of the UML static structure diagrams, the
class diagram itself. Object diagrams are represented on the ArgoUML
deployment diagram.
ArgoUML uses the class diagram to show model structure through the use of
packages.
16
SEQUENCE DIAGRAM SPECIFIC TOOLS
17
COLLABORATION DIAGRAM SPECIFIC TOOLS
18
ACTIVITY DIAGRAM SPECIFIC TOOLS
19
EX NO: 2 PROBLEM STATEMENT - QUIZ SYSTEM
PROBLEM STATEMENT
20
MINIMUM
TOTAL NO. NO. OF MARKS FOR
LEVELS OF QUESTIONS EACH DURATION
QUESTIONS TO BE QUESTION
ATTENDED
LEVEL1-
30 25 1 15 Min
PRELIMINARY
LEVEL2- 10 Min
15 10 2
FINALS
Aim: To identify Use Cases and develop the Use Case model for QUIZ system
Description:
Use cases are defined to satisfy the goals of the primary actors. Hence, the
basic procedure is:
Who does user and security management? Is "time" an actor because the
system does something in
response to a time event?
Is there a monitoring process that restarts the system Who evaluates system activity or
if it fails? performance?
How are software updates handled? Push or pull Who evaluates logs? Are they
update? remotely retrieved?
In addition to human primary actors, are there any Who gets notified when there are
21
Who starts and stops the system? Who does system
administration?
Actor Goal
Play level 1
Submit answers
... ...
Association: Associations are used to link Actors with Use Cases, and indicate
that an Actor participates in the Use Case in some form. Associations are
depicted by a line connecting the Actor and the Use Case.
22
Login
participant
includes
includes
Play Level1 /Level 2
participant start the timer
extends
Database
Time Out
Submit Answer
Qualify To Level 2
Display Score
The system will consist of Login screen to authenticate the participants whose
information is updated in the database. On starting the quiz , timer is started
to maintain the timings. In Level 1 /Level 2 Questions with four options are
displayed sequentially .User select the answer and move to the next question .
Finally he/she selects the Submit answers which updates the marks and
displays the score to the participants. If he is playing Level 1 and qualified for
level 2 , then next level questions are displayed otherwise Not Qualified
Message is displayed.
Functional Requirements
3.1.1. Use Case: Login
Brief Description
The use case describes how a Participant logs into the Quiz System
Use Case Section Comment
Use Case Name Login
Scope Quiz System
Level "user-goal"
23
Use Case Section Comment
Primary Actor Participant
Stakeholders and - Participant: logs into the Quiz System
Interest list …
Preconditions None
Success Guarantee/ If the use case was successful, the actor is now logged into
Post condition the system. If not, the system State is unchanged.
Main Success Scenario 1. The System requests the actor to enter his/her name
and password
2. The actor enters his/her name and password
3. The System validates the entered name and password
and logs the actor into the System
Extensions 3a.If the pwd is wrong, user is allowed for 3 attempts
Special Requirements Timer
Technology and Data -
Variations List
Frequency of Could Be nearly Continuous
Occurrence
Miscellaneous If the connection is terminated before the form is
submitted, the fields are cleared and the Server is returned
to the wait state.
The Administrator can make the system not to get updated
by others.
3.1.2. Use Case: Play Level 1 /Level 2 ( provide the content same as
above
3.1.3. Use Case: Display Questions ( provide the content same as above)
3.1.4. Use Case: Submit Answers ( provide the content same as above)
3.1.5. Use Case: Qualify to Level 2 ( provide the content same as above)
3.1.6. Use Case: Display Score ( provide the content same as above)
24
3.2.1. Functionality :Multiple users must be able to perform their work
concurrently. If the participant has completed 30 Minutes allotted for him/her,
he or she should be notified with the message “your time slot is over”.
3.2.3. Reliability:The System should function properly for allotted time slot
and produces score card with no more than 10% down time.
3.2.4. Performance
1. The System shall support up to 100 simultaneous users against the
central database at any given time and up to 100 simultaneous users
against the local servers at any one time.
2. The System must be able to complete 80% of all transactions within 2
minutes.
3.2. 5. Supportability: None.
3.2. 6. Security
1. The System should secure so that only registered participants can take
part in Quiz.
2. Once the participant had submitted a answer, he/she can’t change the
answer later.
3.2.7. Design Constraints: The system shall provide a window-based desktop
interface
Aim: To Identify the Conceptual Classes and to develop a domain model with
UML class diagram for QUIZ system
Description
A class diagram in the Unified Modeling Language (UML) is a type of
static structure diagram that describes the structure of a system by showing
the system's classes, their attributes, and the relationships between the
classes.
The class diagram is the main building block in object oriented modeling.
They are being used both for general conceptual modeling of the systematic of
the application, and for detailed modeling translating the models into
programming code. The classes in a class diagram represent both the main
objects and or interactions in the application and the objects to be
programmed. In the class diagram these classes are represented with boxes
which contain three parts
25
A class with three sections.
Class Diagram
26
Ex No: 5 UML Interaction Diagram
Aim: To Identify the interaction between objects and to develop using UML
Interaction diagram for QUIZ system
Description
Actor: Actors can also communicate with objects, so they too can be listed as a
column. An Actor is modeled using the ubiquitous symbol, the stick figure.
27
Lifeline:The Lifeline identifies the existence of the object over time. The
notation for a Lifeline is a vertical dotted line extending from an object.
Message
Messages, modeled as horizontal arrows between Activations, indicate the
Sequence diagram
[Time Exceeds]Submit()
Process Questions
Send Questions()
Submit()
Validate()
Calculate Scores
Display()
28
Ex No : 6 UML State Chart Diagram and Activity Diagram
Aim: To develop using UML State Chart diagram and Activity diagrams for
QUIZ system
State Notation:
29
State Chart Diagram
Checking Calculating
[All questions checked and all ans received]
do/ check ans event pass/fail delivery/
Sending
Activity States
Activity states mark an action by an object. The notations for these states are
rounded rectangles, the same notation as found in State chart diagrams.
30
Initial State: The Initial State marks the entry point and the initial Activity
State. The notation for the Initial State is the same as in State chart diagrams,
another circle.
Synchronization Bar: Activities often can be done in parallel. To split
processing ("fork"), or to resume processing when multiple activities have been
completed ("join"), Synchronization Bars are used. These are modeled as solid
rectangles, with multiple transitions going in and/or out.
31
Enter Login Validate Login Update
Info Information Valid Information
Invalid
Select the answer & Display Retrieve Level 1
move to next ques Question Question
Yes
No
No
All Questions Displayed
Submit
Answers Yes
Playing Level 1
no
Yes
Qualified to
Level 2
Display No
Score
Aim: To draw the partial layered, logical architecture diagram with UML
package diagram notation.
Logical Architecture and Layers
32
• Strict layered architecture: a layer only calls upon services of the layer
directly below it.
• Relaxed layered architecture: a higher layer calls upon several lower
layers.
Layers shown with UML package diagram.
UI
Domain
Technical Services
UI Domain
UI
UI::Swing UI::Web
Swing Web
Domain::Sales
Domain
Sales
33
Package Diagram : Quiz System
UI
Domain
Technical Service
Aim: To Develop and test the Technical services layer, Domain objects layer and
User interface layer.
Description:
In a quiz system we perform the following
1) Student registration
2) Quiz Participation
3) Result Processing
1) Student Registration
The inputs to the quiz system initially is the student details for the quiz which
involves the following details like
1) name
2) year
3) branch
34
4) college name
When a student enters these details it will be updated in a database. After that
the student will be allowed to participate.
2) Quiz Participation
When the participant begins to answer the questions, a clock is maintained to
keep track of the time.
The correct answers for the questions are stored in a separate database .After
answering the questions in the preliminary round, the system verifies whether
the student has answered the minimum number of questions in each level. If
not, a message is displayed to make the student answer the required number of
questions within an allotted time.
If the student qualifies the prelims, he/she can proceed to the finals in the
same way.
3) Result Processing
After all the students have participated in the quiz, the system processes the
marks scored by all the students. The system sorts the marks and generates a
final output, which displays the name and scores
35
UI LAYER AND DOMAIN LAYER
36
3. Enter “Alisha”, ”CSE”,”XYZ” The Cursor moves to -do- Pass
in Name ,Branch and the submit button
College Text Box
4. Click Submit Button The Student details -do- Pass
window is closed and
goes to the level 1 of
the quiz form
5. Click Cancel Button The Student details -do- Pass
form is closed
Test case Template
Test case Id : Screen002
Product : Quiz System
Module : Level 1 of the Quiz
Form 2: Level 1
37
S.No Action To Perform Expected Result Actual Pass/Fail
Result
1. Select the suitable option 1. The cursor moves to the -do- Pass
for the required question. Submit ans button.
2. The Cursor Moves to the
next question using
ADODC control
2. Click submit ans Button The ans is accepted and -do- Pass
stored in the database.
3. Click submit quiz Button All the ans are accepted -do- Pass
and the quiz is submitted.
The Level 1 of the quiz form
is closed.
Test case Template
Test case Id : Screen003
Product : Quiz System
Module : Result Processing of Level 1 of the Quiz
38
Form 3: Result Processing of Level 1
39
Test case Template
Test case Id : Screen004
Product : Quiz System
Module : Level 2 of the Quiz
Form 4: Level 2 of the quiz
40
S.No Action To Perform Expected Result Actual Pass/Fail
Result
1. Select the suitable 1. The cursor moves to the Submit -do- Pass
option for the ans Button.
required question. 2. The cursor moves to the next
question using ADODC control
2. Click submit ans The ans is accepted and stored in -do- Pass
Button the database.
3. Click submit quiz The ans are accepted and the quiz is -do- Pass
Button submitted
The Level 2 of the quiz form is
closed.
41
S.No Action To Expected Result Actual Pass/Fail
Perform Result
PROBLEM STATEMENTS
1. PASSPORT AUTOMATION SYSTEM
Passport Automation System is used in the effective dispatch of passport
to all of the applicants. This system adopts a comprehensive approach to
minimize the manual work and schedule resources, time in a cogent manner.
The core of the system is to get the online registration form (with details such as
name, address etc.,) filled by the applicant. Testament is verified for its
genuineness by the Passport Automation System with respect to the already
existing information in the database. This forms the first and foremost step in
the processing of passport application. The information is in turn forwarded to
the regional administrator's (Ministry of External Affairs) office.
The application is then processed manually based on the report given by
the system, and any forfeiting identified can make the applicant liable to
penalty as per the law. The system also provides the applicant the list of
available dates for appointment to 'document verification' in the administrator's
office, from which they can select one. The system forwards the necessary
details to the police for its separate verification whose report is then presented
to the administrator.
2. BOOK BANK SYSTEM
The book bank management system is an software in which a
member can register themselves and then he can borrow books from the
book bank. It mainly concentrates on providing books for engineering
students.
The Book-Bank system was established in XYZ University in 1990 with an
initial book stock of 44,000. The stock has steadily increased and stands at
over 221,696 books , distributed in all departments, schools and institutes of
the University. Departmental Book-Banks are managed at departmental level.
42
easy interface to all the users to apply for the exam easily. The Exam
Registration is an application in which applicant can register themselves for the
exam. The details of the students who have registered for the examination will
be stored in a database and will be maintained. The registered details can then
be verified for any fraudulent or duplication and can be removed if found so.
The database which is verified can be used to issue hall tickets and other
necessary materials to the eligible students.
The process of students accessing the registration application and
applying for the examination by filling out the form with proper details and then
the authorities verify those details given for truth and correctness are
sequenced through steps
a. The students access exam registration application.
b. They fill out the form with correct and eligible details.
c. They complete the payment process.
d. The authorities verify or check the details.
e. After all verification the exam registration database is finalized.
The overview of the project is to design an exam registration tool for the
registration process which makes the work easy for the applicant as well as the
Authorities of Exam.
Here we assume our self as the Dealer and proceed with the transaction as
follows:
43
a. The customer login to the particular site.
b. They fill the customer details.
c. They place the orders for their product.
d. The vendor login and views the customer details and orders.
5. ONLINE COURSE RESERVATION SYSTEM
6. E- TICKETING SYSTEM
Online ticket reservation system has to be developed for Railway
department.The System should provide information about Train Details (arrival
and departure of trains along with information about stations through which it
passes).Search about train passing through stations can be obtained either by
means of train no, train name or specifying the source and destination stations.
44
b) Availability of seats in different classes along with waiting list and RAC
(Reservation Against Cancellation)information.
The CEO must enter the name and password to login the form and select
the particular employee to view the details about that employee and
maintaining the employee details personally. This process of employee
management system are described sequentially through following steps,
The customer should select the item to be purchased from the shop by
using credit card payment then the vendor should give a bill for the selected
item. The customer should give his card to swap and request for the kind
of amount transaction. After processing the transaction, the CREDIT
45
CARD MACHINE should give the balance print statement or receipt. The
Credit Card Processing System are described sequentially through steps
• Customer should select the item from the shop
• Vendor makes the bill for the selected item.
• Customer gives the credit card to the vendor to swap the
card.
• They required amount transaction is done by the card
reader.
• Vendor will issue the balance statement to the customer.
• Customers put the signature in the receipt and return to
the vendor.
9. E-BOOK MANAGEMENT SYSTEM
The main objective of this project is to overcome the work load and time
consumption which makes the maintenance of the eBook in an organization as
a tedious process. This project provides complete information about the details
of the eBook to the customers. This project identifies the amount of book
available. Separate modules have been created for purchasing, viewing book
details, and delivery details.
The recruitment system allows the job seekers to enroll their names
through the process of registration. The employee also can get the list of
available candidates and shortlist for their company requirement. Once the
applicant enrolls he receives an id, which helps him in further correspondence.
A fees amount is received from the job seekers for enrollment. This system
makes the task of the job seeker easier rather than waiting in queue for
enrollment. This also reduces the time consumption for both for the job seeker
and employee. The recruitment system will select the candidate for an
organization based on aptitude test, Interview. It generates results for the test
taken up the candidates and reports to view the systems usage by the
graduates and the employers in the recruitment process in a periodical base.
Access rights are allocated in following order.
Administrator->Organization/Company->Candidates
46
• The administrator is given rights only to add or delete Candidate
profiles, provide information about company and job conformation and
publish results for aptitude test.But has no rights to access the
recruiting information.
• Organization or HR Department is given rights to access the recruiting
information and if needed, make changes to them.
• They can also access the report database to view number of applied and
selected graduates for all the designations with the details in brief.
• All the reports and queries are at their disposal. Candidates are the end
users of the system.
• They login the recruiting session and attend the aptitude test.
• The candidates cannot access any of the databases including the
questions, report or the profile database.
• The candidates can view their results through this system. Each
Candidate is given a username and password to ensure the security.
• The aptitude test in recruitment system is basically objective questions.
• The session is fixed for each candidate and the questions carry a time
limit within which the candidates are supposed to answer the questions.
• Otherwise the question lapses and no points are awarded for that
question. The student has the ability to pass the question and answer
the question later within the remaining time left.
• In recruitment system All the Graduates, Employer and
Administrator information is maintained in normalized database instead
of manual records.
11. FOREIGN TRADING SYSTEM
Foreign Trading System involves details about the export and import
of materials between two or many countries.
The main objective of this project is to ensure globalization and thereby
ensuring that the buyers all over the world get the desired product that helps in
the development of their globalizations.
This software helps the trading system to be easy for the promoters and
the buyers to maintain their export and import details.
The database contains all the details of the export and import
procedures.
The system consists of two databases to maintain this software.
➢ The import session
➢ The export session.
Export session :
✓ The promoter has to maintain the details of the products that are
been exported to other countries.
✓ The bank’s certification should be issued for the export products.
The following details are maintained in database are
❖ product name that is to be delivered,
❖ the number of items to be exported ,
❖ the date and time of the product to be delivered,
❖ the mode of transport through which the goods are sent
❖ the details of the transaction.
Import session:
47
✓ The buyer has to maintain the details of the products brought from
the foreign countries.
✓ The bank’s certification should be issued to the import products.
The following details are maintained in database are
❖ product name that is to be imported,
❖ the number of items to be imported ,
❖ the date and time of the product to be imported ,
❖ the mode of transport through which the goods are received
❖ the details of the transaction.
12. CONFERENCE MANAGEMENT SYSTEM
Our conference Management System handles
48
made. A BPO is often operated through an extensive open workspace for call
center agents, with work stations that include a computer for each agent, a
telephone set/headset connected to a telecom switch and one or more
supervisor stations. It can be independently operated or networked with
additional centers, often linked to a corporate computer network, including
mainframes, micro computers and LANS.Increasingly the voice and data
pathways into the centre are linked through a set of new technologies called
Computer Telephony Integration. Most major business use call centers to
interact with their customers. Examples include utility companies, mail order
catalogue firms, and customer support for computer hardware and software.
Some business even service internal functions through call centers.
14. LIBRARY MANAGEMENT SYSTEM
The purpose of the LIBRARY MANAGEMENT SYSTEM is mainly to
provide automation to the library. The categories of users provided are:
The Student Management System can handle all the details about a
Student. The details include College details, Course details, Students personal
details, Academic details etc., The Student Management System is an
automated version of manual Student Management System. The student
management system allows authorized members to access the record of
academically registered students. This helps in maintaining the database of the
students in any educational organization. We can easily access any student’s
information anytime and can be kept safely for long period of time without any
damage.
1. Administrator
49
2. User
i) Administrator:
SMS is managed by Administrator. Administrator has to update
and monitor the registered student details , provide register number for all
students, generate hall tickets for all students, evaluate examination marks and
allocate fees for each course etc.,
ii) User:
User can only view their personal details, fees details, examination
schedule, mark sheet, download hall tickets for each semester.
• To update the information that is essential to transmit to the users.
• To have a centralized control over the records of the students,
departments, teachers, staffs, library, etc., and monitor the changes in
these records.
50
Component Diagram for Quiz System
QUIZ SYSTEM
User
Interface
The nodes appear as boxes, and the artifacts allocated to each node
appear as rectangles within the boxes. Nodes may have subnodes, which
appear as nested boxes. A single node in a deployment diagram may
conceptually represent multiple physical nodes, such as a cluster of database
servers.
• Nodes
• Relationships among nodes
The usage of deployment diagrams can be described as follows:
51
Panimalar Engineering College
Node: The element that provides the execution environment for the components of a
system. Depicted by a cube with the name of the object in it, preceded by a colon, and
underlined.
Printer
Node 1
Device :
Monitor
Mouse
Keyboard
Code Generation
Steps:
The ATM will service one customer at a time. A customer will be required to
insert an ATM card and enter a personal identification number (PIN) - both of which
will be sent to the bank for validation as part of each transaction. The ATM will
communicate each transaction to the bank and obtain verification that it was allowed
by the bank. If the bank determines that the customer's PIN is invalid, the customer
will be required to re-enter the PIN before a transaction can proceed. If the customer is
unable to successfully enter the PIN after three tries, the card will be permanently
retained by the machine, and the customer will have to contact the bank to get it
back. The system shows the list of items such as balance enquiry, withdrawal, cancel
options. When the customer selects the balance enquiry option, then the system
shows the balance that left in the account and prints as receipt. When the customer
selects the withdrawal option then the system should ask the amount and dispense
the amount after enquiring the balance. After all transactions, the customer should
collect the ejected card.
Entries will be made in the log when the ATM is started up and shut down, for
each message sent to the Bank (along with the response back, if one is expected), for
the dispensing of cash, and for the receiving of an envelope.
2) STUDENT MARK ANALYZING SYSTEM
Student marks analyzing system has to be developed for analyzing the marks
obtained by the students who scored in Semester Examination.
The System should provide the following functionalities
➢ The System obtains the following information (Student No, Name,
Department, Semester, Section, Marks obtained in each subject and No
of students in each section) from the faculty and generates report.
➢ The total and average of each student should be calculated and ranked
based on total and pass in all the subject appeared. If a student fails in
at least in one subject then he/she should be given rank.
➢ The Final report should display the top 3 persons in each subject along
with rank, percentage, Class, Pass/Fail Status for each student.
➢ The report should also contain information about no of students passed,
failed, list of students who got more than 60% in each subject and
overall list of students who got >=60%
3) TIC-TAC-TOE SYSTEM
Tic-tac-toe system is to play game in system. It should ensure that the game
should accommodate only two players at a time. The player should be able to click on
the labels and view their corresponding symbols. The software should be able to
declare the winner when the required pattern of a particular symbol is found.
The players must first register themselves to access the system. While
registering the players must give their details. Only two players can accommodate the
game. The players are given alternate chances for clicking the boxes to place their
corresponding labels in the tic-tac-toe square board. The software should be able to
create a new play area if the players opt to play a new game. The software should be
able to update the scores of individual players on the completion of each game. When
the users opt to exit the software should log them out.
Login:
4) EXPERT SYSTEMS
An expert System has to be developed for prescribing medicines for given
symptoms.
The System should contain the following features
• The user has to query the system by giving his name, age group, sex,
symptoms, period (how long the user is having those symptoms). Based on
these inputs, the system has to make a comparison with the symptoms in
the database prescribing the medicine for the symptoms.
• Only the Registered users can query the system. So there should be
registration form and after registration the user has to be given username
and password. If the user enters the correct password then the system has
to redirect to query form.
• In the query form, age group should be combo box and list of symptoms
should be in the form of list box with options selecting multiple symptoms.
While prescribing the medicine for the symptoms, corresponding disease,
medicine name and medicine manufacturer name along with price has to be
displayed.
5) PAYROLL SYSTEM
The payroll system is a new system that replaces the current manual process
of calculating the salary. It enables to maintain employees details , the accountant
calculates salary , generates pay slip and updates the database. Maintaining
Employee Details ( New Employee , Modification in Employee Details) The employee
can login and to edit/view his profile .The system Admin / accountant maintains
employee salary details based on his/her attendance and the payment type selected
by the employee, Maintaining the Loan Details ,Payslip generation includes Company
Details with Name , Department , Designation , Bank AccountNo ,Date , Basic pay,
DA (30% of basic pay), HRA(8% of basicpay), Total Deductions( PF, IT, Loan , LOP) ,
Grosspay ( total pay) , Netpay ( Grosspay – Deduction) ,Access to database can be
restricted to by providing multiple users and privileges