Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Software Engineering Tutorial
  • Software Development Life Cycle
  • Waterfall Model
  • Software Requirements
  • Software Measurement and Metrics
  • Software Design Process
  • System configuration management
  • Software Maintenance
  • Software Development Tutorial
  • Software Testing Tutorial
  • Product Management Tutorial
  • Project Management Tutorial
  • Agile Methodology
  • Selenium Basics
Open In App
Next Article:
The Make-Buy Decision or Decision Table - Software Engineering
Next article icon

The Make-Buy Decision or Decision Table - Software Engineering

Last Updated : 22 Dec, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

A decision table is a brief visual representation for specifying which actions to perform depending on given conditions. This article focuses on discussing decision tables in detail.

What is a Decision Table?

A decision table is a good way to settle different combination inputs with their corresponding outputs and is also called a cause-effect table.

  1. The reason to call the cause-effect table is a related logical diagramming technique called cause-effect graphing that is used to obtain the decision table. 
  2. The information represented in decision tables can also be represented as decision trees or in a programming language using if-then-else and switch-case statements. 

Importance of Decision Table

Decision tables are very helpful in test design techniques.

  1. Helps testers to search effects of combinations: It helps testers to search the effects of combinations of different inputs and other software states that must correctly implement business rules.
  2. Helps to start complex business rules: It provides a regular way of starting complex business rules, that is helpful for developers as well as for testers.
  3. Helps in the development process: It assists in the development process with the developer to do a better job. Testing with all combinations might be impractical.
  4. Used in testing: A decision table is basically an outstanding technique used in both testing and requirements management.
  5. Helps to prepare requirements: It is a structured exercise to prepare requirements when dealing with complex business rules.
  6. Helps to model complicated logic: It is also used to model complicated logic.

Decision Table in Test Designing

Blank Decision Table

CONDITIONS STEP 1 STEP 2 STEP 3 STEP 4

Condition 1

Condition 2

Condition 3

Condition 4

Decision Table: Combinations 

CONDITIONS STEP 1 STEP 2 STEP 3 STEP 4

Condition 1 Y Y N N

Condition 2 Y N Y N

Condition 3 Y N N Y

Condition 4 N Y Y N

Advantages of Decision Table

  1. Easy conversion of business flow to test case: Any complex business flow can be easily converted into test scenarios and test cases using this technique.
  2. Works iteratively: Decision tables work iteratively which means the table created at the first iteration is used as input tables for the next tables. The iteration is done only if the initial table is not satisfactory.
  3. Simple to understand: Simple to understand and everyone can use this method to design the test scenarios & test cases.
  4. Provides complete test case coverage: It provides complete coverage of test cases which helps to reduce the rework on writing test scenarios & test cases.
  5. Guarantees every combination is considered: These tables guarantee that we consider every possible combination of condition values. This is known as its completeness property. 

Next Article
The Make-Buy Decision or Decision Table - Software Engineering

P

pp_pankaj
Improve
Article Tags :
  • Software Engineering

Similar Reads

    Classification of Software - Software Engineering
    Software Engineering is the process of developing a software product in a well-defined systematic approach software engineering is the process of analyzing user needs and then designing, constructing, and testing end-user applications that will satisfy these needs through the use of software program
    8 min read
    System Design Strategy - Software Engineering
    A good system design is to organize the program modules in such a way that they are easy to develop and change. Structured design techniques help developers to deal with the size and complexity of programs. Analysts create instructions for the developers about how code should be written and how piec
    7 min read
    Changing Nature of Software - Software Engineering
    The software is an instruction or computer program that when executed provides desired features, function, and performance. A data structure that enables the program to adequately manipulate information and documents that describe the operation and use of the program. Characteristics of software: Th
    3 min read
    Benefits of CASE - Software Engineering
    Computer-aided Software Engineering (CASE) implements computer-facilitated tools and methods in software development. CASE tools were similar to computer-aided design tools used for designing hardware products. This article focuses on discussing the benefits of CASE. Benefits of CASESeveral benefits
    3 min read
    Difference between Decision Table and Decision Tree
    1. Decision Table: Decision Table is just a tabular representation of all conditions and actions. Decision Table are always used whenever the processing logic is very complicated and involves multiple conditions. The main components used for the formation of the Data Table are Conditions Stubs, Acti
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences