The Wayback Machine - https://web.archive.org/web/20240707023327/https://www.geeksforgeeks.org/concept-of-display-method-in-software-engineering/
Open In App

Concept of Display Method in Software Engineering

Last Updated : 24 Aug, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Display methods are basically main and important methods that are employed by software inspection process simply to ensure and confirm correctness of code and also to validate formal models.

In this method, display is a precise document i.e., accurate and correct document in which program is simply presented in a way that its correctness might be determined and identified without examining any other displays. A Display usually consists of three parts as given below :

  • P1 :
    Represents specification for the program that is presented in this display.

  • P2 :
    Represents program itself. Program name might appear in this text, so we can say that all of these programs are invoked in this display.

  • P3 :
    Represents specification of all programs that are invoked in P2 but are now known. A known program is a program that does not even require any specification. Semantic of known programs are simply considered to be easily understood. Therefore, each and every project should contain a list of programs that are assumed to be known.

Concept of Display Method :

  1. Lexicon –
    Lexicon is basically a dictionary that contains several definitions of any mathematical functions, types, program constants, etc. that are required and used in more than one display.

  2. Index –
    Index is basically a list containing all variables and programs indicating where all those items appear in displays. If some of names are used with more than one meaning, then we also explain category of each and every name.

  3. Completeness and Correctness –
    Each of display might be reviewed without any reference to other displays. Its correctness can also be verified without even looking at the implementation of programs invoked in that display or either program invoke programs that it describes.

  4. Correctness –
    A display is considered to be correct if program in P2 will completely satisfy specification that is given in P1, simply provided that programs that are invoked in P2 completely satisfy specifications that are given in P3.

  5. Completeness –
    A set of displays is considered to be complete if, for each specification of a program that is present and found in P3 of a display, there exits another display in which this specification is found in P1. A set of displays is correct only if set of displays is complete and all displays are correct.

  6. Role of Mathematical notation and Mathematical methods in Display Method :
    Display method is generally based on a mathematical model of programs. It uses some mathematical notations simply to provide an accurate and correct description of programs. In software engineering, use of mathematical methods focuses more on program development or program verification.

    Notation is very essential and important in the documentation. Documents are generally to be read by experts from different fields and must be understood in an easy and simple way. Therefore, while designing notation, we should apply principle “divide and conquer”.

    Role of Tables and Tabular notation :
    Tabular notation generally decreases complexity of expression. It decreases complexity in three ways as given below :

    • Table usually parses expression i.e., to breakdown expression to make it easy for the reader to understand.
    • Table also eliminates many of repetitions of sub-expressions that might appear in the headings of column.
    • Each entry in the table only applies to a small part of function’s domain, therefore expression in that entry can be simplified.

    Advantages :

    • Makes program documentation much more useful when a program is very lengthy
    • Represents a program simply as a set of displays along with property that each of display might be examined and verified without looking at any other displays.
    • Used to ensure the correctness of the code.




Similar Reads

Difference between Traditional Marketing Concept and Modern Marketing Concept
1. Traditional Marketing Concept : Traditional marketing concept focuses on products only and it aims in production and marketing of products and gaining more profit. Traditional marketing is profit oriented. It is based on old marketing concept and refers to a narrow concept. Traditional marketing concept is based on push marketing. It is one dime
4 min read
Introduction to Software Engineering - Software Engineering
Software is a program or set of programs containing instructions that provide the desired functionality. Engineering is the process of designing and building something that serves a particular purpose and finds a cost-effective solution to problems. Table of Content What is Software Engineering?Key Principles of Software EngineeringMain Attributes
9 min read
Reverse Engineering - Software Engineering
Software Reverse Engineering is a process of recovering the design, requirement specifications, and functions of a product from an analysis of its code. It builds a program database and generates information from this. This article focuses on discussing reverse engineering in detail. What is Reverse Engineering?Reverse engineering can extract desig
6 min read
Requirements Engineering Process in Software Engineering
Requirements Engineering is the process of identifying, eliciting, analyzing, specifying, validating, and managing the needs and expectations of stakeholders for a software system. Table of Content What is Requirements Engineering?Requirements Engineering ProcessTools Involved in Requirement EngineeringAdvantages of Requirements Engineering Process
12 min read
Difference between Software Engineering process and Conventional Engineering Process
Software Engineering Process and Conventional Engineering Process, both are processes related to computers and development. In this article, we will see the similarities as well as differences between both, that is Software Engineering Process and the Conventional Engineering Process. Table of Content Software Engineering ProcessConventional Engine
4 min read
Re-engineering - Software Engineering
Software Re-engineering is a process of software development that is done to improve the maintainability of a software system. Re-engineering is the examination and alteration of a system to reconstitute it in a new form. This process encompasses a combination of sub-processes like reverse engineering, forward engineering, reconstructing, etc.  Tab
8 min read
Difference between Software Engineering and Computer Engineering
Software engineering and Computer engineering are two distinct disciplines that focus on different aspects of computer systems. While both fields require a strong foundation in computer science and mathematics, software engineering is focused on software development processes, while computer engineering is focused on the physical components and sys
6 min read
Evolution of Software Engineering: From an Art To Engineering Discipline
Software Engineering is a systematic and cost-effective technique for software development. It is an engineering approach to developing software. For example: If someone wants to travel from Punjab to Delhi. There are two approaches one can follow to achieve the same result: The normal approach is to go out and catch the bus/train that is available
13 min read
Difference between Forward Engineering and Reverse Engineering
Forward engineering and reverse engineering are two approaches to software development, with different goals and processes. Table of Content What is Forward Engineering?Characteristics of forward engineeringWhat is Reverse Engineering?Key Elements of Forward engineering and reverse engineeringDifference between Forward Engineering and Reverse Engin
5 min read
Software Engineering | Schick-Wolverton software reliability model
Prerequisite - Jelinski Moranda software reliability model The Schick-Wolverton (S-W) model is a modification to the J-M model. It is similar to the J-M model except that it further assumes that the failure rate at the ith time interval increases with time ti since the last debugging. In the model, the program failure rate function between the (i-1
4 min read