




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
General Problem Solving Concepts Types of Problems Problem solving with computers Difficulties with problem solving Problem solving Aspect
Typology: Study notes
1 / 100
This page cannot be seen from the preview
Don't miss anything!
Introduction
General Problem Solving Concepts
Types of Problems
Problem solving with computers
Difficulties with problem solving
Problem solving Aspect
Problem Solving Concepts for
Computer
Constants and variables
Data types
Functions
Operators
Expressions and equations
Programming Concepts
Communicating with computers
Organizing the problem
Using the tools
Testing the solution
Coding the program
Example: Problem what to do this evening
1. Indentify the Problem: How do the Individuals wish to spend the
evening?
2. Understand the problem: The knowledge base of the participants
must be considered. The only solutions that should be selected are
ones that everyone would know how to do. You probably would not
select as a possible solution playing a game of chess if the
participants do not know how to play chess.
3. Identify Alternatives :
▫
Watch Television
▫ Invite friends over
▫ Play games
▫ Go to the movie
▫ Play miniature golf
▫ Go to a friends party
▫ Go to the amusement park
▫ List is complete only when you can think of no more alternatives
4. Select best way to solve the problem
▫ Cut out alternatives that are not acceptable
▫ Specify pros and Cons of each Remaining alternative
▫ Compare pros and cons to make final decision
General Problem-Solving Concepts
Results means the outcome or the completed
computer assisted answer
Program means the set of instructions that make up
the solution using programming language
Computers are built to deal with algorithmic solutions
Difficulty lies in Programming
Solutions must be transformed into an algorithmic
format
People have many problems with problem solving
Afraid to make decisions
People go through one or more steps incorrectly
Problem solving process is not easy
Problem solving on computer
Difficult task of writing instructions
Computer has specific system of communication
Problem Definition Phase
Getting Started on a Problem
not know where to start?
The use of Specific Examples
problem is to pick a specific example
a problem can be useful
Similarities among problems
“Algorithm is any well defined
computational procedure that takes
some values or set of values as input
and produces some value or a set of
values as output”
quantities
unambiguous
directions, which should be independent of any programming
code.
Algorithms tell the programmers how to code
the program. Alternatively, the algorithm can be
written as −
Step 1 − START ADD
Step 2 − get values of a & b
Step 3 − c ← a + b
Step 4 − display c
Step 5 − STOP
Expression:
Method Declaration
Return : return value