SlideShare a Scribd company logo
1
Overview
Functional Testing
Boundary Value Testing (BVT)
Boundary Value Analysis
Robustness Testing
Worst Case Testing
Special Value Testing
Equivalence Class Testing
Weak Equivalence Class Testing
Strong Equivalence Class Testing
Traditional Equivalence Class testing
Decision Table Based testing
Decision Tables
Technique
Examples
2
Decision Tables - General
Decision tables are a precise yet compact way to
model complicated logic. Decision tables, like if-
then-else and switch-case statements, associate
conditions with actions to perform. But, unlike the
control structures found in traditional
programming languages, decision tables can
associate many independent conditions with
several actions in an elegant way.
“http://en.wikipedia.org/wiki/Decision_table”
3
Decision Tables - Usage
• Decision tables make it easy to observe that all possible
conditions are accounted for.
• Decision tables can be used for:
– Specifying complex program logic
– Generating test cases (Also known as logic-based testing)
• Logic-based testing is considered as:
– structural testing when applied to structure (i.e. control flowgraph
of an implementation).
– functional testing when applied to a specification.
4
Decision Tables - Structure
Conditions - (Condition stub) Condition Alternatives –
(Condition Entry)
Actions – (Action Stub) Action Entries
• Each condition corresponds to a variable, relation or predicate
• Possible values for conditions are listed among the condition
alternatives
• Boolean values (True / False) – Limited Entry Decision Tables
• Several values – Extended Entry Decision Tables
• Don’t care value
• Each action is a procedure or operation to perform
• The entries specify whether (or in what order) the action is to be
performed
5
• To express the program logic we can use a limited-entry
decision table consisting of 4 areas called the condition
stub, condition entry, action stub and the action entry:
Rule1 Rule2 Rule3 Rule4
Condition
1
Yes Yes No No
Condition
2
Yes X No X
Condition
3
No Yes No X
Condition
4
No Yes No Yes
Action1 Yes Yes No No
Action2 No No Yes No
Action3 No No No Yes
Condition
stub
Action stub
Action Entry
Condition entry
6
• We can specify default rules to indicate the action to be
taken when none of the other rules apply.
• When using decision tables as a test tool, default rules and
their associated predicates must be explicitly provided.
Rule5 Rule6 Rule7 Rule8
Condition1 X No Yes Yes
Condition2 X Yes X No
Condition3 Yes X No No
Condition4 No No Yes X
Default
action
Yes Yes Yes Yes
7
Decision Table - Example
Conditions
Printer does not print Y Y Y Y N N N N
A red light is flashing Y Y N N Y Y N N
Printer is unrecognized
Y N Y N Y N Y N
Actions
Heck the power cable X
Check the printer-computer cable X X
Ensure printer software is installed X X X X
Check/replace ink X X X X
Check for paper jam X X
Printer Troubleshooting
8
Decision Table Example
9
Decision Table Development
Methodology
1. Determine conditions and values
2. Determine maximum number of rules
3. Determine actions
4. Encode possible rules
5. Encode the appropriate actions for each rule
6. Verify the policy
7. Simplify the rules (reduce if possible the number
of columns)
10
Decision Tables - Usage
• The use of the decision-table model is applicable when :
– the specification is given or can be converted to a decision table .
– the order in which the predicates are evaluated does not affect the
interpretation of the rules or resulting action.
– the order of rule evaluation has no effect on resulting action .
– once a rule is satisfied and the action selected, no other rule need be
examined.
– the order of executing actions in a satisfied rule is of no consequence.
• The restrictions do not in reality eliminate many potential applications.
– In most applications, the order in which the predicates are evaluated is
immaterial.
– Some specific ordering may be more efficient than some other but in
general the ordering is not inherent in the program's logic.
11
Decision Tables - Issues
• Before using the tables, ensure:
– rules must be complete
• every combination of predicate truth values plus
default cases are explicit in the decision table
– rules must be consistent
• every combination of predicate truth values results
in only one action or set of actions
12
Processes
• These lectures all relate to processes:
– Describing, analyzing, developing, modifying,
documenting,…
• Types of processes include:
– Decision processes
– Data flow & manipulation processes, …
• Specific approaches depend on internal
needs & practices, standards
• “A process model is a formal way of
representing how a business operates”
13
Flow charts
• There are several standards – just be
consistent
• Manual methods vs. automated tools
– Visio, PowerPoint, etc.
• Waves of fashion / variety of uses
– Programming
– Documenting processes
– Multi-user settings
– General documentation of all sorts
14
Flow chart techniques
• Basic symbols
– Terminator
– Process
– Decision
– Predefined process
– On-page connector
– Connector
T e r m in a t o r
P r o c e s s
D e c is io n
P r e d e f in e d
P r o c e s s
1
Y e s
N o
T h is c a llo u t
p o in t s t o a
c o n n e c t o r
15
Flowchart guidelines
1. Top to bottom, left to right on the page
2. Activity being flowcharted should be defined
carefully and made clear to reader
3. Identity start and end
4. Use “one-verb” (verb-noun) descriptions
– Examples: “prepare statement,” “file record”
1. Keep steps in proper sequence
2. Observe scope & range of activity; branches
should be on separate pages
3. Use standard symbols; lines should NOT cross
– Use cross-overs only if necessary; keep lines straight
1. No blind alleys or endless loops
What is UML and Why we use UML?
1997: UML 1.0, 1.1
1996: UML 0.9 & 0.91
1995: Unified Method 0.8
Other methods
Booch ‘91
Booch ‘93 OMT - 2
OMT - 1
Year Version
2003: UML 2.0
2001: UML 1.4
1999: UML 1.3
How to use UML diagrams to
design software system?
• Types of UML Diagrams:
 Use Case Diagram
 Class Diagram
 Sequence Diagram
 Collaboration Diagram
 State Diagram
This is only a subset of diagrams … but are most widely used
Use-Case Diagrams
• A use-case diagram is a set of use cases
• A use case is a model of the interaction between
 External users of a software product (actors) and
 The software product itself
 More precisely, an actor is a user playing a specific role
• describing a set of user scenarios
• capturing user requirements
• contract between end user and software developers
Use-Case Diagrams
Library System
Borrow
Order Title
Fine Remittance
Client
Employee
Supervisor
Boundary
Actor
Use Case
Use-Case Diagrams
• Actors: A role that a user plays with respect to the system, including human
users and other systems. e.g., inanimate physical objects (e.g. robot); an
external system that needs some information from the current system.
• Use case: A set of scenarios that describing an interaction between a user
and a system, including alternatives.
• System boundary: rectangle diagram representing the boundary between
the actors and the system.
Use-Case Diagrams
• Association:
communication between an actor and a use case; Represented by a solid line.
• Generalization: relationship between one general use case and a special use
case (used for defining special alternatives) Represented by a line with a
triangular arrow head toward the parent use case.
Use-Case Diagrams
Extend: a dotted line labeled <<extend>> with
an arrow toward the base case. The extending
use case may add behavior to the base use
case. The base class declares “extension
points”.
Include: a dotted line labeled <<include>>
beginning at base use case and ending with an
arrows pointing to the include use case. The
include relationship occurs when a chunk of
behavior is similar across more than one use
case. Use “include” in stead of copying the
description of that behavior.
<<include>>
Use-Case Diagrams
Figure 16.12
The McGraw-Hill Companies, 2005
Use-Case Diagrams
• Both Make Appointment
and Request Medication
include Check Patient
Record as a subtask
(include)
• The extension point is
written inside the base
case Pay bill; the
extending class Defer
payment adds the
behavior of this extension
point. (extend)
• Pay Bill is a parent use
case and Bill Insurance
is the child use case.
(generalization)
(TogetherSoft, Inc)
Instances and Schemas
• Similar to types and variables in
programming languages
• Schema – the logical structure of the
database (e.g., set of customers and
accounts and the relationship between
them)
• Instance – the actual content of the database
at a particular point in time
Data Independence
• Ability to modify a schema definition in
one level without affecting a schema
definition in the other levels.
• The interfaces between the various levels
and components should be well defined so
that changes in some parts do not seriously
influence others.
• Two levels of data independence
– Physical data independence
– Logical data independence
Data Models
• A collection of tools for describing:
– Data
– Data relationships
– Data semantics
– Data constraints
• Object-based logical models
– Entity-relationship model
– Object-oriented model
– Semantic model
– Functional model
• Record-based logical models
– Relational model (e.g., SQL/DS, DB2)
– Network model
– Hierarchical model (e.g., IMS)
Entity-Relationship Model
Example of entity-relationship model
customer accountdepositor
social-security customer-street
customer-name
account-number
balancecustomer-city
Relational Model
Example of tabular data in the relational model:
name ssn street city account-number
Johnson 192-83-7465 Alma Palo Alto A-101
Smith 019-28-3746 North Rye A-215
Johnson 192-83-7465 Alma Palo Alto A-201
Jones 321-12-3123 Main Harrison A-217
Smith 019-28-3746 North Rye A-201
account-number balance
A-101 500
A-201 900
A-215 700
A-217 750

More Related Content

What's hot

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Kumar
 
Prototype model
Prototype modelPrototype model
Prototype model
shuisharma
 
SRS(software requirement specification)
SRS(software requirement specification)SRS(software requirement specification)
SRS(software requirement specification)
Akash Kumar Dhameja
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Prachi Sasankar
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
Sachin MK
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
Shakila Mahjabin
 
Sql ppt
Sql pptSql ppt
Sql ppt
Anuja Lad
 
Introduction to UML
Introduction to UMLIntroduction to UML
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Puneet Arora
 
Sdlc
SdlcSdlc
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
FUNCTION DEPENDENCY  AND TYPES & EXAMPLEFUNCTION DEPENDENCY  AND TYPES & EXAMPLE
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
Vraj Patel
 
joins in database
 joins in database joins in database
joins in database
Sultan Arshad
 
Feasibility study
Feasibility studyFeasibility study
Feasibility study
Prof.Nilesh Magar
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machine
Vaibhav Khanna
 
Software design
Software designSoftware design
Software design
Zulqarnaintayyab
 
Dbms 14: Relational Calculus
Dbms 14: Relational CalculusDbms 14: Relational Calculus
Dbms 14: Relational Calculus
Amiya9439793168
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
Smriti Jain
 
System Modelling
System ModellingSystem Modelling
System Modelling
Jennifer Polack
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra ppt
GirdharRatne
 

What's hot (20)

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Prototype model
Prototype modelPrototype model
Prototype model
 
SRS(software requirement specification)
SRS(software requirement specification)SRS(software requirement specification)
SRS(software requirement specification)
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Sql ppt
Sql pptSql ppt
Sql ppt
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Sdlc
SdlcSdlc
Sdlc
 
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
FUNCTION DEPENDENCY  AND TYPES & EXAMPLEFUNCTION DEPENDENCY  AND TYPES & EXAMPLE
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
 
joins in database
 joins in database joins in database
joins in database
 
Feasibility study
Feasibility studyFeasibility study
Feasibility study
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machine
 
Software design
Software designSoftware design
Software design
 
Dbms 14: Relational Calculus
Dbms 14: Relational CalculusDbms 14: Relational Calculus
Dbms 14: Relational Calculus
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
System Modelling
System ModellingSystem Modelling
System Modelling
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra ppt
 

Viewers also liked

Decision Table Training Session
Decision Table Training SessionDecision Table Training Session
Decision Table Training Session
nazeer pasha
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Oksana
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Manindra Simhadri
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Gregory Solovey
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
Khuong Nguyen
 
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Ryan Tran
 
DFD, Decision Table, Decision Chart, Structure Charts
DFD, Decision Table, Decision Chart, Structure ChartsDFD, Decision Table, Decision Chart, Structure Charts
DFD, Decision Table, Decision Chart, Structure Charts
SOuvagya Kumar Jena
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Pragya Rastogi
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Bipul Roy Bpl
 
Podprogram
PodprogramPodprogram
Podprogram
LidiKashka
 
LW_brochure_lq_NL
LW_brochure_lq_NLLW_brochure_lq_NL
LW_brochure_lq_NL
Tapio Pekelharing
 
헝셩그룹 -900270- 알고리즘 기업분석 보고서
헝셩그룹 -900270- 알고리즘 기업분석 보고서헝셩그룹 -900270- 알고리즘 기업분석 보고서
헝셩그룹 -900270- 알고리즘 기업분석 보고서
알고리즘 기업분석 컨설팅-알기컨,algikeon
 
Auto Retrato_Suzely_Paranaíba
Auto Retrato_Suzely_ParanaíbaAuto Retrato_Suzely_Paranaíba
Auto Retrato_Suzely_Paranaíba
Suzely
 
Proyecto de alejandra
Proyecto de alejandraProyecto de alejandra
Taller Remedial de Matemáticas
Taller Remedial de MatemáticasTaller Remedial de Matemáticas
Taller Remedial de Matemáticas
Juliho Castillo
 
Tutorial de Popplet
Tutorial de PoppletTutorial de Popplet
Tutorial de Popplet
Laura Elena Reyes
 
One Try India – Non Profit Organization
One Try India – Non Profit OrganizationOne Try India – Non Profit Organization
One Try India – Non Profit Organization
Onetryindia
 
Animes muy girly
Animes muy girly Animes muy girly
Animes muy girly
Elizabeth Fernandez
 
EquivalencePartition
EquivalencePartitionEquivalencePartition
EquivalencePartition
swornim nepal
 
Production schedule and resources
Production schedule and resources Production schedule and resources
Production schedule and resources
Emily Shaw
 

Viewers also liked (20)

Decision Table Training Session
Decision Table Training SessionDecision Table Training Session
Decision Table Training Session
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
 
DFD, Decision Table, Decision Chart, Structure Charts
DFD, Decision Table, Decision Chart, Structure ChartsDFD, Decision Table, Decision Chart, Structure Charts
DFD, Decision Table, Decision Chart, Structure Charts
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Podprogram
PodprogramPodprogram
Podprogram
 
LW_brochure_lq_NL
LW_brochure_lq_NLLW_brochure_lq_NL
LW_brochure_lq_NL
 
헝셩그룹 -900270- 알고리즘 기업분석 보고서
헝셩그룹 -900270- 알고리즘 기업분석 보고서헝셩그룹 -900270- 알고리즘 기업분석 보고서
헝셩그룹 -900270- 알고리즘 기업분석 보고서
 
Auto Retrato_Suzely_Paranaíba
Auto Retrato_Suzely_ParanaíbaAuto Retrato_Suzely_Paranaíba
Auto Retrato_Suzely_Paranaíba
 
Proyecto de alejandra
Proyecto de alejandraProyecto de alejandra
Proyecto de alejandra
 
Taller Remedial de Matemáticas
Taller Remedial de MatemáticasTaller Remedial de Matemáticas
Taller Remedial de Matemáticas
 
Tutorial de Popplet
Tutorial de PoppletTutorial de Popplet
Tutorial de Popplet
 
One Try India – Non Profit Organization
One Try India – Non Profit OrganizationOne Try India – Non Profit Organization
One Try India – Non Profit Organization
 
Animes muy girly
Animes muy girly Animes muy girly
Animes muy girly
 
EquivalencePartition
EquivalencePartitionEquivalencePartition
EquivalencePartition
 
Production schedule and resources
Production schedule and resources Production schedule and resources
Production schedule and resources
 

Similar to Decision table

Management Information system
Management Information systemManagement Information system
Management Information system
Cochin University
 
Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineering
Rupesh Vaishnav
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
snehalkulkarni74
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptx
azida3
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
Wajahat Hasnain
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
AZKANAAZ1
 
unit2.pptx
unit2.pptxunit2.pptx
unit2.pptx
ssuser6109b1
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
BootNeck1
 
Use case modeling & analysis v 1
Use case modeling & analysis v 1Use case modeling & analysis v 1
Use case modeling & analysis v 1
JIGAR MAKHIJA
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
NouraBaccar1
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
zaaakditte
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagram
Farah Ahmed
 
3. 1 req elicitation
3. 1 req elicitation3. 1 req elicitation
3. 1 req elicitation
Ashenafi Workie
 
Soft requirement
Soft requirementSoft requirement
Soft requirement
Rishav Upreti
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)
randhirlpu
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Fajar Baskoro
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
mohamed tahoon
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
Muhammad Imran
 
Operations Research
Operations ResearchOperations Research
Operations Research
Dr T.Sivakami
 
Ch07
Ch07Ch07

Similar to Decision table (20)

Management Information system
Management Information systemManagement Information system
Management Information system
 
Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineering
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptx
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
 
unit2.pptx
unit2.pptxunit2.pptx
unit2.pptx
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Use case modeling & analysis v 1
Use case modeling & analysis v 1Use case modeling & analysis v 1
Use case modeling & analysis v 1
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagram
 
3. 1 req elicitation
3. 1 req elicitation3. 1 req elicitation
3. 1 req elicitation
 
Soft requirement
Soft requirementSoft requirement
Soft requirement
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
 
Operations Research
Operations ResearchOperations Research
Operations Research
 
Ch07
Ch07Ch07
Ch07
 

More from jeebala

ED PPT.pptx
ED PPT.pptxED PPT.pptx
ED PPT.pptx
jeebala
 
humanrightsandduties-150805163042-lva1-app6891.pptx
humanrightsandduties-150805163042-lva1-app6891.pptxhumanrightsandduties-150805163042-lva1-app6891.pptx
humanrightsandduties-150805163042-lva1-app6891.pptx
jeebala
 
TWOMARKPOMQ&A.doc
TWOMARKPOMQ&A.docTWOMARKPOMQ&A.doc
TWOMARKPOMQ&A.doc
jeebala
 
pom.doc
pom.docpom.doc
pom.doc
jeebala
 
Intro BA.pptx
Intro BA.pptxIntro BA.pptx
Intro BA.pptx
jeebala
 
Attitude
AttitudeAttitude
Attitude
jeebala
 
Imc study materials
Imc study materialsImc study materials
Imc study materials
jeebala
 

More from jeebala (7)

ED PPT.pptx
ED PPT.pptxED PPT.pptx
ED PPT.pptx
 
humanrightsandduties-150805163042-lva1-app6891.pptx
humanrightsandduties-150805163042-lva1-app6891.pptxhumanrightsandduties-150805163042-lva1-app6891.pptx
humanrightsandduties-150805163042-lva1-app6891.pptx
 
TWOMARKPOMQ&A.doc
TWOMARKPOMQ&A.docTWOMARKPOMQ&A.doc
TWOMARKPOMQ&A.doc
 
pom.doc
pom.docpom.doc
pom.doc
 
Intro BA.pptx
Intro BA.pptxIntro BA.pptx
Intro BA.pptx
 
Attitude
AttitudeAttitude
Attitude
 
Imc study materials
Imc study materialsImc study materials
Imc study materials
 

Recently uploaded

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 

Recently uploaded (20)

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 

Decision table

  • 1. 1 Overview Functional Testing Boundary Value Testing (BVT) Boundary Value Analysis Robustness Testing Worst Case Testing Special Value Testing Equivalence Class Testing Weak Equivalence Class Testing Strong Equivalence Class Testing Traditional Equivalence Class testing Decision Table Based testing Decision Tables Technique Examples
  • 2. 2 Decision Tables - General Decision tables are a precise yet compact way to model complicated logic. Decision tables, like if- then-else and switch-case statements, associate conditions with actions to perform. But, unlike the control structures found in traditional programming languages, decision tables can associate many independent conditions with several actions in an elegant way. “http://en.wikipedia.org/wiki/Decision_table”
  • 3. 3 Decision Tables - Usage • Decision tables make it easy to observe that all possible conditions are accounted for. • Decision tables can be used for: – Specifying complex program logic – Generating test cases (Also known as logic-based testing) • Logic-based testing is considered as: – structural testing when applied to structure (i.e. control flowgraph of an implementation). – functional testing when applied to a specification.
  • 4. 4 Decision Tables - Structure Conditions - (Condition stub) Condition Alternatives – (Condition Entry) Actions – (Action Stub) Action Entries • Each condition corresponds to a variable, relation or predicate • Possible values for conditions are listed among the condition alternatives • Boolean values (True / False) – Limited Entry Decision Tables • Several values – Extended Entry Decision Tables • Don’t care value • Each action is a procedure or operation to perform • The entries specify whether (or in what order) the action is to be performed
  • 5. 5 • To express the program logic we can use a limited-entry decision table consisting of 4 areas called the condition stub, condition entry, action stub and the action entry: Rule1 Rule2 Rule3 Rule4 Condition 1 Yes Yes No No Condition 2 Yes X No X Condition 3 No Yes No X Condition 4 No Yes No Yes Action1 Yes Yes No No Action2 No No Yes No Action3 No No No Yes Condition stub Action stub Action Entry Condition entry
  • 6. 6 • We can specify default rules to indicate the action to be taken when none of the other rules apply. • When using decision tables as a test tool, default rules and their associated predicates must be explicitly provided. Rule5 Rule6 Rule7 Rule8 Condition1 X No Yes Yes Condition2 X Yes X No Condition3 Yes X No No Condition4 No No Yes X Default action Yes Yes Yes Yes
  • 7. 7 Decision Table - Example Conditions Printer does not print Y Y Y Y N N N N A red light is flashing Y Y N N Y Y N N Printer is unrecognized Y N Y N Y N Y N Actions Heck the power cable X Check the printer-computer cable X X Ensure printer software is installed X X X X Check/replace ink X X X X Check for paper jam X X Printer Troubleshooting
  • 9. 9 Decision Table Development Methodology 1. Determine conditions and values 2. Determine maximum number of rules 3. Determine actions 4. Encode possible rules 5. Encode the appropriate actions for each rule 6. Verify the policy 7. Simplify the rules (reduce if possible the number of columns)
  • 10. 10 Decision Tables - Usage • The use of the decision-table model is applicable when : – the specification is given or can be converted to a decision table . – the order in which the predicates are evaluated does not affect the interpretation of the rules or resulting action. – the order of rule evaluation has no effect on resulting action . – once a rule is satisfied and the action selected, no other rule need be examined. – the order of executing actions in a satisfied rule is of no consequence. • The restrictions do not in reality eliminate many potential applications. – In most applications, the order in which the predicates are evaluated is immaterial. – Some specific ordering may be more efficient than some other but in general the ordering is not inherent in the program's logic.
  • 11. 11 Decision Tables - Issues • Before using the tables, ensure: – rules must be complete • every combination of predicate truth values plus default cases are explicit in the decision table – rules must be consistent • every combination of predicate truth values results in only one action or set of actions
  • 12. 12 Processes • These lectures all relate to processes: – Describing, analyzing, developing, modifying, documenting,… • Types of processes include: – Decision processes – Data flow & manipulation processes, … • Specific approaches depend on internal needs & practices, standards • “A process model is a formal way of representing how a business operates”
  • 13. 13 Flow charts • There are several standards – just be consistent • Manual methods vs. automated tools – Visio, PowerPoint, etc. • Waves of fashion / variety of uses – Programming – Documenting processes – Multi-user settings – General documentation of all sorts
  • 14. 14 Flow chart techniques • Basic symbols – Terminator – Process – Decision – Predefined process – On-page connector – Connector T e r m in a t o r P r o c e s s D e c is io n P r e d e f in e d P r o c e s s 1 Y e s N o T h is c a llo u t p o in t s t o a c o n n e c t o r
  • 15. 15 Flowchart guidelines 1. Top to bottom, left to right on the page 2. Activity being flowcharted should be defined carefully and made clear to reader 3. Identity start and end 4. Use “one-verb” (verb-noun) descriptions – Examples: “prepare statement,” “file record” 1. Keep steps in proper sequence 2. Observe scope & range of activity; branches should be on separate pages 3. Use standard symbols; lines should NOT cross – Use cross-overs only if necessary; keep lines straight 1. No blind alleys or endless loops
  • 16. What is UML and Why we use UML? 1997: UML 1.0, 1.1 1996: UML 0.9 & 0.91 1995: Unified Method 0.8 Other methods Booch ‘91 Booch ‘93 OMT - 2 OMT - 1 Year Version 2003: UML 2.0 2001: UML 1.4 1999: UML 1.3
  • 17. How to use UML diagrams to design software system? • Types of UML Diagrams:  Use Case Diagram  Class Diagram  Sequence Diagram  Collaboration Diagram  State Diagram This is only a subset of diagrams … but are most widely used
  • 18. Use-Case Diagrams • A use-case diagram is a set of use cases • A use case is a model of the interaction between  External users of a software product (actors) and  The software product itself  More precisely, an actor is a user playing a specific role • describing a set of user scenarios • capturing user requirements • contract between end user and software developers
  • 19. Use-Case Diagrams Library System Borrow Order Title Fine Remittance Client Employee Supervisor Boundary Actor Use Case
  • 20. Use-Case Diagrams • Actors: A role that a user plays with respect to the system, including human users and other systems. e.g., inanimate physical objects (e.g. robot); an external system that needs some information from the current system. • Use case: A set of scenarios that describing an interaction between a user and a system, including alternatives. • System boundary: rectangle diagram representing the boundary between the actors and the system.
  • 21. Use-Case Diagrams • Association: communication between an actor and a use case; Represented by a solid line. • Generalization: relationship between one general use case and a special use case (used for defining special alternatives) Represented by a line with a triangular arrow head toward the parent use case.
  • 22. Use-Case Diagrams Extend: a dotted line labeled <<extend>> with an arrow toward the base case. The extending use case may add behavior to the base use case. The base class declares “extension points”. Include: a dotted line labeled <<include>> beginning at base use case and ending with an arrows pointing to the include use case. The include relationship occurs when a chunk of behavior is similar across more than one use case. Use “include” in stead of copying the description of that behavior. <<include>>
  • 23. Use-Case Diagrams Figure 16.12 The McGraw-Hill Companies, 2005
  • 24. Use-Case Diagrams • Both Make Appointment and Request Medication include Check Patient Record as a subtask (include) • The extension point is written inside the base case Pay bill; the extending class Defer payment adds the behavior of this extension point. (extend) • Pay Bill is a parent use case and Bill Insurance is the child use case. (generalization) (TogetherSoft, Inc)
  • 25. Instances and Schemas • Similar to types and variables in programming languages • Schema – the logical structure of the database (e.g., set of customers and accounts and the relationship between them) • Instance – the actual content of the database at a particular point in time
  • 26. Data Independence • Ability to modify a schema definition in one level without affecting a schema definition in the other levels. • The interfaces between the various levels and components should be well defined so that changes in some parts do not seriously influence others. • Two levels of data independence – Physical data independence – Logical data independence
  • 27. Data Models • A collection of tools for describing: – Data – Data relationships – Data semantics – Data constraints • Object-based logical models – Entity-relationship model – Object-oriented model – Semantic model – Functional model • Record-based logical models – Relational model (e.g., SQL/DS, DB2) – Network model – Hierarchical model (e.g., IMS)
  • 28. Entity-Relationship Model Example of entity-relationship model customer accountdepositor social-security customer-street customer-name account-number balancecustomer-city
  • 29. Relational Model Example of tabular data in the relational model: name ssn street city account-number Johnson 192-83-7465 Alma Palo Alto A-101 Smith 019-28-3746 North Rye A-215 Johnson 192-83-7465 Alma Palo Alto A-201 Jones 321-12-3123 Main Harrison A-217 Smith 019-28-3746 North Rye A-201 account-number balance A-101 500 A-201 900 A-215 700 A-217 750