SlideShare a Scribd company logo
1 of 24
Chapter 2:
Problem Solving Methods
2.1 Understand problem solving
concept
FP101
WEEK 4
CLO 1
Explain the basic computer and
programming fundamentals with
appropriate examples of language and
technology
Chapter 2:
Problem Solving Methods
2.1 Understand problem
solving concept
PROBLEM?!%...
Problem Solving Concept
•Problem solving in Everyday Life
- people make decisions everyday to solve problems that affect
their lives
- problem maybe unimportant or maybe important
- if a bad decision is made, time and resources are wasted
Problem Solving Concept
• There are six steps to follow to assure the best decision
Identify the problem
Understand the problem
Identify alternatives ways to solve the problem
Evaluate the solution
Select the best way to solve the problem from the list of alternative solutions
List instructions that enable you to solve the problem using the selected solution
1
2
3
4
5
6
Problem Solving Concept
• There are six steps to follow to assure the best decision:
a) Identify the problem
- make sure you identify the problem before you
start solving the problem.
b) Understand the problem
- includes understanding the knowledge base
of the person or machine for whom you are
solving the problem
Problem Solving Concept
• There are six steps to follow to assure the best decision
c) Identify alternatives ways to solve the problem
- the list should be as complete as possible
d) Select the best way to solve the problem from the list of
alternative solution
- you need to identify and evaluate the pros and cons
of each possible solution before selecting the best
one
Problem Solving Concept
• There are six steps to follow to assure the best decision:
e) List instructions that enable you to solve the
problem using the selected solution
- this step-by-step instructions must fall within
the knowledge base set up in step 2
f) Evaluate the solution
- check its result to see if it is correct, and to see if it
satisfies the needs of the person with the problem
Problem Solving Concept
• Exercise
• In a group of 2 members, by using the six steps
• mentioned earlier, try to solve the problem of what to do on
this Saturday evening.
Problem Solving Concept
• Types of problem
- problems do not always have straightforward solutions
- some problems can be solved with a series of actions.
- This solutions are called algorithmic solutions.
- solutions that cannot be reached through a direct set of steps are
called heuristic solutions
Problem Solving Concept
• Problem solving with computer
- computer are built to dealt with algorithmic
solutions
- fields of computer that deals with heuristic types of
problems is called artificial intelligent
Problem Solving Concept
• Difficulty with problem solving
- some have not been taught how to solve problems.
- some are afraid to make a decision for fear it will be the
wrong one
- often, when people go through the problem solving
process, they complete one or more of the steps
inadequately
- when solving problems on the computer, one of the
most difficult tasks for the problem solver is writing the
instructions.
Problem Solving Concept
• Types of problems that can be solved on computer are:
a) computational – problems involving some kind of
mathematical processing
b) logical – problems involving relational or logical
processing
c) repetitive – problems involving repeating a set of
mathematical and /or logical instructions
Input, Process and Output
• Information processing cycle is the sequence of events in
processing information which includes:
a) input – entering data into the computer
b) processing – performing operations on data
c) output – presenting the results
Input, Process and Output
Questions:
Identify input, process and output based on the problem given.
Question 1
Find a student average mark given mark1 and mark2.
Input, Process and Output
Question 2
Calculate the salary of an employee who works hourly basis. The
formula to be used is Salary = hour works * pay rate
Question 3
Calculate the total fine charged by library for
late-return books. The charge is RM0.20 for 1 day
Input, Process and Output
Question 4
You had bought a nice shirt which cost RM29.90
with 15% discount. Count the nett price for the shirt
Question 5
An electronics factory workers who are paid salaries by the number
of hours worked is RM2.50 per hour. Total income earned will be cut
by 10% for their KWSP contributions. Calculate the net income earned
by an employee.
Input, Process and Output
Question 6
Mr. Kamal wish to buy USB storage Kingston brand to be circulated
to DIP’s student. The Price for USB unit storage is RM40.00 each.
How many ringgit needs to be paid by Mr. Kamal to that shop owner
after being given discount as much as 15%.
Input, Process and Output
Answer:
Question 1
Input : mark1 and mark2
Process : calculate average mark using formula:
average mark=(mark1+mark2)/2
Output : average mark
Input, Process and Output
• Answer:
• Question 2
Input: hour works, pay rate
Process: calculate salary using formula:
Salary= hour works x pay rate
Output: Salary
Input, Process and Output
Answer:
Question 3
Input: days late
Process: calculate the total fine charged by
library using formula:
Total fine = days late x 0.20
Output: Total fine
Input, Process and Output
Answer:
Question 4
Input: shirt cost
Process:
1. Calculate discount price using formula:
discount price = 0.15 x shirt cost
2. Calculate total price after discount using formula:
total price = shirt cost – discount price
Output: discount price, total price
Input, Process and Output
Answer:
Question 5
Input: workers name, hours work
Process:
1. calculate the gross salary using formula:
Gross salary = hours work x 2.50
2. calculate KWSP using formula:
KWSP= 0.10 x Gross salary
3. calculate net income using formula:
net income= Gross salary-KWSP
Output: Gross salary, KWSP, net income
Input, Process and Output
• Answer:
• Question 6
• Input: unit price, number of students
• Process:
• 1. calculate the actual price before discount using formula: actual
price = unit price x number of students
• 2. calculate discount price using formula:
• discount price= 0.15 x actual price
• 3. calculate students price using formula:
• student price=(actual price-discount price)/number of students
• Output: actual price, discount price, student price

More Related Content

What's hot

TENSES in English Grammar
TENSES in English GrammarTENSES in English Grammar
TENSES in English GrammarRoshani Katekar
 
Functions of Speech Communication
Functions of Speech CommunicationFunctions of Speech Communication
Functions of Speech CommunicationYsell San Juan
 
Building Efficient Visualforce Pages
Building Efficient Visualforce PagesBuilding Efficient Visualforce Pages
Building Efficient Visualforce PagesSalesforce Developers
 
t-Test - For Population Mean When Population Standard Deviation is Unknown
t-Test - For Population Mean When Population Standard Deviation is Unknownt-Test - For Population Mean When Population Standard Deviation is Unknown
t-Test - For Population Mean When Population Standard Deviation is UnknownSundar B N
 
اردو ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...
اردو  ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...اردو  ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...
اردو ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...Quran Juz (Para)
 
Modern Means of Communication
Modern Means of CommunicationModern Means of Communication
Modern Means of CommunicationAbhi_nightfury69
 
Business Report writing
Business Report writingBusiness Report writing
Business Report writingSuhaib Khan
 
Agenda and minutes of meeting
Agenda and minutes of meetingAgenda and minutes of meeting
Agenda and minutes of meetingPreeti Bhaskar
 
Dark They Were Golden Eyed by Ray Bradbury
Dark They Were Golden Eyed by Ray BradburyDark They Were Golden Eyed by Ray Bradbury
Dark They Were Golden Eyed by Ray BradburySyed Shahzad
 
BUSINESS REPORT WRITING
BUSINESS  REPORT  WRITINGBUSINESS  REPORT  WRITING
BUSINESS REPORT WRITINGzailunnito
 
The Voice of the Rain
The Voice of the RainThe Voice of the Rain
The Voice of the RainAnil Kumar
 
Book review
Book reviewBook review
Book reviewmeenuch
 
S V Agreement.Ppt
S V Agreement.PptS V Agreement.Ppt
S V Agreement.PptCorey Topf
 
Forms of Business Organization
Forms of Business OrganizationForms of Business Organization
Forms of Business OrganizationAmitSrivastava464
 

What's hot (20)

Parts of Speech
Parts of SpeechParts of Speech
Parts of Speech
 
Minutes of meeting
Minutes of meetingMinutes of meeting
Minutes of meeting
 
TENSES in English Grammar
TENSES in English GrammarTENSES in English Grammar
TENSES in English Grammar
 
The Voice of the Rain
The Voice of the RainThe Voice of the Rain
The Voice of the Rain
 
Functions of Speech Communication
Functions of Speech CommunicationFunctions of Speech Communication
Functions of Speech Communication
 
Building Efficient Visualforce Pages
Building Efficient Visualforce PagesBuilding Efficient Visualforce Pages
Building Efficient Visualforce Pages
 
t-Test - For Population Mean When Population Standard Deviation is Unknown
t-Test - For Population Mean When Population Standard Deviation is Unknownt-Test - For Population Mean When Population Standard Deviation is Unknown
t-Test - For Population Mean When Population Standard Deviation is Unknown
 
اردو ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...
اردو  ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...اردو  ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...
اردو ترجمہ و تفسير ( النساء ) ٤ سورۃ القرآن [PDF] ┇ Quran Surah 4 An-Nisa Ur...
 
Modern Means of Communication
Modern Means of CommunicationModern Means of Communication
Modern Means of Communication
 
Functional English 06. Verb and Its Types (Code 0061)
Functional English 06. Verb and Its Types (Code 0061)Functional English 06. Verb and Its Types (Code 0061)
Functional English 06. Verb and Its Types (Code 0061)
 
Business Report writing
Business Report writingBusiness Report writing
Business Report writing
 
Agenda and minutes of meeting
Agenda and minutes of meetingAgenda and minutes of meeting
Agenda and minutes of meeting
 
Meetings
MeetingsMeetings
Meetings
 
Dark They Were Golden Eyed by Ray Bradbury
Dark They Were Golden Eyed by Ray BradburyDark They Were Golden Eyed by Ray Bradbury
Dark They Were Golden Eyed by Ray Bradbury
 
Writing an application letter lesson plan Turkey
Writing an application letter lesson plan TurkeyWriting an application letter lesson plan Turkey
Writing an application letter lesson plan Turkey
 
BUSINESS REPORT WRITING
BUSINESS  REPORT  WRITINGBUSINESS  REPORT  WRITING
BUSINESS REPORT WRITING
 
The Voice of the Rain
The Voice of the RainThe Voice of the Rain
The Voice of the Rain
 
Book review
Book reviewBook review
Book review
 
S V Agreement.Ppt
S V Agreement.PptS V Agreement.Ppt
S V Agreement.Ppt
 
Forms of Business Organization
Forms of Business OrganizationForms of Business Organization
Forms of Business Organization
 

Viewers also liked

Stages of problem solving presentation
Stages of problem solving presentationStages of problem solving presentation
Stages of problem solving presentationbbaugh
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving TechniquesAshesh R
 
1 introduction to problem solving and programming
1 introduction to problem solving and programming1 introduction to problem solving and programming
1 introduction to problem solving and programmingRheigh Henley Calderon
 
Introduction to problem solving in c++
Introduction to problem solving in c++Introduction to problem solving in c++
Introduction to problem solving in c++Online
 
11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome DifficultiesVKool Magazine - VKool.com
 
The statement of the problem
The statement of the problemThe statement of the problem
The statement of the problemedac4co
 
Problem solving method
Problem solving methodProblem solving method
Problem solving methodBSEPhySci14
 
Problem Solving Method
Problem Solving MethodProblem Solving Method
Problem Solving MethodRoxanne Deang
 
Problem solving & decision making at the workplace
Problem solving & decision making at the workplaceProblem solving & decision making at the workplace
Problem solving & decision making at the workplaceFaakor Agyekum
 
Problem solving ppt
Problem solving pptProblem solving ppt
Problem solving pptIka Rose
 
Problem Solving and Decision Making
Problem Solving and Decision MakingProblem Solving and Decision Making
Problem Solving and Decision MakingIbrahim M. Morsy
 
Problem Solving PowerPoint PPT Content Modern Sample
Problem Solving PowerPoint PPT Content Modern SampleProblem Solving PowerPoint PPT Content Modern Sample
Problem Solving PowerPoint PPT Content Modern SampleAndrew Schwartz
 
PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT Andrew Schwartz
 

Viewers also liked (19)

Problem solving
Problem solvingProblem solving
Problem solving
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 
Stages of problem solving presentation
Stages of problem solving presentationStages of problem solving presentation
Stages of problem solving presentation
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
 
Problem Solving
Problem SolvingProblem Solving
Problem Solving
 
1 introduction to problem solving and programming
1 introduction to problem solving and programming1 introduction to problem solving and programming
1 introduction to problem solving and programming
 
Introduction to problem solving in c++
Introduction to problem solving in c++Introduction to problem solving in c++
Introduction to problem solving in c++
 
11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties
 
Problem solving& Decision Making
Problem solving& Decision MakingProblem solving& Decision Making
Problem solving& Decision Making
 
The statement of the problem
The statement of the problemThe statement of the problem
The statement of the problem
 
Problem solving method
Problem solving methodProblem solving method
Problem solving method
 
Problem Solving Method
Problem Solving MethodProblem Solving Method
Problem Solving Method
 
Problem solving & decision making at the workplace
Problem solving & decision making at the workplaceProblem solving & decision making at the workplace
Problem solving & decision making at the workplace
 
Problem solving ppt
Problem solving pptProblem solving ppt
Problem solving ppt
 
Problem Solving and Decision Making
Problem Solving and Decision MakingProblem Solving and Decision Making
Problem Solving and Decision Making
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Problem Solving PowerPoint PPT Content Modern Sample
Problem Solving PowerPoint PPT Content Modern SampleProblem Solving PowerPoint PPT Content Modern Sample
Problem Solving PowerPoint PPT Content Modern Sample
 
PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT
 
How to write a statement problem
How to write a statement problemHow to write a statement problem
How to write a statement problem
 

Similar to 2.1 Understand problem solving concept

9th Comp Ch 1 LQ.pdf
9th Comp Ch 1 LQ.pdf9th Comp Ch 1 LQ.pdf
9th Comp Ch 1 LQ.pdfNaeem Mughal
 
Chapter 5 successful problem solving & task mgt
Chapter 5   successful problem solving & task mgtChapter 5   successful problem solving & task mgt
Chapter 5 successful problem solving & task mgtNasz Zainuddin
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations researchsmumbahelp
 
Programs_Problem_Solving_Algorithms.ppt
Programs_Problem_Solving_Algorithms.pptPrograms_Problem_Solving_Algorithms.ppt
Programs_Problem_Solving_Algorithms.pptmalik681299
 
Fixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving MethodsFixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving MethodsSafetyChain Software
 
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHESC LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHESHarshJha34
 
Artur Suchwalko “What are common mistakes in Data Science projects and how to...
Artur Suchwalko “What are common mistakes in Data Science projects and how to...Artur Suchwalko “What are common mistakes in Data Science projects and how to...
Artur Suchwalko “What are common mistakes in Data Science projects and how to...Lviv Startup Club
 
8 Steps Problem Solving Method -2.pdf
8 Steps Problem Solving Method -2.pdf8 Steps Problem Solving Method -2.pdf
8 Steps Problem Solving Method -2.pdfAzizOUBBAD1
 
8 step Problem solving Method.pdf
8 step Problem solving Method.pdf8 step Problem solving Method.pdf
8 step Problem solving Method.pdfFahriSAYILI
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations researchsmumbahelp
 
LPP application and problem formulation
LPP application and problem formulationLPP application and problem formulation
LPP application and problem formulationKarishma Chaudhary
 
PKS Measuring Productivity of Knowledge Worker - draft solutions
PKS Measuring Productivity of Knowledge Worker - draft solutionsPKS Measuring Productivity of Knowledge Worker - draft solutions
PKS Measuring Productivity of Knowledge Worker - draft solutionsPramod Kumar Srivastava
 

Similar to 2.1 Understand problem solving concept (20)

Ch2.ppt
Ch2.pptCh2.ppt
Ch2.ppt
 
Tagauchi method
Tagauchi methodTagauchi method
Tagauchi method
 
9th Comp Ch 1 LQ.pdf
9th Comp Ch 1 LQ.pdf9th Comp Ch 1 LQ.pdf
9th Comp Ch 1 LQ.pdf
 
Chapter 5 successful problem solving & task mgt
Chapter 5   successful problem solving & task mgtChapter 5   successful problem solving & task mgt
Chapter 5 successful problem solving & task mgt
 
PPS_Unit 1.pptx
PPS_Unit 1.pptxPPS_Unit 1.pptx
PPS_Unit 1.pptx
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Programs_Problem_Solving_Algorithms.ppt
Programs_Problem_Solving_Algorithms.pptPrograms_Problem_Solving_Algorithms.ppt
Programs_Problem_Solving_Algorithms.ppt
 
part_1 (1).ppt
part_1 (1).pptpart_1 (1).ppt
part_1 (1).ppt
 
Algorithm.pdf
Algorithm.pdfAlgorithm.pdf
Algorithm.pdf
 
Fixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving MethodsFixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving Methods
 
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHESC LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
 
Ees 300
Ees 300Ees 300
Ees 300
 
CC-112-Lec.1.ppsx
CC-112-Lec.1.ppsxCC-112-Lec.1.ppsx
CC-112-Lec.1.ppsx
 
Inventary mgmt
Inventary mgmtInventary mgmt
Inventary mgmt
 
Artur Suchwalko “What are common mistakes in Data Science projects and how to...
Artur Suchwalko “What are common mistakes in Data Science projects and how to...Artur Suchwalko “What are common mistakes in Data Science projects and how to...
Artur Suchwalko “What are common mistakes in Data Science projects and how to...
 
8 Steps Problem Solving Method -2.pdf
8 Steps Problem Solving Method -2.pdf8 Steps Problem Solving Method -2.pdf
8 Steps Problem Solving Method -2.pdf
 
8 step Problem solving Method.pdf
8 step Problem solving Method.pdf8 step Problem solving Method.pdf
8 step Problem solving Method.pdf
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
LPP application and problem formulation
LPP application and problem formulationLPP application and problem formulation
LPP application and problem formulation
 
PKS Measuring Productivity of Knowledge Worker - draft solutions
PKS Measuring Productivity of Knowledge Worker - draft solutionsPKS Measuring Productivity of Knowledge Worker - draft solutions
PKS Measuring Productivity of Knowledge Worker - draft solutions
 

More from Frankie Jones

Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017Frankie Jones
 
Basic concepts of information technology and the internet
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internetFrankie Jones
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problemFrankie Jones
 
2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life CycleFrankie Jones
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languagesFrankie Jones
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGFrankie Jones
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer OrganizationFrankie Jones
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Frankie Jones
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationFrankie Jones
 
Type header file in c++ and its function
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its functionFrankie Jones
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard templateFrankie Jones
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation formFrankie Jones
 

More from Frankie Jones (14)

Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017
 
Basic concepts of information technology and the internet
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internet
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
 
2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer Organization
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
 
Operator precedence
Operator precedenceOperator precedence
Operator precedence
 
Type header file in c++ and its function
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its function
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard template
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation form
 

Recently uploaded

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

2.1 Understand problem solving concept

  • 1. Chapter 2: Problem Solving Methods 2.1 Understand problem solving concept FP101
  • 2. WEEK 4 CLO 1 Explain the basic computer and programming fundamentals with appropriate examples of language and technology Chapter 2: Problem Solving Methods 2.1 Understand problem solving concept
  • 4. Problem Solving Concept •Problem solving in Everyday Life - people make decisions everyday to solve problems that affect their lives - problem maybe unimportant or maybe important - if a bad decision is made, time and resources are wasted
  • 5. Problem Solving Concept • There are six steps to follow to assure the best decision Identify the problem Understand the problem Identify alternatives ways to solve the problem Evaluate the solution Select the best way to solve the problem from the list of alternative solutions List instructions that enable you to solve the problem using the selected solution 1 2 3 4 5 6
  • 6. Problem Solving Concept • There are six steps to follow to assure the best decision: a) Identify the problem - make sure you identify the problem before you start solving the problem. b) Understand the problem - includes understanding the knowledge base of the person or machine for whom you are solving the problem
  • 7. Problem Solving Concept • There are six steps to follow to assure the best decision c) Identify alternatives ways to solve the problem - the list should be as complete as possible d) Select the best way to solve the problem from the list of alternative solution - you need to identify and evaluate the pros and cons of each possible solution before selecting the best one
  • 8. Problem Solving Concept • There are six steps to follow to assure the best decision: e) List instructions that enable you to solve the problem using the selected solution - this step-by-step instructions must fall within the knowledge base set up in step 2 f) Evaluate the solution - check its result to see if it is correct, and to see if it satisfies the needs of the person with the problem
  • 9. Problem Solving Concept • Exercise • In a group of 2 members, by using the six steps • mentioned earlier, try to solve the problem of what to do on this Saturday evening.
  • 10. Problem Solving Concept • Types of problem - problems do not always have straightforward solutions - some problems can be solved with a series of actions. - This solutions are called algorithmic solutions. - solutions that cannot be reached through a direct set of steps are called heuristic solutions
  • 11. Problem Solving Concept • Problem solving with computer - computer are built to dealt with algorithmic solutions - fields of computer that deals with heuristic types of problems is called artificial intelligent
  • 12. Problem Solving Concept • Difficulty with problem solving - some have not been taught how to solve problems. - some are afraid to make a decision for fear it will be the wrong one - often, when people go through the problem solving process, they complete one or more of the steps inadequately - when solving problems on the computer, one of the most difficult tasks for the problem solver is writing the instructions.
  • 13. Problem Solving Concept • Types of problems that can be solved on computer are: a) computational – problems involving some kind of mathematical processing b) logical – problems involving relational or logical processing c) repetitive – problems involving repeating a set of mathematical and /or logical instructions
  • 14. Input, Process and Output • Information processing cycle is the sequence of events in processing information which includes: a) input – entering data into the computer b) processing – performing operations on data c) output – presenting the results
  • 15. Input, Process and Output Questions: Identify input, process and output based on the problem given. Question 1 Find a student average mark given mark1 and mark2.
  • 16. Input, Process and Output Question 2 Calculate the salary of an employee who works hourly basis. The formula to be used is Salary = hour works * pay rate Question 3 Calculate the total fine charged by library for late-return books. The charge is RM0.20 for 1 day
  • 17. Input, Process and Output Question 4 You had bought a nice shirt which cost RM29.90 with 15% discount. Count the nett price for the shirt Question 5 An electronics factory workers who are paid salaries by the number of hours worked is RM2.50 per hour. Total income earned will be cut by 10% for their KWSP contributions. Calculate the net income earned by an employee.
  • 18. Input, Process and Output Question 6 Mr. Kamal wish to buy USB storage Kingston brand to be circulated to DIP’s student. The Price for USB unit storage is RM40.00 each. How many ringgit needs to be paid by Mr. Kamal to that shop owner after being given discount as much as 15%.
  • 19. Input, Process and Output Answer: Question 1 Input : mark1 and mark2 Process : calculate average mark using formula: average mark=(mark1+mark2)/2 Output : average mark
  • 20. Input, Process and Output • Answer: • Question 2 Input: hour works, pay rate Process: calculate salary using formula: Salary= hour works x pay rate Output: Salary
  • 21. Input, Process and Output Answer: Question 3 Input: days late Process: calculate the total fine charged by library using formula: Total fine = days late x 0.20 Output: Total fine
  • 22. Input, Process and Output Answer: Question 4 Input: shirt cost Process: 1. Calculate discount price using formula: discount price = 0.15 x shirt cost 2. Calculate total price after discount using formula: total price = shirt cost – discount price Output: discount price, total price
  • 23. Input, Process and Output Answer: Question 5 Input: workers name, hours work Process: 1. calculate the gross salary using formula: Gross salary = hours work x 2.50 2. calculate KWSP using formula: KWSP= 0.10 x Gross salary 3. calculate net income using formula: net income= Gross salary-KWSP Output: Gross salary, KWSP, net income
  • 24. Input, Process and Output • Answer: • Question 6 • Input: unit price, number of students • Process: • 1. calculate the actual price before discount using formula: actual price = unit price x number of students • 2. calculate discount price using formula: • discount price= 0.15 x actual price • 3. calculate students price using formula: • student price=(actual price-discount price)/number of students • Output: actual price, discount price, student price