Академический Документы
Профессиональный Документы
Культура Документы
Unit I
Ms. J. Blake
What is a Problem?
• A problem is not always something negative,
but simply a matter or situation that could be
better, improved on or just requires a solution.
Problem Solving
• Simply the process of finding a solution to a
problem.
• It is a cognitive process that can be achieved
by following a framework of activities.
Problem
• “Di Trenz” is giving a 20% discount to all
customers whose final bill exceeds $5000.
Calculate Dwayne’s Final bill if he spent $8700.
Problem
Your little brother Kevin comes
home all bloody and bruised. He kicks the chair, yells at your
Mum, and
swears a blue streak. It turns out
that he got beaten up by a bunch of
kids on the way home from school.
The kids are bigger and have a tough
reputation, but your little brother
also has a bit of a mouth on him and
always fights back. Kevin asks you to help him out, since you are
even bigger
than the kids who beat him up.
What do you do?
Step to Problem Solving
• Define the problem
• Analyze the problem (using tools, such as
questionnaires, interviews, observation,
reviewing documents),
• identify and evaluate possible solutions,
• Select and justify the optimal solution
• Implement
• Review
Define problem
Gather facts
Consider possibilities
based on facts
If problems stop
If problems Persist
Observe results
Problem resolved,
terminate process
Step to Problem Solving
• Define the problem- Identifying the actual
issues. One may write them down (Problem
statement). By doing this you will ensure that
the right problem is addressed
• Analyze the problem- Finding out what is
actually wanted of us and how we can proceed
to the solution. Identify inputs outputs and
processing that is required to complete tasks
Step to Problem Solving
• Propose and evaluate Possible solutions-
Problems may have multiple solutions. Identify
solutions that may be available, select the most
suitable for solving the issues, identify the
strengths and weaknesses of each solution.
• Select and justify the optimal solutions
Based on solution evaluations, choose the most
efficient or suitable (optimal) that will solve the
problem
Step to Problem Solving
• Implement and Review
The optimal solution is put into practice and
tested. It is observed/ reviewed to see if it
works correctly and addresses the issues for
which it was implemented.
STEPS TO PROBLEM SOLVING in COMPUTING
(scrambled)
1. Analyze the problem
2. Develop an algorithm
3. Identify and define the problem
4. Test the algorithm to see if it works
5. Test and debug the program
6. Write a program in a programming language
Weight of person 2
Role of Information In solving
problems
• The Minister of agriculture is interested in
marketing and exporting breadfruit and ackee
to Asian and European countries.
• What is your best advise for him in getting this
done? How can he go about doing this?
• What kind of information will he need to
collect to address the concern?
Identification of information required in solving
problems…(1)
• There is no doubt that improvements in information and
communication technologies have narrowed the
information gap between the rich and poor sections of
the world.
• Information, which used to be available only in the rich
world, is now more likely to be available in the
developing world as well.
• For an individual, an organization, or a country to be
successful in this new world order, it is imperative that
one be able to analyze real life problems not only in
terms of the purely physical resources required for its
solution, but also in terms of the information necessary.
Identification of information required in solving
problems…(2)
Category Synonyms
6
Read N
For J = 1 to N Do
6
If J < 5 then
S= (N + J) *2 6
Else
6
S= (N-J) * 2
Endif 6
Endfor 6
• Perfect Pizza wants to install a system to record orders for pizza and
chicken wings.
• When regular customers call Perfect Pizza on the phone, their
phone number goes automatically into the Pizza system. The phone
number invokes the name, address, and last order date comes
automatically up on the screen.
• Once the order is taken, the total, including tax and delivery, is
calculated. Then the order is given to the cook. A receipt is printed.
• Occasionally, special offer (coupons) is printed so the customer can
get a discount. Drivers who make deliveries give customers a copy
of the receipt and coupon (if any). Weekly totals are kept for
comparison . with last year’s performance Draw a context diagram
for Perfect Pizza
Steps to Program Implementation