Lab Record Final11
Lab Record Final11
LABORATORY RECORD
KPR INSTITUTE OF ENGINEERING AND TECHNOLOGY
Coimbatore – 641 407
LABORATORY RECORD
Name : ………………………………………………………….....
Register Number : ………………………………………………………….....
Subject Code & Title : ………………………………………………………….....
Department : …………………………………………………………....
Year & Semester : ………………………………………………………….....
Place:
Date:
He/She has submitted the record for the University Practical Examination held on
……………………………
Vision
Mission
Enriching research and innovation activities in collaboration with industry and institute of repute
Ensuring the academic process to uphold culture, ethics and social responsibilities
To be a premier centre for education, dissemination of knowledge and research in the frontier areas
of computer science and engineering to serve the community with moral values.
Mission
3. 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
4. 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
5. 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
6. 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
7. 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
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of
the engineering practice
9. Individual and team work: Function effectively as an individual, and as a member or leader in
diverse teams, and in multidisciplinary settings
10. 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
11. 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
12. 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
Program Specific Outcomes (PSOs)
1. PSO 1: Solve complex engineering problems by building integrated systems across various
domains of Computational Intelligence.
2. PSO 2: Apply technical skills to produce solutions that meet the requirements of the emerging
technologies in Computer Science and Engineering.
RUBRICS FOR ASSESSMENT
Criterion #4
Ability to
Able to verify and/or
interpret and Able to verify and/or Able to identify and Unable to identify
validate several sets
discuss any validate data and verify how results how results
of data and relates to
discrepancies relate to engineering relate/differ from relate/differ from
engineering
between phenomena for theory or previous theory or previous
phenomena for
theoretical and decision making. results results.
decision making.
experimental
results
Able to listen Misunderstand the Unable to listen
Criterion #5 Carefully and respond questions and does carefully to
C. Viva Voce
Able to listen
Demonstrate the to questions not questions and does
Carefully and
ability to appropriately; is respond not provide an
Respond to
respond able to explain and appropriately to the appropriate answer,
questions
effectively to interpret results to teacher, or has some or is unable to
appropriately
questions the teacher trouble in answering answer
Questions questions
LIST OF EXPERIMENTS
7
Draw sequence diagram for the problem statement
8
Draw collaboration diagram for the problem statement
9
Draw component diagram for the problem statement
10
Draw deployment diagram for the problem statement
Total
PROBLEM STATEMENT- RECRUITMENT SYSTEM
The recruitment system allows the job seekers to view the job opportunity through
Advertisement and helps to apply for the job. The organization shortlist the applicants for
the interview. The shortlisted applicants undergo through a process of Test and Interview.
The HR department selects the Applicant based on the performance in the Test and
Interview. Finally the recruited applicants are informed. 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 organization.
EX. NO : 01
Identify and create use cases for Recruitment system.
DATE :
AIM:
To analyze the given requirements for Recruitment system and to draw the use cases.
USE CASES:
1. Advertisment
2. Apply for job
3. Shortlisted applicant
4. Test and Interview
5. Performance
6. Selected Candidates
7. Check Status
8. Notify Job seekers
9. Send Email
RESULT:
Thus, the use cases identified and created for Recruitment system.
EX. NO : 02
Identify and create actors for Recruitment system
DATE :
AIM:
To analyze the given requirements for Recruitment system and to draw the actors.
ACTORS:
1. Job Seekers
2. HR Department
RESULT:
AIM:
To analyze the given requirements for Recruitment system and to draw the use case
diagram with possible relationships.
SYSTEM:
Draw your system's boundaries using a rectangle that contains use cases.
Place actors outside the system's boundaries.
USE CASE:
Draw use cases using ovals. Label with ovals with verbs that represent the system's
functions.
ACTORS:
Actors are the users of a system. When one system is the actor of another system, label the
actor system with the actor stereotype.
RELATIONSHIPS:
Illustrate relationships between an actor and a use case with a simple line. For
relationships among use cases, use arrows labeled either "uses" or "extends." A "uses"
relationship indicates that one use case is needed by another in order to perform a task. An
"extends" relationship indicates alternative options under a certain use case.
USE CASE DIAGRAM:
RESULT:
Thus, the requirements were analyzed and the use case diagram is drawn for Recruitment
system and output was verified successfully.
EX. NO : 04
Define classes in the logical view associated with ease use case
DATE : and define their structure
AIM:
To analyze the given requirements for Recruitment system and define the classes in the
logical view associated with each use case and to draw the classes with possible relationships.
A class represent a concept which encapsulates state (attributes) and behavior (operations).
Each attribute has a type. Each operation has a signature. The class name is the only
mandatory information.
Class Name:
Class Attributes:
Operations are shown in the third partition. They are services the class provides.
The return type of a method is shown after the colon at the end of the method signature.
The return type of method parameters are shown after the colon following the
parameter name. Operations map onto class methods in code
Class Visibility
The +, - and # symbols before an attribute and operation name in a class denote the visibility of
the attribute and operation.
UML precisely conveys how code should be implemented from diagrams. If precisely
interpreted, the implemented code will correctly reflect the intent of the designer. A class may
be involved in one or more relationships with other classes. A relationship can be one of the
following types:
LOGICAL VIEW:
1. Composition:
2. Dependency:
RESULT:
Thus, the requirements were analyzed and defined the classes in the logical view
associated with each use case with possible relationships.
EX. NO : 05
Draw a class diagram for the Recruitment system
DATE :
AIM:
To analyze the given requirements for the Recruitment system and to draw the class
diagram with possible relationships.
The figure below shows an example of inheritance hierarchy. SubClass1 and SubClass2 are
derived from SuperClass. The relationship is displayed as a solid line with a hollow arrowhead
that points from the child element to the parent element.
The figure below shows an inheritance example with two styles. Although the connectors
are drawn differently, they are semantically equivalent.
Association
Associations are relationships between classes in a UML Class Diagram. They are
represented by a solid line between classes. Associations are typically named using a verb or
verb phrase which reflects the real world problem domain.
Simple Association
Cardinality
one to one
one to many
many to many
Aggregation
The figure below shows an example of aggregation. The relationship is displayed as a solid
line with a unfilled diamond at the association end, which is connected to the class that
represents the aggregate.
Composition
A special type of aggregation where parts are destroyed when the whole is destroyed.
Objects of Class2 live and die with Class1.
Class2 cannot stand by itself.
The figure below shows an example of composition. The relationship is displayed as a solid
line with a filled diamond at the association end, which is connected to the class that represents
the whole or composite.
Dependency
An object of one class might use an object of another class in the code of a method. If the
object is not stored in any field, then this is modeled as a dependency relationship.
The figure below shows an example of dependency. The relationship is displayed as a dashed
line with an open arrow.
The figure below shows another example of dependency. The Person class might have a
has Read method with a Book parameter that returns true if the person has read the book
(perhaps by checking some database).
Realization
Realization is a relationship between the blueprint class and the object containing its
respective implementation level details. This object is said to realize the blueprint class. In other
words, you can understand this as the relationship between the interface and the implementing
class.
Class Diagram Example: Order System
Class Diagram Example: GUI
RESULT:
Thus, the requirements were analyzed and class diagram is drawn for the Recruitment
system and output was verified successfully.
EX. NO : 06
Draw a start chart diagram for the Recruitment system
DATE :
AIM:
To analyze the given requirements for the Recruitment system and to draw the start chart
diagram with possible states.
A state chart diagram shows the behavior of classes in response to external stimuli. This
diagram models the dynamic flow of control from state to state within a system.
States
Transition
A solid arrow represents the path between different states of an object. Label the
transition with the event that triggered it and the action that results from it.
Initial State
Final State
An arrow pointing to a filled circle nested inside another circle represents the object's final state.
Nested States
A state allows nesting to contain sub states. A sub state inherits the transitions of its super
state (the enclosing state).
Concurrent States
States can be broken into several orthogonal state diagrams that run concurrently.
Example shows a pathetically simple alarm clock that can play either CDs or the radio and show
either the current time or the alarm time.
Synchronization and Splitting of Control
A short heavy bar with two transitions entering it represents a synchronization of control. A short
heavy bar with two transitions leaving it represents a splitting of control that creates multiple
states.
Thus, the requirements were analyzed and start chart diagram is drawn for the Recruitment
system and output was verified successfully.
EX. NO : 07
Draw a sequence diagram for the Recruitment system
DATE :
AIM:
To analyze the given requirements for the Recruitment system and to draw the sequence
diagram with possible messages.
Class roles
Class roles describe the way an object will behave in context. Use the UML object
symbol to illustrate class roles, but don't list object attributes.
Activation
Messages are arrows that represent communication between objects. Use half-arrowed
lines to represent asynchronous messages. Asynchronous messages are sent from an object that
will not wait for a response from the receiver before continuing its tasks.
Lifelines
Lifelines are vertical dashed lines that indicate the object's presence over time. The
notation for a Lifeline is a vertical dotted line extending from an object.
Illustrating Reply or Returns
There are two ways to show the return result from a message:
1. Using the message syntax returnVar = message(parameter).
2. Using a reply (or return) message line at the end of an activation bar.
Creation of Instances
Object creation notation is shown in dashed line, the arrow is filled if it's a regular
synchronous message (such as implying invoking a Java constructor), or open (stick arrow) if an
asynchronous call.
Destroying Objects
Objects can be terminated early using an arrow labeled "<< destroy >>" that points to an X.
Loops
A repetition or loop within a sequence diagram is depicted as a rectangle. Place the condition for
exiting the loop at the bottom left corner in square brackets [ ].
Sequence Diagram:
RESULT:
Thus, the requirements were analyzed and the interaction between objects and represent
them using UML sequence diagram is drawn for the Recruitment system and output was verified
successfully.
EX. NO : 08
Draw an Interaction / Collaboration diagram for the Recruitment
DATE : system
AIM:
To analyze the given requirements for the Recruitment system and to draw the
collaboration diagram with possible messages.
Objects
An object is represented by an object symbol showing the name of the object and its
class underlined, separated by a colon:
Object_name : class_name
Class roles
Class roles describe how objects behave. Use the UML object symbol to illustrate class roles, but
don't list object attributes.
Association roles
Association roles describe how an association will behave given a particular situation. Draw
association roles using simple lines labeled with stereotypes.
Links
Links connect objects and actors and are instances of associations and each link corresponds to
an association in the class diagram
Messages
Unlike sequence diagrams, collaboration diagrams do not have an explicit way to denote time
and instead number messages in order of execution. Sequence numbering can become nested
using the Dewey decimal system. For example, nested messages under the first message are
labeled 1.1, 1.2, 1.3, and so on. The condition for a message is usually placed in square brackets
immediately following the sequence number. Use a * after the sequence number to indicate a
loop.
Collaboration Diagram:
RESULT:
Thus, the requirements were analyzed and the interaction between objects and represent
them using UML collaboration diagram is drawn for the Recruitment system and output was
verified successfully.
EX. NO : 09
Draw an component diagram for the Recruitment system
DATE :
AIM:
To analyze the given requirements for the Recruitment system and to draw the
component diagram with possible components.
A component diagram is used to break down a large object-oriented system into the
smaller components, so as to make them more manageable. It models the physical view of a
system such as executables, files, libraries, etc. that resides within the node.
It visualizes the relationships as well as the organization between the components present
in the system. It helps in forming an executable system. A component is a single unit of the
system, which is replaceable and executable. The implementation details of a component are
hidden, and it necessitates an interface to execute a function. It is like a black box whose
behavior is explained by the provided and required interfaces.
a) A component
b) A node
Basic Concepts of Component Diagram
A component represents a modular part of a system that encapsulates its contents and whose
manifestation is replaceable within its environment. In UML 2, a component is drawn as a
rectangle with optional compartments stacked vertically. A high-level, abstracted view of a
component in UML 2 can be modeled as:
Interface
Provided interface symbols with a complete circle at their end represent an interface that the
component provides - this "lollipop" symbol is shorthand for a realization relationship of an
interface classifier.
Required Interface symbols with only a half circle at their end (a.k.a. sockets) represent an
interface that the component requires (in both cases, the interface's name is placed near the
interface symbol itself).
Port
Ports are represented using a square along the edge of the system or a component. A port
is often used to help expose required and provided interfaces of a component.
Component Diagram:
RESULT:
Thus, the requirements were analyzed and the communication between components and
represent them using UML component diagram is drawn for the Recruitment system and output
was verified successfully.
EX. NO : 10
Draw an deployment diagram for the Recruitment system
DATE :
AIM:
To analyze the given requirements for the Recruitment system and to draw the
deployment diagram with possible components.
1. A component
2. An artifact
3. An interface
4. A node
Other Notations
Dependency
Association relationships.
May also contain notes and constraints.
Deployment diagram:
RESULT:
Thus, the requirements were analyzed and the communication between nodes and
represent them using UML deployment diagram is drawn for the Recruitment system and output
was verified successfully.