SlideShare a Scribd company logo
Formal Methods
Lecture # 1
Umber Noureen Abbas
Lecturer
Department of Computer Science
10/27/2022 Computer Science Department, University of Sahiwal 1
Formal Method
Introduction
10/27/2022 Computer Science Department, University of Sahiwal 2
Learning Objective
•
What are formal methods in software development?
SDLC
• Waterfall SDLC
Computer Science Department, University of Sahiwal 3
10/27/2022
What are formal methods in software
development?
• In software development, formal methods are mathematical
approaches to solving software (and hardware) problems at
the requirements, specification, and design levels. Formal
methods are most likely to be applied to safety-critical or
security-critical software and systems, such as
avionics software.
10/27/2022 Computer Science Department, University of Sahiwal 4
SDLC
• Stage 1. Planning and requirement analysis
• Stage 2. Designing project architecture
• Stage 3. Development and programming
• Stage 4. Testing
• Stage 5. Deployment
10/27/2022 Computer Science Department, University of Sahiwal 5
Waterfall SDLC
10/27/2022 Computer Science Department, University of Sahiwal 6
Iterative Model
10/27/2022 Computer Science Department, University of Sahiwal 7
COSMIC TRUTH 1
If you don’t get the
requirements right, it
doesn‘t matter how
well you execute the
rest of the project
10/27/2022 Computer Science Department, University of Sahiwal 8
COSMIC TRUTH 2
Customer
involvement is
the most critical
factor in achieving
software quality.
10/27/2022 Computer Science Department, University of Sahiwal 9
Obtaining Customer Involvement
 Identify user classes
 Select “product champions”
 Employ the use case technique
 Understand how product will be used
 Scenarios
 operational profile
 Build prototypes
 Agree on customer rights and responsibilities
10/27/2022 Computer Science Department, University of Sahiwal 10
COSMIC TRUTH 5
The customer is
not always right.
But the customer
always has a point.
10/27/2022 Computer Science Department, University of Sahiwal 11
How can customer not be right?
 Presenting solutions in the guise of requirements
 Not prioritizing requirements
 Not communicating or respecting business rules or constraints
 Not making decisions
 Not accepting the need for tradeoffs
 Demanding impossible commitments
 Not accepting the cost of change
10/27/2022 Computer Science Department, University of Sahiwal 12
COSMIC TRUTH 6
The first question an
analyst should ask
about a proposed
new requirement is,
“Is this in scope?”
10/27/2022 Computer Science Department, University of Sahiwal 13
Questions
Any Question Please?
You can contact me at: umber@uosahiwal.edu.pk
Your Query will be answered within one working day.
10/27/2022 Computer Science Department, University of Sahiwal 14
Thanks
10/27/2022 Computer Science Department, University of Sahiwal 15

More Related Content

Similar to Formal Method

REQB® - Advanced Level Requirements Manager
REQB® - Advanced Level Requirements ManagerREQB® - Advanced Level Requirements Manager
Cadence university software program proposal
Cadence university software program proposalCadence university software program proposal
Cadence university software program proposal
khalid noman husainy
 
Formal Method
Formal MethodFormal Method
Formal Method
Malik252995
 
REQB® - Foundation Level Requirements Manager
REQB® - Foundation Level Requirements ManagerREQB® - Foundation Level Requirements Manager
REQB® - Foundation Level Requirements Manager
Mirosław Dąbrowski C-level IT manager, CEO, Agile, ICF Coach, Speaker
 
Lecture 3 & 4 | SDLC, Development Methodologies and Models
Lecture 3 & 4 | SDLC, Development Methodologies and ModelsLecture 3 & 4 | SDLC, Development Methodologies and Models
Lecture 3 & 4 | SDLC, Development Methodologies and Models
osamahjaleel
 
Software Development Life Cycle (SDLC) By Team Paramount (Dept. of Law)
Software  Development Life Cycle  (SDLC) By Team Paramount (Dept. of Law)Software  Development Life Cycle  (SDLC) By Team Paramount (Dept. of Law)
Software Development Life Cycle (SDLC) By Team Paramount (Dept. of Law)
Suman Mia
 
presentationpresentationpresentationpresentationpresentation
presentationpresentationpresentationpresentationpresentationpresentationpresentationpresentationpresentationpresentation
presentationpresentationpresentationpresentationpresentation
ArnavPlayz
 
Internship_Presentation_datascirncehar038.pptx
Internship_Presentation_datascirncehar038.pptxInternship_Presentation_datascirncehar038.pptx
Internship_Presentation_datascirncehar038.pptx
HarshaVardhanNH
 
Systems Engineering training brochure
Systems Engineering training brochureSystems Engineering training brochure
Systems Engineering training brochure
Shaun West
 
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdfSDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
priyanshuurkade
 
Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...
Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...
Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...
pd7.group
 
Final Report Minor Project.pdf
Final Report Minor Project.pdfFinal Report Minor Project.pdf
Final Report Minor Project.pdf
NiramayK
 
Adopting Cloud Testing for Continuous Delivery, with the premier global provi...
Adopting Cloud Testing for Continuous Delivery, with the premier global provi...Adopting Cloud Testing for Continuous Delivery, with the premier global provi...
Adopting Cloud Testing for Continuous Delivery, with the premier global provi...
SOASTA
 
Plagiarism Report SDLC 1.pdf
Plagiarism Report SDLC 1.pdfPlagiarism Report SDLC 1.pdf
Plagiarism Report SDLC 1.pdf
OmethSanchitha
 
Ijetcas14 545
Ijetcas14 545Ijetcas14 545
Ijetcas14 545
Iasir Journals
 
Recognizing the Future of Systems Engineering in a Changing World
Recognizing the Future of Systems Engineering in a Changing WorldRecognizing the Future of Systems Engineering in a Changing World
Recognizing the Future of Systems Engineering in a Changing World
Bernardo A. Delicado
 
Presentation on po pshjhhjhekhhkkhkhjpeo
Presentation on po pshjhhjhekhhkkhkhjpeoPresentation on po pshjhhjhekhhkkhkhjpeo
Presentation on po pshjhhjhekhhkkhkhjpeo
epandhari
 
What’s Standard? Industry Application versus University Education of Engineer...
What’s Standard? Industry Application versus University Education of Engineer...What’s Standard? Industry Application versus University Education of Engineer...
What’s Standard? Industry Application versus University Education of Engineer...
Chelsea Leachman
 
Technical_Update_Germany
Technical_Update_GermanyTechnical_Update_Germany
Technical_Update_Germany
Bogdan Doinea
 
Cloud_Storage
Cloud_Storage Cloud_Storage
Cloud_Storage
Larvish1
 

Similar to Formal Method (20)

REQB® - Advanced Level Requirements Manager
REQB® - Advanced Level Requirements ManagerREQB® - Advanced Level Requirements Manager
REQB® - Advanced Level Requirements Manager
 
Cadence university software program proposal
Cadence university software program proposalCadence university software program proposal
Cadence university software program proposal
 
Formal Method
Formal MethodFormal Method
Formal Method
 
REQB® - Foundation Level Requirements Manager
REQB® - Foundation Level Requirements ManagerREQB® - Foundation Level Requirements Manager
REQB® - Foundation Level Requirements Manager
 
Lecture 3 & 4 | SDLC, Development Methodologies and Models
Lecture 3 & 4 | SDLC, Development Methodologies and ModelsLecture 3 & 4 | SDLC, Development Methodologies and Models
Lecture 3 & 4 | SDLC, Development Methodologies and Models
 
Software Development Life Cycle (SDLC) By Team Paramount (Dept. of Law)
Software  Development Life Cycle  (SDLC) By Team Paramount (Dept. of Law)Software  Development Life Cycle  (SDLC) By Team Paramount (Dept. of Law)
Software Development Life Cycle (SDLC) By Team Paramount (Dept. of Law)
 
presentationpresentationpresentationpresentationpresentation
presentationpresentationpresentationpresentationpresentationpresentationpresentationpresentationpresentationpresentation
presentationpresentationpresentationpresentationpresentation
 
Internship_Presentation_datascirncehar038.pptx
Internship_Presentation_datascirncehar038.pptxInternship_Presentation_datascirncehar038.pptx
Internship_Presentation_datascirncehar038.pptx
 
Systems Engineering training brochure
Systems Engineering training brochureSystems Engineering training brochure
Systems Engineering training brochure
 
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdfSDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
 
Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...
Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...
Requirements strukturieren und nutzen — Requirements-Praktiken am Beispiel Co...
 
Final Report Minor Project.pdf
Final Report Minor Project.pdfFinal Report Minor Project.pdf
Final Report Minor Project.pdf
 
Adopting Cloud Testing for Continuous Delivery, with the premier global provi...
Adopting Cloud Testing for Continuous Delivery, with the premier global provi...Adopting Cloud Testing for Continuous Delivery, with the premier global provi...
Adopting Cloud Testing for Continuous Delivery, with the premier global provi...
 
Plagiarism Report SDLC 1.pdf
Plagiarism Report SDLC 1.pdfPlagiarism Report SDLC 1.pdf
Plagiarism Report SDLC 1.pdf
 
Ijetcas14 545
Ijetcas14 545Ijetcas14 545
Ijetcas14 545
 
Recognizing the Future of Systems Engineering in a Changing World
Recognizing the Future of Systems Engineering in a Changing WorldRecognizing the Future of Systems Engineering in a Changing World
Recognizing the Future of Systems Engineering in a Changing World
 
Presentation on po pshjhhjhekhhkkhkhjpeo
Presentation on po pshjhhjhekhhkkhkhjpeoPresentation on po pshjhhjhekhhkkhkhjpeo
Presentation on po pshjhhjhekhhkkhkhjpeo
 
What’s Standard? Industry Application versus University Education of Engineer...
What’s Standard? Industry Application versus University Education of Engineer...What’s Standard? Industry Application versus University Education of Engineer...
What’s Standard? Industry Application versus University Education of Engineer...
 
Technical_Update_Germany
Technical_Update_GermanyTechnical_Update_Germany
Technical_Update_Germany
 
Cloud_Storage
Cloud_Storage Cloud_Storage
Cloud_Storage
 

Recently uploaded

Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 

Recently uploaded (20)

Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 

Formal Method

  • 1. Formal Methods Lecture # 1 Umber Noureen Abbas Lecturer Department of Computer Science 10/27/2022 Computer Science Department, University of Sahiwal 1
  • 2. Formal Method Introduction 10/27/2022 Computer Science Department, University of Sahiwal 2
  • 3. Learning Objective • What are formal methods in software development? SDLC • Waterfall SDLC Computer Science Department, University of Sahiwal 3 10/27/2022
  • 4. What are formal methods in software development? • In software development, formal methods are mathematical approaches to solving software (and hardware) problems at the requirements, specification, and design levels. Formal methods are most likely to be applied to safety-critical or security-critical software and systems, such as avionics software. 10/27/2022 Computer Science Department, University of Sahiwal 4
  • 5. SDLC • Stage 1. Planning and requirement analysis • Stage 2. Designing project architecture • Stage 3. Development and programming • Stage 4. Testing • Stage 5. Deployment 10/27/2022 Computer Science Department, University of Sahiwal 5
  • 6. Waterfall SDLC 10/27/2022 Computer Science Department, University of Sahiwal 6
  • 7. Iterative Model 10/27/2022 Computer Science Department, University of Sahiwal 7
  • 8. COSMIC TRUTH 1 If you don’t get the requirements right, it doesn‘t matter how well you execute the rest of the project 10/27/2022 Computer Science Department, University of Sahiwal 8
  • 9. COSMIC TRUTH 2 Customer involvement is the most critical factor in achieving software quality. 10/27/2022 Computer Science Department, University of Sahiwal 9
  • 10. Obtaining Customer Involvement  Identify user classes  Select “product champions”  Employ the use case technique  Understand how product will be used  Scenarios  operational profile  Build prototypes  Agree on customer rights and responsibilities 10/27/2022 Computer Science Department, University of Sahiwal 10
  • 11. COSMIC TRUTH 5 The customer is not always right. But the customer always has a point. 10/27/2022 Computer Science Department, University of Sahiwal 11
  • 12. How can customer not be right?  Presenting solutions in the guise of requirements  Not prioritizing requirements  Not communicating or respecting business rules or constraints  Not making decisions  Not accepting the need for tradeoffs  Demanding impossible commitments  Not accepting the cost of change 10/27/2022 Computer Science Department, University of Sahiwal 12
  • 13. COSMIC TRUTH 6 The first question an analyst should ask about a proposed new requirement is, “Is this in scope?” 10/27/2022 Computer Science Department, University of Sahiwal 13
  • 14. Questions Any Question Please? You can contact me at: umber@uosahiwal.edu.pk Your Query will be answered within one working day. 10/27/2022 Computer Science Department, University of Sahiwal 14
  • 15. Thanks 10/27/2022 Computer Science Department, University of Sahiwal 15