SlideShare a Scribd company logo
4
Most read
17
Most read
18
Most read
12/2/2020 1
Samina khan
FDC Risalpur
• Chapter 1 More on Number System
• Chapter 2 Working on Word
• Chapter 3 Working with Spreadsheet
• Chapter 4 Problem solving
• Chapter 5 Introduction to programming
• Chapter 6 Programming in GW-BASIC
• Chapter 7 Data verification & validation
• Chapter 8 Data protection & security
• Chapter 9 Applications of computers
• Chapter 11 The future of Technology
• Chapter 12 Creating webpages
12/2/2020
2
CHAPTER 4
Problem solving
• Problem-solving is a process—an ongoing
activity in which we take what we know to
discover what we don't know.
• It involves steps arranged in a manner to solve a
particular problem
A step-by-step approach to problem -
solving
• We can solve a problem by thinking about it in a
step by step manner.
• This helps us think clearly and avoid becoming
confused.
1. Defining the problem
• The first step in problem-solving is to define the
problem.
• What the problem is?
• A good problem definition is precise.
• The more precise the problem statement is, the
easier it becomes to find the right solution.
2. The Input
• After problem definition we move towards
finding the solution.
• We collect input carefully from surroundings.
• This is similar to data capturing and data
collection in data processing cycle.
3. The Output
• After input we think what the result of our
solution should be.
• We should ask ourselves the question: What
should change as a result of the solution?
• This is called output requirement.
• When we are able to define the output
requirements, we can reach a good solution to
the problem.
3. The processing requirement
• Once we are clear about our input and output
requirement, we can think about how to use
those inputs to achieve output.
4. The solution
• By thinking carefully about the processing
requirements we can discover the right
solution for the problem.
• When we go in step by step manner we can
easily arrive at a solution.
• Programmers follow this approach when
they create programs.
Repetition
• A repetition problem arises when we want a
computer to do a task again and again.
• When we ask a computer to repeat an action
we use the following two statements:
1. The Do…WHILE statement
2. The REPEAT…UNTIL statement
1. The Do…WHILE statement
• It is a conditional statement.
• It uses a condition to instruct the computer.
• The condition might be true or not true.
• The computer repeat an action while the
condition is true.
• The computer stops repeating the action when
the condition becomes not true.
Algorithm
12/2/2020 13
Algorithm for Do…WHILE statement
• Start treatment.
• Check body temperature.
• Continue treatment if temperature is greater
than 370C
• Stop treatment if temperature is not greater
than 370C.
• End treatment.
12/2/2020 15
START
Input body
temperature
Temperature> 370C
END
Continue
treatment
True
Not true
The REPEAT… UNTIL statement
• It is also a conditional statement.
• The computer repeat an action until the
condition is not true.
• WHILE loop test the condition before
carrying out the instruction, whereas the
REPEAT loop carries out the instruction
before testing the condition.
START
Prescribe vitamin pills
Patient show sign
of physical strength
END
Observe patient’s
appearance & manner
Not True
True

More Related Content

PPTX
Boolean logic
PPTX
Pseudocode
PPT
C++ data types
PPTX
Computer Networking | Computer Science
PPT
Chapter 2 Representation Of Algorithms 2
PDF
SPL 2 | Algorithms, Pseudo-code, and Flowchart
PPTX
Gray Code.pptx
PDF
Vhdl lab manual
Boolean logic
Pseudocode
C++ data types
Computer Networking | Computer Science
Chapter 2 Representation Of Algorithms 2
SPL 2 | Algorithms, Pseudo-code, and Flowchart
Gray Code.pptx
Vhdl lab manual

What's hot (20)

PPSX
Algorithm and flowchart
PPTX
Boolean+logic
PPTX
Data types in c++
PPT
Internet And How It Works
PPT
Introduction to Cyber Law
PDF
Cyber law-it-act-2000
PPTX
Computer virus and anti virus presentation
PDF
Introduction to c++ ppt
PPTX
Computer misuse and criminal law
PPTX
Pseudocode
PPTX
cyber crime
PPTX
Cyber crime ppt
PPTX
Cyber crime and security ppt
PPTX
Combinational circuits
PPTX
Cyber Crime & Precautions
PPT
TYPES OF HACKING
PPTX
Dark web presentation
PPTX
Cyber security presentation
PPT
Basic concept of c++
PDF
Flowchart pseudocode-examples
Algorithm and flowchart
Boolean+logic
Data types in c++
Internet And How It Works
Introduction to Cyber Law
Cyber law-it-act-2000
Computer virus and anti virus presentation
Introduction to c++ ppt
Computer misuse and criminal law
Pseudocode
cyber crime
Cyber crime ppt
Cyber crime and security ppt
Combinational circuits
Cyber Crime & Precautions
TYPES OF HACKING
Dark web presentation
Cyber security presentation
Basic concept of c++
Flowchart pseudocode-examples
Ad

Similar to Problem solving (20)

PDF
Introduction to Programming
PPSX
CC-112-Lec.1.ppsx
PPTX
FDS Unit I_PPT.pptx
PPTX
PPS_Unit 1.pptx
PPTX
Unit no_1.pptx
PPT
Data structures & problem solving unit 1 ppt
PDF
Study Material for Problem Solving Techniques
PPTX
s-INTRODUCTION TO PROBLEM SOLVING PPT.pptx
PPTX
Fundamentals of Problem Solving using Python.pptx
DOCX
Csc 102 lecture note(introduction to problem solving)
PPS
Chapter #1 overview of programming and problem solving
PDF
Algorithm.pdf
PPT
Itc lec5-24+sep+2012
PPTX
Std 10 computer chapter 9 Problems and Problem Solving
PDF
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
PPTX
UNIT-1.pptx python for engineering first year students
PPTX
Algorithm types performance steps working
PPTX
1. Problem Solving Techniques and Data Structures.pptx
PDF
Logic Development and Algorithm.
PPTX
Algorithm for computational problematic sit
Introduction to Programming
CC-112-Lec.1.ppsx
FDS Unit I_PPT.pptx
PPS_Unit 1.pptx
Unit no_1.pptx
Data structures & problem solving unit 1 ppt
Study Material for Problem Solving Techniques
s-INTRODUCTION TO PROBLEM SOLVING PPT.pptx
Fundamentals of Problem Solving using Python.pptx
Csc 102 lecture note(introduction to problem solving)
Chapter #1 overview of programming and problem solving
Algorithm.pdf
Itc lec5-24+sep+2012
Std 10 computer chapter 9 Problems and Problem Solving
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
UNIT-1.pptx python for engineering first year students
Algorithm types performance steps working
1. Problem Solving Techniques and Data Structures.pptx
Logic Development and Algorithm.
Algorithm for computational problematic sit
Ad

More from samina khan (20)

PPTX
TYPES AND HIERARCHY OF COMPUTER MEMORY.pptx
PPTX
DATA COMMUNICATION components, modes of transmission & communication devices ...
PPTX
UNDERSTANDING SELF AND OTHERS.pptx
PPTX
INFORMATION TECHNOLOGY.pptx
PPTX
scaffolding in teaching.pptx
PPTX
REFLECTIVE TEACHING.pptx
PPTX
PEDAGOGICAL SKILLS.pptx
PPTX
What is an Autobiography?
PPTX
Picture description
PPTX
The Internet and World Wide Web
PPTX
Computer security & ethics
PPT
Computer logic and gates
PPTX
Computer networks
PPT
Classroom management
PPTX
More on number system
PPTX
Stress management
PPT
Classroom management
PPTX
The future of technology
DOCX
Lesson plan:Multiplication and division of binary numbers
PPTX
Computer networks grade 7
TYPES AND HIERARCHY OF COMPUTER MEMORY.pptx
DATA COMMUNICATION components, modes of transmission & communication devices ...
UNDERSTANDING SELF AND OTHERS.pptx
INFORMATION TECHNOLOGY.pptx
scaffolding in teaching.pptx
REFLECTIVE TEACHING.pptx
PEDAGOGICAL SKILLS.pptx
What is an Autobiography?
Picture description
The Internet and World Wide Web
Computer security & ethics
Computer logic and gates
Computer networks
Classroom management
More on number system
Stress management
Classroom management
The future of technology
Lesson plan:Multiplication and division of binary numbers
Computer networks grade 7

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Dropbox Q2 2025 Financial Results & Investor Presentation
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
Network Security Unit 5.pdf for BCA BBA.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
Per capita expenditure prediction using model stacking based on satellite ima...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Electronic commerce courselecture one. Pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Building Integrated photovoltaic BIPV_UPV.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Monthly Chronicles - July 2025
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto

Problem solving

  • 2. • Chapter 1 More on Number System • Chapter 2 Working on Word • Chapter 3 Working with Spreadsheet • Chapter 4 Problem solving • Chapter 5 Introduction to programming • Chapter 6 Programming in GW-BASIC • Chapter 7 Data verification & validation • Chapter 8 Data protection & security • Chapter 9 Applications of computers • Chapter 11 The future of Technology • Chapter 12 Creating webpages 12/2/2020 2
  • 4. Problem solving • Problem-solving is a process—an ongoing activity in which we take what we know to discover what we don't know. • It involves steps arranged in a manner to solve a particular problem
  • 5. A step-by-step approach to problem - solving • We can solve a problem by thinking about it in a step by step manner. • This helps us think clearly and avoid becoming confused.
  • 6. 1. Defining the problem • The first step in problem-solving is to define the problem. • What the problem is? • A good problem definition is precise. • The more precise the problem statement is, the easier it becomes to find the right solution.
  • 7. 2. The Input • After problem definition we move towards finding the solution. • We collect input carefully from surroundings. • This is similar to data capturing and data collection in data processing cycle.
  • 8. 3. The Output • After input we think what the result of our solution should be. • We should ask ourselves the question: What should change as a result of the solution? • This is called output requirement. • When we are able to define the output requirements, we can reach a good solution to the problem.
  • 9. 3. The processing requirement • Once we are clear about our input and output requirement, we can think about how to use those inputs to achieve output.
  • 10. 4. The solution • By thinking carefully about the processing requirements we can discover the right solution for the problem. • When we go in step by step manner we can easily arrive at a solution. • Programmers follow this approach when they create programs.
  • 11. Repetition • A repetition problem arises when we want a computer to do a task again and again. • When we ask a computer to repeat an action we use the following two statements: 1. The Do…WHILE statement 2. The REPEAT…UNTIL statement
  • 12. 1. The Do…WHILE statement • It is a conditional statement. • It uses a condition to instruct the computer. • The condition might be true or not true. • The computer repeat an action while the condition is true. • The computer stops repeating the action when the condition becomes not true.
  • 14. Algorithm for Do…WHILE statement • Start treatment. • Check body temperature. • Continue treatment if temperature is greater than 370C • Stop treatment if temperature is not greater than 370C. • End treatment.
  • 17. The REPEAT… UNTIL statement • It is also a conditional statement. • The computer repeat an action until the condition is not true. • WHILE loop test the condition before carrying out the instruction, whereas the REPEAT loop carries out the instruction before testing the condition.
  • 18. START Prescribe vitamin pills Patient show sign of physical strength END Observe patient’s appearance & manner Not True True