SlideShare a Scribd company logo
1 of 11
Problem Solving Process
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
1
Introduction to Problem Solving
 Is a process of transforming the description of a problem into the solution by using
our knowledge of the problem domain and selecting and using appropriate
problem-solving Strategies, Techniques and Tools.
 To find a solution for a problem in programming, we need to develop programs.
 To develop a program, whether it is small or complex, a special procedure called
Program Development Life Cycle (PDLC) is required.
 A computer program is a set of instructions which is used to solve a problem.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
2
Problem Solving Process
 To solve any problem in an efficient way, a programmer follows the following steps:
 Problem definition and analysis
 Program design
 Coding
 Compilation
 Debugging and testing
 Documentation
 Implementation and maintenance
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
3
Problem definition and analysis
 To identify and define the problem by studying it thoroughly.
 State the problem clearly and unambiguously (Doubtless) to understand exactly:
 What the problem is?
 What is needed to solve it?
 What the solution should provide?
 If there are constraints and special condition?
 The nature of the problem is fully understood.
 Analyse using the basic steps i.e. input, processing and output.
 Input: the information fed into computer to solve the problem.
 Processing: the operation to convert input to output.
 Output: the result obtained after solving problem.
 Special constraints or conditions (if any).
 Formulas and equations to be used.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
4
Program design
 A programmer must have a proper understanding of the behaviour of the problem.
 To design a program, different techniques are available:
 Algorithm: a finite set of steps that specify a sequence of operations to be carried out in
order to solve a specific problem.
 Flow chart: a graph used to depict or show a step by step solution by use of symbols.
 Pseudocode: a semi-formal English-like language with limited vocabulary, used to design
and describe algorithms.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
5
Coding
 After the creation of algorithms, flow charts and pseudocodes, the design must be
converted into a form used by the computer.
 A programmer translates the design into a computer program using a
programming language such as C or any other language.
 A program is written i.e. source code is ready to enter into a computer and store it
in a disk with an extension “.c”.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
6
Compilation
 To translate the program into machine language using a Compiler.
 Compiler takes and process program.
 Compiler accepts source code and convert it into an object code.
 If some errors exist in the source code, then compiler prints the appropriate
messages for particular error.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
7
Debugging and testing
 A bug is an error in a program.
 Process of eliminating bugs.
 Testing is done to make sure that the program is correct.
 The program performs its intended task?
 Program is executed with all the possible set of inputs whose output is already
known.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
8
Documentation
 Is written text or illustration that accompanies computer program or is embedded
in the source code.
 Explains how the software operates or how to use it.
 Guidelines for creating the documentation:
 should be from the point of view of the reader.
 should be unambiguous.
 should be no repetition.
 should meet Industry standards.
 should always be updated.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
9
Implementation and Maintenance
 Program is installed at the user’s site.
 If user faces some problems or errors in the program, the programmer have to
maintain and do the necessary changes to remove these errors.
 Even after completion, maintenance is regular process, so that the program must
be fulfilling all its objectives efficiently.
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
10
Thanks !!!!!
By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala.
11

More Related Content

What's hot

Concept testing, product architecture and design of modular system
Concept testing, product architecture and design of modular systemConcept testing, product architecture and design of modular system
Concept testing, product architecture and design of modular systemShafeequr Rehman
 
Concept Evaluation And Selection
Concept Evaluation And SelectionConcept Evaluation And Selection
Concept Evaluation And SelectionQRCE
 
Pugh matrix concept evaluation in Design
Pugh matrix concept evaluation in DesignPugh matrix concept evaluation in Design
Pugh matrix concept evaluation in DesignYogesh Prasad
 
Unit3 productdevelopmentconcepttopf
Unit3 productdevelopmentconcepttopfUnit3 productdevelopmentconcepttopf
Unit3 productdevelopmentconcepttopfAtul Joshi
 
1.10 evaluation
1.10 evaluation1.10 evaluation
1.10 evaluationmrmwood
 
Pd2Product Design & Development - 2
Pd2Product Design & Development - 2Pd2Product Design & Development - 2
Pd2Product Design & Development - 2QRCE
 
Issue based work planning and hypothesis problem solving
Issue based work planning and hypothesis problem solvingIssue based work planning and hypothesis problem solving
Issue based work planning and hypothesis problem solvingSTRATICX
 
Lecture 5 concept appraisal and selection
Lecture 5   concept appraisal and selectionLecture 5   concept appraisal and selection
Lecture 5 concept appraisal and selectionandibrains
 
Qm0022 tqm tools and techniques
Qm0022 tqm tools and techniquesQm0022 tqm tools and techniques
Qm0022 tqm tools and techniquesStudy Stuff
 
VTU MBA-TQM 12MBA42 Module 7
VTU MBA-TQM 12MBA42 Module 7VTU MBA-TQM 12MBA42 Module 7
VTU MBA-TQM 12MBA42 Module 7Adani University
 
Mb0049 project management
Mb0049   project managementMb0049   project management
Mb0049 project managementsmumbahelp
 
Qm0022 tqm tools and techniques
Qm0022 tqm tools and techniquesQm0022 tqm tools and techniques
Qm0022 tqm tools and techniquessmumbahelp
 
Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)
Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)
Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)Jeffrey Ryan Pass
 
Six Sigma Green Belt Training Part 7
Six Sigma Green Belt Training Part 7Six Sigma Green Belt Training Part 7
Six Sigma Green Belt Training Part 7Skillogic Solutions
 
Problem Solving Methodology 2011 - 2014
Problem Solving Methodology 2011 - 2014Problem Solving Methodology 2011 - 2014
Problem Solving Methodology 2011 - 2014snoonan
 

What's hot (20)

Concept testing, product architecture and design of modular system
Concept testing, product architecture and design of modular systemConcept testing, product architecture and design of modular system
Concept testing, product architecture and design of modular system
 
Concept Evaluation And Selection
Concept Evaluation And SelectionConcept Evaluation And Selection
Concept Evaluation And Selection
 
Pugh matrix concept evaluation in Design
Pugh matrix concept evaluation in DesignPugh matrix concept evaluation in Design
Pugh matrix concept evaluation in Design
 
Unit3 productdevelopmentconcepttopf
Unit3 productdevelopmentconcepttopfUnit3 productdevelopmentconcepttopf
Unit3 productdevelopmentconcepttopf
 
Concept Generation Aksh ppt
Concept Generation Aksh pptConcept Generation Aksh ppt
Concept Generation Aksh ppt
 
1.10 evaluation
1.10 evaluation1.10 evaluation
1.10 evaluation
 
Exam preparation nbs
Exam preparation nbsExam preparation nbs
Exam preparation nbs
 
Pd2Product Design & Development - 2
Pd2Product Design & Development - 2Pd2Product Design & Development - 2
Pd2Product Design & Development - 2
 
Issue based work planning and hypothesis problem solving
Issue based work planning and hypothesis problem solvingIssue based work planning and hypothesis problem solving
Issue based work planning and hypothesis problem solving
 
Lecture 5 concept appraisal and selection
Lecture 5   concept appraisal and selectionLecture 5   concept appraisal and selection
Lecture 5 concept appraisal and selection
 
TQM, VTU,Unit 6
TQM, VTU,Unit 6TQM, VTU,Unit 6
TQM, VTU,Unit 6
 
House of Quality
House of QualityHouse of Quality
House of Quality
 
Qm0022 tqm tools and techniques
Qm0022 tqm tools and techniquesQm0022 tqm tools and techniques
Qm0022 tqm tools and techniques
 
VTU MBA-TQM 12MBA42 Module 7
VTU MBA-TQM 12MBA42 Module 7VTU MBA-TQM 12MBA42 Module 7
VTU MBA-TQM 12MBA42 Module 7
 
Mb0049 project management
Mb0049   project managementMb0049   project management
Mb0049 project management
 
Qm0022 tqm tools and techniques
Qm0022 tqm tools and techniquesQm0022 tqm tools and techniques
Qm0022 tqm tools and techniques
 
BAAgileQA
BAAgileQABAAgileQA
BAAgileQA
 
Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)
Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)
Towards a Continuous UX Improvement Model (UX Camp DC, 01.03.2014)
 
Six Sigma Green Belt Training Part 7
Six Sigma Green Belt Training Part 7Six Sigma Green Belt Training Part 7
Six Sigma Green Belt Training Part 7
 
Problem Solving Methodology 2011 - 2014
Problem Solving Methodology 2011 - 2014Problem Solving Methodology 2011 - 2014
Problem Solving Methodology 2011 - 2014
 

Similar to Problem solving process

SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptxSOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptxSanthanalakshmiSelva2
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxSherinRappai1
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxSherinRappai
 
Introduction,Software Process Models, Project Management
Introduction,Software Process Models, Project ManagementIntroduction,Software Process Models, Project Management
Introduction,Software Process Models, Project Managementswatisinghal
 
Software Engineering Overview
Software Engineering OverviewSoftware Engineering Overview
Software Engineering OverviewPrachi Sasankar
 
Programming Theory
Programming TheoryProgramming Theory
Programming Theoryiarthur
 
PCCF UNIT - 1 - M.Sudharsan.pptx
PCCF UNIT - 1 - M.Sudharsan.pptxPCCF UNIT - 1 - M.Sudharsan.pptx
PCCF UNIT - 1 - M.Sudharsan.pptxsudharsanm56
 
Mi0033 software engineering
Mi0033  software engineeringMi0033  software engineering
Mi0033 software engineeringsmumbahelp
 
SoftwareEngineering.pptx
SoftwareEngineering.pptxSoftwareEngineering.pptx
SoftwareEngineering.pptxpriyaaresearch
 
1.4 Prototyping model.pptx
1.4 Prototyping model.pptx1.4 Prototyping model.pptx
1.4 Prototyping model.pptxJAYAPRIYAR7
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )eshtiyak
 
Design pattern application
Design pattern applicationDesign pattern application
Design pattern applicationgayatri thakur
 
System Development
System  DevelopmentSystem  Development
System DevelopmentSharad Patel
 
Online Exam Management System(OEMS)
Online Exam Management System(OEMS)Online Exam Management System(OEMS)
Online Exam Management System(OEMS)PUST
 

Similar to Problem solving process (20)

SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptxSOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
 
Introduction,Software Process Models, Project Management
Introduction,Software Process Models, Project ManagementIntroduction,Software Process Models, Project Management
Introduction,Software Process Models, Project Management
 
reaserch ppt.pptx
reaserch ppt.pptxreaserch ppt.pptx
reaserch ppt.pptx
 
Software Engineering Overview
Software Engineering OverviewSoftware Engineering Overview
Software Engineering Overview
 
Programming Theory
Programming TheoryProgramming Theory
Programming Theory
 
Slcm sharbani bhattacharya
Slcm sharbani bhattacharyaSlcm sharbani bhattacharya
Slcm sharbani bhattacharya
 
PCCF UNIT - 1 - M.Sudharsan.pptx
PCCF UNIT - 1 - M.Sudharsan.pptxPCCF UNIT - 1 - M.Sudharsan.pptx
PCCF UNIT - 1 - M.Sudharsan.pptx
 
Lecture 1 SE.pptx
Lecture 1 SE.pptxLecture 1 SE.pptx
Lecture 1 SE.pptx
 
Mi0033 software engineering
Mi0033  software engineeringMi0033  software engineering
Mi0033 software engineering
 
SoftwareEngineering.pptx
SoftwareEngineering.pptxSoftwareEngineering.pptx
SoftwareEngineering.pptx
 
SoftwareEngineering.pptx
SoftwareEngineering.pptxSoftwareEngineering.pptx
SoftwareEngineering.pptx
 
1.4 Prototyping model.pptx
1.4 Prototyping model.pptx1.4 Prototyping model.pptx
1.4 Prototyping model.pptx
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )
 
Design pattern application
Design pattern applicationDesign pattern application
Design pattern application
 
pccf unit 1 _VP.pptx
pccf unit 1 _VP.pptxpccf unit 1 _VP.pptx
pccf unit 1 _VP.pptx
 
System Development
System  DevelopmentSystem  Development
System Development
 
SE-Lecture-2.pptx
SE-Lecture-2.pptxSE-Lecture-2.pptx
SE-Lecture-2.pptx
 
Online Exam Management System(OEMS)
Online Exam Management System(OEMS)Online Exam Management System(OEMS)
Online Exam Management System(OEMS)
 

More from Satveer Mann

Operators and expressons
Operators and expressonsOperators and expressons
Operators and expressonsSatveer Mann
 
keywords and identifiers
 keywords and identifiers keywords and identifiers
keywords and identifiersSatveer Mann
 
Preprocessor directives
Preprocessor directivesPreprocessor directives
Preprocessor directivesSatveer Mann
 
Program structure of c
Program structure of cProgram structure of c
Program structure of cSatveer Mann
 
Algorithms, flow charts and pseudocodes
Algorithms, flow charts and pseudocodesAlgorithms, flow charts and pseudocodes
Algorithms, flow charts and pseudocodesSatveer Mann
 
Character set in C
Character set in CCharacter set in C
Character set in CSatveer Mann
 
Introduction to c
 Introduction to c Introduction to c
Introduction to cSatveer Mann
 

More from Satveer Mann (10)

Operators and expressons
Operators and expressonsOperators and expressons
Operators and expressons
 
Data types in C
Data types in CData types in C
Data types in C
 
Variables in C
Variables in CVariables in C
Variables in C
 
Constants in C
Constants in CConstants in C
Constants in C
 
keywords and identifiers
 keywords and identifiers keywords and identifiers
keywords and identifiers
 
Preprocessor directives
Preprocessor directivesPreprocessor directives
Preprocessor directives
 
Program structure of c
Program structure of cProgram structure of c
Program structure of c
 
Algorithms, flow charts and pseudocodes
Algorithms, flow charts and pseudocodesAlgorithms, flow charts and pseudocodes
Algorithms, flow charts and pseudocodes
 
Character set in C
Character set in CCharacter set in C
Character set in C
 
Introduction to c
 Introduction to c Introduction to c
Introduction to c
 

Recently uploaded

Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Recently uploaded (20)

Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

Problem solving process

  • 1. Problem Solving Process By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 1
  • 2. Introduction to Problem Solving  Is a process of transforming the description of a problem into the solution by using our knowledge of the problem domain and selecting and using appropriate problem-solving Strategies, Techniques and Tools.  To find a solution for a problem in programming, we need to develop programs.  To develop a program, whether it is small or complex, a special procedure called Program Development Life Cycle (PDLC) is required.  A computer program is a set of instructions which is used to solve a problem. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 2
  • 3. Problem Solving Process  To solve any problem in an efficient way, a programmer follows the following steps:  Problem definition and analysis  Program design  Coding  Compilation  Debugging and testing  Documentation  Implementation and maintenance By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 3
  • 4. Problem definition and analysis  To identify and define the problem by studying it thoroughly.  State the problem clearly and unambiguously (Doubtless) to understand exactly:  What the problem is?  What is needed to solve it?  What the solution should provide?  If there are constraints and special condition?  The nature of the problem is fully understood.  Analyse using the basic steps i.e. input, processing and output.  Input: the information fed into computer to solve the problem.  Processing: the operation to convert input to output.  Output: the result obtained after solving problem.  Special constraints or conditions (if any).  Formulas and equations to be used. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 4
  • 5. Program design  A programmer must have a proper understanding of the behaviour of the problem.  To design a program, different techniques are available:  Algorithm: a finite set of steps that specify a sequence of operations to be carried out in order to solve a specific problem.  Flow chart: a graph used to depict or show a step by step solution by use of symbols.  Pseudocode: a semi-formal English-like language with limited vocabulary, used to design and describe algorithms. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 5
  • 6. Coding  After the creation of algorithms, flow charts and pseudocodes, the design must be converted into a form used by the computer.  A programmer translates the design into a computer program using a programming language such as C or any other language.  A program is written i.e. source code is ready to enter into a computer and store it in a disk with an extension “.c”. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 6
  • 7. Compilation  To translate the program into machine language using a Compiler.  Compiler takes and process program.  Compiler accepts source code and convert it into an object code.  If some errors exist in the source code, then compiler prints the appropriate messages for particular error. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 7
  • 8. Debugging and testing  A bug is an error in a program.  Process of eliminating bugs.  Testing is done to make sure that the program is correct.  The program performs its intended task?  Program is executed with all the possible set of inputs whose output is already known. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 8
  • 9. Documentation  Is written text or illustration that accompanies computer program or is embedded in the source code.  Explains how the software operates or how to use it.  Guidelines for creating the documentation:  should be from the point of view of the reader.  should be unambiguous.  should be no repetition.  should meet Industry standards.  should always be updated. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 9
  • 10. Implementation and Maintenance  Program is installed at the user’s site.  If user faces some problems or errors in the program, the programmer have to maintain and do the necessary changes to remove these errors.  Even after completion, maintenance is regular process, so that the program must be fulfilling all its objectives efficiently. By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 10
  • 11. Thanks !!!!! By: Satveer Kaur, Assistant Professor, Khalsa College, Patiala. 11