The document discusses UML activity diagrams. It defines activity diagrams as describing activities and flows of data or decisions between activities. It provides details on when and how to use activity diagrams, including showing parallel threads, work flows across use cases, and multi-threaded applications. It also describes the various symbols used in activity diagrams like states, transitions, forks, joins, and swimlanes.
E secure transaction project ppt(Design and implementation of e-secure trans...AJIT Singh
e-secure transaction project ppt
This is the ppt for thee secure transaction system project for the college student. i did this project on my college days.
Here I mentioned some important points for the ppt so you can copy them and make you customize ppt on any topic or project.
Design and implementation of e-secure transaction system is my project title and in this, we have different functionalities like transfer funds and recharges,bill pay etc ,
we also use some encryption algorithms for secure the data.
+ What is domain logic?
+ Domain logic patterns:
* Transaction script
* Domain model
* Table module
* Service layer
+ Conclusion
by Pavlo Livchak, Software Engineer at ElifTech
It is often said that drawing is engineers’ language. Drawings are used to communicate and share information between different teams of engineers; the design engineer who conceptualises an equipment or system, the production engineer who plans the steps in manufacturing the required components and subsystems, the assembly engineer who puts the components together, the testing engineer who tests the complete system, the installation engineer who installs the system or equipment and the maintenance engineer who is responsible for its upkeep. To all these engineers with diverse backgrounds and expertise, a drawing should convey precise and identical information. This calls for standardised methodologies, conventions and approach in preparing drawings. This workshop will cover all these aspects with respect to engineering drawings in general and electrical drawings in particular. Various types of electrical drawings and their application, the steps in planning a drawing, selection of drawing size and scale, use of standardised symbols etc will be described in detail with commonly used examples from industry practice.
Computer Aided Drafting (CAD) has brought about a major change in the way drawings are prepared and has caused a phenomenal improvement in drawing office productivity. No organisation can afford to use the older manual methods of preparing drawings today. Apart from reuse and easy modification of existing drawings to create new ones, complete or partial automated drawing preparation has also become a possibility. The workshop discusses the advances made in this field and the links between drawings and manufacturing using 3D visualisation tools and Computer Aided Manufacturing (CAM) approach.
Use of CAD-CAM tools presents its own challenges in the way drawings are stored, shared between different groups of users and revised for reuse. The workshop also covers these aspects and takes a look at future possibilities in the way drawings will be used to disseminate information.
MORE INFORMATION - http://www.idc-online.com/content/electrical-drawings-and-schematics-25
Second presentation on domain-driven design. In this presentation tactical designs are presented, describing what value objects, entities, aggregates, domain events and domain services are (and how they can be implemented)
E secure transaction project ppt(Design and implementation of e-secure trans...AJIT Singh
e-secure transaction project ppt
This is the ppt for thee secure transaction system project for the college student. i did this project on my college days.
Here I mentioned some important points for the ppt so you can copy them and make you customize ppt on any topic or project.
Design and implementation of e-secure transaction system is my project title and in this, we have different functionalities like transfer funds and recharges,bill pay etc ,
we also use some encryption algorithms for secure the data.
+ What is domain logic?
+ Domain logic patterns:
* Transaction script
* Domain model
* Table module
* Service layer
+ Conclusion
by Pavlo Livchak, Software Engineer at ElifTech
It is often said that drawing is engineers’ language. Drawings are used to communicate and share information between different teams of engineers; the design engineer who conceptualises an equipment or system, the production engineer who plans the steps in manufacturing the required components and subsystems, the assembly engineer who puts the components together, the testing engineer who tests the complete system, the installation engineer who installs the system or equipment and the maintenance engineer who is responsible for its upkeep. To all these engineers with diverse backgrounds and expertise, a drawing should convey precise and identical information. This calls for standardised methodologies, conventions and approach in preparing drawings. This workshop will cover all these aspects with respect to engineering drawings in general and electrical drawings in particular. Various types of electrical drawings and their application, the steps in planning a drawing, selection of drawing size and scale, use of standardised symbols etc will be described in detail with commonly used examples from industry practice.
Computer Aided Drafting (CAD) has brought about a major change in the way drawings are prepared and has caused a phenomenal improvement in drawing office productivity. No organisation can afford to use the older manual methods of preparing drawings today. Apart from reuse and easy modification of existing drawings to create new ones, complete or partial automated drawing preparation has also become a possibility. The workshop discusses the advances made in this field and the links between drawings and manufacturing using 3D visualisation tools and Computer Aided Manufacturing (CAM) approach.
Use of CAD-CAM tools presents its own challenges in the way drawings are stored, shared between different groups of users and revised for reuse. The workshop also covers these aspects and takes a look at future possibilities in the way drawings will be used to disseminate information.
MORE INFORMATION - http://www.idc-online.com/content/electrical-drawings-and-schematics-25
Second presentation on domain-driven design. In this presentation tactical designs are presented, describing what value objects, entities, aggregates, domain events and domain services are (and how they can be implemented)
agcXML: Organizing the Business Information of Design and ConstructionMichael Tardif
agcXML is a data schema that facilitates the exchange of contractual information created during the design and construction of buildings and infrastructure
Angular - Chapter 4 - Data and Event HandlingWebStackAcademy
In Angular , events such as button click or any other sort of events can also be handled very easily. The events get triggered from the html page and are sent across to Angular JS class for further processing.
Data binding is a core concept in Angular and allows to define communication between a component and the DOM, making it very easy to define interactive applications without worrying about pushing and pulling data. There are four forms of data binding and they differ in the way the data is flowing.
(IMPROVED VERSION FROM GEECON)
How can we quickly tell what an application is about? How can we quickly tell what it does? How can we distinguish business concepts from architecture clutter? How can we quickly find the code we want to change? How can we instinctively know where to add code for new features? Purely looking at unit tests is either not possible or too painful. Looking at higher-level tests can take a long time and still not give us the answers we need. For years, we have all struggled to design and structure projects that reflect the business domain.
In this talk Sandro will be sharing how he designed the last application he worked on, twisting a few concepts from Domain-Driven Design, properly applying MVC, borrowing concepts from CQRS, and structuring packages in non-conventional ways. Sandro will also be touching on SOLID principles, Agile incremental design, modularisation, and testing. By iteratively modifying the project structure to better model the application requirements, he has come up with a design style that helps developers create maintainable and domain-oriented software.
Today’s highly connected world is flooding businesses with big and fast-moving data. The ability to trawl this data ocean and identify actionable insights can deliver a competitive advantage to any organization. The WSO2 Analytics Platform enables businesses to do just that by providing batch, real-time, interactive and predictive analysis capabilities all in one place.
In this tutorial we will
* Plug in the WSO2 Analytics Platform to some common business use cases
* Showcase the numerous capabilities of the platform
* Demonstrate how to collect data, analyze, predict and communicate effectively
* Demonstrate how it can analyze integration, security and IoT scenarios
Stick around till the end and you will walk away with the necessary skills to create a winning data strategy for your organization to stay ahead of its competition.
Complex Event Processing in Practice at jDays 2012Peter Norrhall
The increasing demand for real-time monitoring and decision making requires complex event processing (CEP) architectures, frameworks and tools. In this presentation Peter will introduce you to the concept CEP and in particular event stream analysis, the typical use cases, how it relates to event sourcing and implemented as event sourcing, a comparison of a couple of open source frameworks (Storm and Disruptor) and a comprehensive overview of Esper
Doing agile by book is ok for the beginning. However, it's not enough. You should continue to learn by gaining new knowledge during the project. User stories and the way you're working with them are the bricks which form the foundation the better experience.
User Stories could be Your best partner and support in project, yet them could become your worst nightmare. Where and how User Stories help? When and how User Stories could become a large burden?
Next time we will dig into user story deeper. How it differs from requirements, use cases or test cases? From what parts it consists and why?
[WSO2Con USA 2018] Patterns for Building Streaming AppsWSO2
This slide deck explains how to enable digital transformation through streaming analytics and how easily streaming applications can be implemented.
Watch video: https://wso2.com/library/conference/2018/07/wso2con-usa-2018-patterns-for-building-streaming-apps/
agcXML: Organizing the Business Information of Design and ConstructionMichael Tardif
agcXML is a data schema that facilitates the exchange of contractual information created during the design and construction of buildings and infrastructure
Angular - Chapter 4 - Data and Event HandlingWebStackAcademy
In Angular , events such as button click or any other sort of events can also be handled very easily. The events get triggered from the html page and are sent across to Angular JS class for further processing.
Data binding is a core concept in Angular and allows to define communication between a component and the DOM, making it very easy to define interactive applications without worrying about pushing and pulling data. There are four forms of data binding and they differ in the way the data is flowing.
(IMPROVED VERSION FROM GEECON)
How can we quickly tell what an application is about? How can we quickly tell what it does? How can we distinguish business concepts from architecture clutter? How can we quickly find the code we want to change? How can we instinctively know where to add code for new features? Purely looking at unit tests is either not possible or too painful. Looking at higher-level tests can take a long time and still not give us the answers we need. For years, we have all struggled to design and structure projects that reflect the business domain.
In this talk Sandro will be sharing how he designed the last application he worked on, twisting a few concepts from Domain-Driven Design, properly applying MVC, borrowing concepts from CQRS, and structuring packages in non-conventional ways. Sandro will also be touching on SOLID principles, Agile incremental design, modularisation, and testing. By iteratively modifying the project structure to better model the application requirements, he has come up with a design style that helps developers create maintainable and domain-oriented software.
Today’s highly connected world is flooding businesses with big and fast-moving data. The ability to trawl this data ocean and identify actionable insights can deliver a competitive advantage to any organization. The WSO2 Analytics Platform enables businesses to do just that by providing batch, real-time, interactive and predictive analysis capabilities all in one place.
In this tutorial we will
* Plug in the WSO2 Analytics Platform to some common business use cases
* Showcase the numerous capabilities of the platform
* Demonstrate how to collect data, analyze, predict and communicate effectively
* Demonstrate how it can analyze integration, security and IoT scenarios
Stick around till the end and you will walk away with the necessary skills to create a winning data strategy for your organization to stay ahead of its competition.
Complex Event Processing in Practice at jDays 2012Peter Norrhall
The increasing demand for real-time monitoring and decision making requires complex event processing (CEP) architectures, frameworks and tools. In this presentation Peter will introduce you to the concept CEP and in particular event stream analysis, the typical use cases, how it relates to event sourcing and implemented as event sourcing, a comparison of a couple of open source frameworks (Storm and Disruptor) and a comprehensive overview of Esper
Doing agile by book is ok for the beginning. However, it's not enough. You should continue to learn by gaining new knowledge during the project. User stories and the way you're working with them are the bricks which form the foundation the better experience.
User Stories could be Your best partner and support in project, yet them could become your worst nightmare. Where and how User Stories help? When and how User Stories could become a large burden?
Next time we will dig into user story deeper. How it differs from requirements, use cases or test cases? From what parts it consists and why?
[WSO2Con USA 2018] Patterns for Building Streaming AppsWSO2
This slide deck explains how to enable digital transformation through streaming analytics and how easily streaming applications can be implemented.
Watch video: https://wso2.com/library/conference/2018/07/wso2con-usa-2018-patterns-for-building-streaming-apps/
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...NALESVPMEngg
Class diagrams are a type of UML (Unified Modeling Language) diagram used in software engineering to visually represent the structure and relationships of classes in a system.
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...NALESVPMEngg
Class diagrams are a type of UML (Unified Modeling Language) diagram used in software engineering to visually represent the structure and relationships of classes in a system.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
Understanding Inductive Bias in Machine LearningSUTEJAS
This presentation explores the concept of inductive bias in machine learning. It explains how algorithms come with built-in assumptions and preferences that guide the learning process. You'll learn about the different types of inductive bias and how they can impact the performance and generalizability of machine learning models.
The presentation also covers the positive and negative aspects of inductive bias, along with strategies for mitigating potential drawbacks. We'll explore examples of how bias manifests in algorithms like neural networks and decision trees.
By understanding inductive bias, you can gain valuable insights into how machine learning models work and make informed decisions when building and deploying them.
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsVictor Morales
K8sGPT is a tool that analyzes and diagnoses Kubernetes clusters. This presentation was used to share the requirements and dependencies to deploy K8sGPT in a local environment.
Water billing management system project report.pdfKamal Acharya
Our project entitled “Water Billing Management System” aims is to generate Water bill with all the charges and penalty. Manual system that is employed is extremely laborious and quite inadequate. It only makes the process more difficult and hard.
The aim of our project is to develop a system that is meant to partially computerize the work performed in the Water Board like generating monthly Water bill, record of consuming unit of water, store record of the customer and previous unpaid record.
We used HTML/PHP as front end and MYSQL as back end for developing our project. HTML is primarily a visual design environment. We can create a android application by designing the form and that make up the user interface. Adding android application code to the form and the objects such as buttons and text boxes on them and adding any required support code in additional modular.
MySQL is free open source database that facilitates the effective management of the databases by connecting them to the software. It is a stable ,reliable and the powerful solution with the advanced features and advantages which are as follows: Data Security.MySQL is free open source database that facilitates the effective management of the databases by connecting them to the software.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
6th International Conference on Machine Learning & Applications (CMLA 2024)ClaraZara1
6th International Conference on Machine Learning & Applications (CMLA 2024) will provide an excellent international forum for sharing knowledge and results in theory, methodology and applications of on Machine Learning & Applications.
Online aptitude test management system project report.pdfKamal Acharya
The purpose of on-line aptitude test system is to take online test in an efficient manner and no time wasting for checking the paper. The main objective of on-line aptitude test system is to efficiently evaluate the candidate thoroughly through a fully automated system that not only saves lot of time but also gives fast results. For students they give papers according to their convenience and time and there is no need of using extra thing like paper, pen etc. This can be used in educational institutions as well as in corporate world. Can be used anywhere any time as it is a web based application (user Location doesn’t matter). No restriction that examiner has to be present when the candidate takes the test.
Every time when lecturers/professors need to conduct examinations they have to sit down think about the questions and then create a whole new set of questions for each and every exam. In some cases the professor may want to give an open book online exam that is the student can take the exam any time anywhere, but the student might have to answer the questions in a limited time period. The professor may want to change the sequence of questions for every student. The problem that a student has is whenever a date for the exam is declared the student has to take it and there is no way he can take it at some other time. This project will create an interface for the examiner to create and store questions in a repository. It will also create an interface for the student to take examinations at his convenience and the questions and/or exams may be timed. Thereby creating an application which can be used by examiners and examinee’s simultaneously.
Examination System is very useful for Teachers/Professors. As in the teaching profession, you are responsible for writing question papers. In the conventional method, you write the question paper on paper, keep question papers separate from answers and all this information you have to keep in a locker to avoid unauthorized access. Using the Examination System you can create a question paper and everything will be written to a single exam file in encrypted format. You can set the General and Administrator password to avoid unauthorized access to your question paper. Every time you start the examination, the program shuffles all the questions and selects them randomly from the database, which reduces the chances of memorizing the questions.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesChristina Lin
Traditionally, dealing with real-time data pipelines has involved significant overhead, even for straightforward tasks like data transformation or masking. However, in this talk, we’ll venture into the dynamic realm of WebAssembly (WASM) and discover how it can revolutionize the creation of stateless streaming pipelines within a Kafka (Redpanda) broker. These pipelines are adept at managing low-latency, high-data-volume scenarios.
An Approach to Detecting Writing Styles Based on Clustering Techniquesambekarshweta25
An Approach to Detecting Writing Styles Based on Clustering Techniques
Authors:
-Devkinandan Jagtap
-Shweta Ambekar
-Harshit Singh
-Nakul Sharma (Assistant Professor)
Institution:
VIIT Pune, India
Abstract:
This paper proposes a system to differentiate between human-generated and AI-generated texts using stylometric analysis. The system analyzes text files and classifies writing styles by employing various clustering algorithms, such as k-means, k-means++, hierarchical, and DBSCAN. The effectiveness of these algorithms is measured using silhouette scores. The system successfully identifies distinct writing styles within documents, demonstrating its potential for plagiarism detection.
Introduction:
Stylometry, the study of linguistic and structural features in texts, is used for tasks like plagiarism detection, genre separation, and author verification. This paper leverages stylometric analysis to identify different writing styles and improve plagiarism detection methods.
Methodology:
The system includes data collection, preprocessing, feature extraction, dimensional reduction, machine learning models for clustering, and performance comparison using silhouette scores. Feature extraction focuses on lexical features, vocabulary richness, and readability scores. The study uses a small dataset of texts from various authors and employs algorithms like k-means, k-means++, hierarchical clustering, and DBSCAN for clustering.
Results:
Experiments show that the system effectively identifies writing styles, with silhouette scores indicating reasonable to strong clustering when k=2. As the number of clusters increases, the silhouette scores decrease, indicating a drop in accuracy. K-means and k-means++ perform similarly, while hierarchical clustering is less optimized.
Conclusion and Future Work:
The system works well for distinguishing writing styles with two clusters but becomes less accurate as the number of clusters increases. Future research could focus on adding more parameters and optimizing the methodology to improve accuracy with higher cluster values. This system can enhance existing plagiarism detection tools, especially in academic settings.
3. www.ddss.arch.tue.nl
7M822
Activity Diagram: what is it?
• Describes activities and flows of data or
decisions between activities
• Provides a very broad view of business
processes
• Can be used to break out the activities
that occur within a use case
• Good for showing parallel threads
4. www.ddss.arch.tue.nl
7M822
Activity Diagram: when to use it?
• When describing work flow across many use
cases
• When analysing a use case, and before
methods are assigned to symbols
• When dealing with multi-threaded applications
5. www.ddss.arch.tue.nl
7M822
Creating an Activity Diagram
This diagram is useful in showing work flow
connections and describing behaviour that has a
lot of parallel processing.
When you use an activity diagram you can choose
the order in which to do things.
It expresses the essential sequencing rules to
follow.
It is different from a flow chart in that it shows
parallel processes, not just sequential processes.
7. www.ddss.arch.tue.nl
7M822
Activity Diagram
• Activity diagrams show the flow of control
between activities
– They can model the sequential and concurrent
steps in a computational process
– They can also model the flow of an object as it
moves from state to state at different points in the
activity
9. www.ddss.arch.tue.nl
7M822
Action State
• In a conceptual diagram an activity is a task that
needs to be done – either by a human or a
computer
• In a specification-perspective diagram or an
implementation-diagram, an activity is a method
on a class
10. www.ddss.arch.tue.nl
7M822
Sequential Branching
• A sequential branch is represented as a diamond
– It may have one incoming transition and two or more
outgoing transitions
– Guards are associated with each transition. The guards
are evaluated upon entering the branch, and the one
that evaluates to true is then taken
13. www.ddss.arch.tue.nl
7M822
Forking and Joining
• Concurrent activities within an activity diagram are modelled
with the use of synchronised bars
• Synchronisation bars are drawn as a thick horizontal or vertical
line
• Joins and Forks should balance
– The number of flows that leave a fork should equal to the number
of flows entering the corresponding join.
17. www.ddss.arch.tue.nl
7M822
Swim lanes
• The activities of an activity diagram may be performed by
different groups.
• Each zone or lane represents the responsibilities of a particular
group.
• If swimlanes are used, each activity can belong to one and only
one swimlane.
• To use swimlanes, you must arrange your activity diagrams into
vertical zones separated by dashed lines.
22. www.ddss.arch.tue.nl
7M822
Receive Order
Assign Goods to item
Authorize Payment
[ for each line item] /
Cancel Order
[ failed]
*
Reorder Goods
[ need to order]
[ succeeded]
Dispatch Order
[ stock assigned to all items and payment authorized]
24. www.ddss.arch.tue.nl
7M822
Object Flow
• Objects may be involved in the flow of control associated with an
activity.
– These associations can be shown in activity diagrams by placing objects
in the diagram and linking them to specific activities using a dependency
link.
– The same object may be the output of one action and the input of one or
more subsequent activities.
– To distinguish the various appearances of the same object, the state of
the object at each point may be placed in brackets and appended to the
name of the object.
26. www.ddss.arch.tue.nl
7M822
Date2date example: scenario’s
Use case
Log in Subscriber
Step-by-step Plan
1. Validate number of invalid login’s
2. If number of invalid login’s more than 2, stop
3. Show web-page
4. Actor enters login and password
5. Actor confirms login
6. Application validates login
7. If login is valid
7.1 Actor is marked as subscriber
7.2 Stop
8. If login is invalid
8.1 Increase the number of steps
8.2 Repeat from 1.
27. www.ddss.arch.tue.nl
7M822
Use Case Log in subscriber
Actors Subscriber, Visitor
Description
Pre-conditions
Check validity actor as subsciriber
----
Basic flow 1. Validate number of invalid login’s
2. Show web-page
3. Actor enters login and password
4. Actor confirms login
5. Application validates login
6. Actor is marked as subscriber
Extension /
Exception flow 1a Login is invalid
1a1 Number of logins >2, stop
5a Login is invalid
5a1 Increase number of logins, repeat 1
Post-conditions Actor is known as subscriber and actor is logged in
Date2date : Log in Subscriber – use case text
30. www.ddss.arch.tue.nl
7M822
NS Ticket service
• Define a use case diagram of
‘NS Ticket service’
• Describe an use case.
Take ticket
Destination
Single / Retour
No Reduction /
40% reduction
2e class / 1e class
32. www.ddss.arch.tue.nl
7M822
Use Case Buy OV Ticket
Actors Traveller
Preconditions Traveller has a valid pass
Description 1. Ticket device expects destination code
2. Traveller enters destination code
3. Extension point: NS ticket
4. Ticket device checks code and calculates the charge. Shows
destination code & fare. Activates ticket machine for paying
5. Traveller pays (use case: Pay ticket)
6. Ticket device print and supplies ticket
7. Traveller takes ticket
Extension Destination code = NS station.
3a. Ticket device expects ticket type
3b. Traveller enters Single/Return, Discount Y/N, Class
Exceptions Traveller interrupt the interaction or walk away
Traveller enters an incorrect destination code
Payment is not finished off successful
Result Traveller has ticket.
(NS can look forward to the payment)
33. www.ddss.arch.tue.nl
7M822
Make a class diagram of ‘NS ticket service’
including the classes ‘Ticket’ and
‘Destination’
+create()
+payPrice()
+printTicket()
-fromStation
-toStation
-oneWay : Boolean
-reduction : Boolean
-class
-date : Date
-price : Currency
Ticket
+validateDestination()
+showPrice()
-code
-name
-distance
-base price
Destination
+Print()
+checkStatusPrinter()
-statusPrinter
Printer
* 1
34. www.ddss.arch.tue.nl
7M822
Make an activity diagram for the actor ‘Traveller’
Enter Destination
[else] [ correct NS destination]
Choose single or return Choose reduction Y/N Choose 1st / 2snd class
[ bus&tram card]
Pay ticket
[ payment not OK]
Take ticket
[ else]