SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
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

PDF
UNIT I - QUALITY MANAGEMENT
PPTX
Basic excel training
PPT
Quality Circles
PPTX
System Development Life Cycle (SDLC)
PDF
Software engineering study materials
PDF
Agile software development
PPT
Case tools and modern process of system development
PPTX
Rapid Application Development Model
UNIT I - QUALITY MANAGEMENT
Basic excel training
Quality Circles
System Development Life Cycle (SDLC)
Software engineering study materials
Agile software development
Case tools and modern process of system development
Rapid Application Development Model

What's hot (20)

PPSX
Advances in ms excel
PPTX
Functional decomposition
PPTX
Kaizen
PPT
Tqm taguchi
PPT
Unit 1( modelling concepts & class modeling)
PPTX
Problem Solving Techniques - LEAN
PPSX
Reliability for Total Quality Management (TQM)
PPTX
Waterfall model in SDLC
PPT
Excel training
PPTX
QUALITY CIRCLE
PPTX
Need for Software Engineering
PPT
Project milestones-and-budgeting
PDF
SWE-401 - 6. Software Analysis and Design Tools
PPTX
Agile Methodology PPT
PDF
Total Quality Management
PDF
Kaoru Ishikawa
PPT
Erp implementation life cycle
PPTX
Knowledge management ppt
PPTX
Formula in MS Excel
Advances in ms excel
Functional decomposition
Kaizen
Tqm taguchi
Unit 1( modelling concepts & class modeling)
Problem Solving Techniques - LEAN
Reliability for Total Quality Management (TQM)
Waterfall model in SDLC
Excel training
QUALITY CIRCLE
Need for Software Engineering
Project milestones-and-budgeting
SWE-401 - 6. Software Analysis and Design Tools
Agile Methodology PPT
Total Quality Management
Kaoru Ishikawa
Erp implementation life cycle
Knowledge management ppt
Formula in MS Excel
Ad

Similar to Problem solving process (20)

PPTX
Design programing logic powor point.pptx
PDF
Software engineering BCA programming it is simple manufacturer was in to a ho...
PPTX
SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
PPTX
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
PPTX
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
PPT
Introduction,Software Process Models, Project Management
PPTX
reaserch ppt.pptx
PDF
Software Engineering Overview
PPT
Programming Theory
PDF
Grade 8 - Program Development Life Cycle PDLC.pdf
PPTX
Slcm sharbani bhattacharya
PPTX
PCCF UNIT - 1 - M.Sudharsan.pptx
PPTX
Lecture 1 SE.pptx
DOCX
Mi0033 software engineering
PPTX
SoftwareEngineering.pptx
PPTX
SoftwareEngineering.pptx
PPTX
1.4 Prototyping model.pptx
PPTX
Software Development Life Cycle (SDLC )
DOCX
Design pattern application
PPTX
pccf unit 1 _VP.pptx
Design programing logic powor point.pptx
Software engineering BCA programming it is simple manufacturer was in to a ho...
SOFTWARE DEVELOPMENT AND PROCESS MODELS.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
Introduction,Software Process Models, Project Management
reaserch ppt.pptx
Software Engineering Overview
Programming Theory
Grade 8 - Program Development Life Cycle PDLC.pdf
Slcm sharbani bhattacharya
PCCF UNIT - 1 - M.Sudharsan.pptx
Lecture 1 SE.pptx
Mi0033 software engineering
SoftwareEngineering.pptx
SoftwareEngineering.pptx
1.4 Prototyping model.pptx
Software Development Life Cycle (SDLC )
Design pattern application
pccf unit 1 _VP.pptx
Ad

More from Satveer Mann (10)

PPTX
Operators and expressons
PPTX
Data types in C
PPTX
Variables in C
PPTX
Constants in C
PPTX
keywords and identifiers
PPTX
Preprocessor directives
PPTX
Program structure of c
PPTX
Algorithms, flow charts and pseudocodes
PPTX
Character set in C
PPTX
Introduction to c
Operators and expressons
Data types in C
Variables in C
Constants in C
keywords and identifiers
Preprocessor directives
Program structure of c
Algorithms, flow charts and pseudocodes
Character set in C
Introduction to c

Recently uploaded (20)

PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Institutional Correction lecture only . . .
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Abdominal Access Techniques with Prof. Dr. R K Mishra
Renaissance Architecture: A Journey from Faith to Humanism
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
STATICS OF THE RIGID BODIES Hibbelers.pdf
O7-L3 Supply Chain Operations - ICLT Program
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Complications of Minimal Access Surgery at WLH
O5-L3 Freight Transport Ops (International) V1.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial diseases, their pathogenesis and prophylaxis
Institutional Correction lecture only . . .

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