1 The problem of correctness Consider the following program: Read(ch) WriteString(‘42’) is this correct?

Slides:



Advertisements
Similar presentations
Software Engineering - Specifications 1 Specifications Specification document must be clear, complete and correct.
Advertisements

Hong Zhu Department of Computing and Communication Technologies Oxford Brookes University, Oxford OX33 1HX, UK COMPSAC 2012 PANEL.
Software system modeling
Software Reliability CIS 640 Adapted from the lecture notes by Doron Pelel (
SD3049 Formal Methods Module Leader Dr Aaron Kans Module website
Formal Methods in Software Engineering Credit Hours: 3+0 By: Qaisar Javaid Assistant Professor Formal Methods in Software Engineering1.
1 Basic Definitions: Testing What is software testing? Running a program In order to find faults a.k.a. defects a.k.a. errors a.k.a. flaws a.k.a. faults.
MADALINA CROITORU Software Engineering week 1 Madalina Croitoru IUT Montpellier.
Software Testing and Quality Assurance
Formal Methods Just a Euroscience? Reinhard Wilhelm.
Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.
Heuristic Evaluation.
COMP 2007 R J Walters. COMP Remember - Documentation Defines your Engineering process Includes Requirements Design Testing User manuals Other.
Strategic Directions in Real- Time & Embedded Systems Aatash Patel 18 th September, 2001.
CSC 395 – Software Engineering Lecture 9: Testing -or- How I Stopped Worrying and Learned to Love the Bug.
A practical approach to formal methods Lecturer: Ralph Back Place: A5059 Time:e very second Monday, Dates: 28.1, 11.2, 25.2, 10.3, 31.3, 14.4,
CSC 395 – Software Engineering Lecture 21: Overview of the Term & What Goes in a Data Dictionary.
Formal verification Marco A. Peña Universitat Politècnica de Catalunya.
MCA –Software Engineering Kantipur City College. Topics include  Formal Methods Concept  Formal Specification Language Test plan creation Test-case.
Cleanroom Software Engineering Crystal Donald. Origins Developed by Dr. Harlan Mills in 1987 Developed by Dr. Harlan Mills in 1987 Name derived from hardware.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 10 Slide 1 Critical Systems Specification 3 Formal Specification.
Project VBA: How and Why it can Make You a Project Guru!
Software Integration and Documenting
15 th Conference on Software Engineering Education and Training Foundation Software Engineering Practices for Capstone Projects and Beyond Annegret Goold.
Rapid Prototyping Model
Software Reliability Categorising and specifying the reliability of software systems.
Evaluation of Safety Critical Software -- David L. Parnas, -- A. John van Schouwen, -- Shu Po Kwan -- June 1990 Presented By Zhuojing Li.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
Software Engineering ‘The establishment and use of sound engineering principles (methods) in order to obtain economically software that is reliable and.
Software Models (Cont.) 9/22/2015ICS 413 – Software Engineering1 -Component-based software engineering -Formal Development Model.
Verification and Validation Overview References: Shach, Object Oriented and Classical Software Engineering Pressman, Software Engineering: a Practitioner’s.
1 Scope of Software Engineering Somnuk Keretho, Assistant Professor Department of Computer Engineering Faculty of Engineering, Kasetsart University
1 New Development Techniques: New Challenges for Verification and Validation Mats Heimdahl Critical Systems Research Group Department of Computer Science.
School of Computing and Mathematics, University of Huddersfield CIA2326: Week 11 LECTURE: Formal Specification TUTORIAL/PRACTICAL: Finish off last weeks.
Lecture 14 Maintaining the System and Managing Software Change SFDV Principles of Information Systems.
Software Testing and Quality Assurance Software Quality Assurance 1.
The Systems Life Cycle AS Computing F451 AS Computing F451.
SOFTWARE ENGINEERING1 Introduction. SOFTWARE ENGINEERING2 Software Q : If you have to write a 10,000 line program in C to solve a problem, how long will.
(Static) Program Analysis 동아대학교 컴퓨터공학과 조장우. Motivation u 컴퓨터 기술자는 무엇을 해야 하는가 ? The production of reliable software, its maintenance, and safe evolution.
Software Debugging, Testing, and Verification Presented by Chris Hundersmarck November 10, 2004 Dr. Bi’s SE516.
Towards Common Standards for Studies of Software Engineering Tools and Tool Features Timothy C. Lethbridge University of Ottawa.
1 REVIEWS A Standard Form of Quality Assurance. 2 Major Alternatives for QA proof of correctness review code testing.
Software Engineering - Abdul Majeed. What is software? Definition of Software Engineering Software Process Generic view of Software Engineering Software.
1 Chapter 26 Cleanroom Software Engineering Cleanroom Developed in early 80’s by Harlan Mills Reported very good results –reliable, high-quality.
Seven Myths of Formal Methods - by Anthony Hall, Praxis Systems Presented by Shanmughapriya Senthil.
Formal Methods in Software Engineering Credit Hours: 3+0 By: Qaisar Javaid Assistant Professor.
1 Levent Yilmaz COMP7730: Formal Methods in Software Engineering.
Formal Methods in SE Software Verification Using Formal Methods By: Qaisar Javaid, Assistant Professor Formal Methods1.
Objectives Understand Corrective, Perfective and Preventive maintenance Discuss the general concepts of software configuration management.
Formal Methods in Software Engineering1 Today’s Agenda  Mailing list  Syllabus  Introduction.
FORMAL METHOD. Formal Method Formal methods are system design techniques that use rigorously specified mathematical models to build software and hardware.
Lectures 2 & 3: Software Process Models Neelam Gupta.
Choosing a Formal Method Mike Weissert COSC 481. Outline Introduction Reasons For Choosing Formality Application Characteristics Criteria For A Successful.
Formal Methods. What Are Formal Methods Formal methods refers to a variety of mathematical modeling techniques that are applicable to computer system.
Can We Trust the Computer? FIRE, Chapter 4. What Can Go Wrong? What are the risks and reasons for computer failures? How much risk must or should we accept?
Introduction SOFTWARE ENGINEERING.
Verification and Validation Overview
Software Myths Software is easy to change
The Seven Myths of Formal Methods
Software Engineering (CSE 314)
Maintenance.
BAM Annual Conference, 9th -11th September 2008
Industrial Training Provider ,
Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach
Project Management: Inspections and Reviews Formal Specifications
Failure Mode and Effect Analysis
Software system modeling
Accuracy and Precision
Activities of Formal Methods
Presentation transcript:

1 The problem of correctness Consider the following program: Read(ch) WriteString(‘42’) is this correct?

2 The problem of correctness A program is meaningless without a specification It is nearly useless without a formal specification.

3 Formal methods are essentially the mathematical foundations of software engineering In comparison with many other engineering disciplines, SE is in its infancy

4

5

6 1.Formal methods can Guarantee the software is bug free 2.Formal methods are about proofs 3.Formal methods are only useful for critical systems 4.Formal methods require mathematicians 5.Formal methods increase the cost of development 6.Formal methods are unacceptable to users 7.Formal methods are not used in real large scale systems

7 Seven Myths of Formal Methods: 1. Formal methods can guarantee that software is perfect. Rather: they are very helpful at finding errors early on and can nearly eliminate some classes of error. 2. They are all about program proving. Rather: they work largely by making you think very hard about the system you propose to build. 3. They are useful only for safety-critical systems. Rather: they are useful for almost any application. 4. They require highly trained mathematicians. Rather: they are based on mathematical specifications, which are much easier to understand than programs. 5. They increase the cost of development. Rather: they can decrease the cost. 6. They are unacceptable to clients. Rather: they help clients understand what they are buying. 7. They are not used on real, large scale software. Rather: they are being used successfully on practical projects in industry. Quoted from: J. Anthony Hall, Seven myths of formal methods, IEEE Software, 7(5):11-19, September 1990.

8 More.. 7 more myths: csdl.computer.org/dl/mags/so/1995/04/s4034.pdf More papers/publications B papers and publications