Steps of Problem Solving in Computer Science
Steps of Problem Solving in Computer Science
net/publication/351493978
CITATIONS READS
0 47,234
1 author:
Ishaq Zakari
Umaru Musa Yar'adua University Katsina
10 PUBLICATIONS 1 CITATION
SEE PROFILE
All content following this page was uploaded by Ishaq Zakari on 11 May 2021.
By:
ISHAQ ZAKARI
+2347066377161, +2349079945536
[email protected]
[email protected]
TOPIC:
MARCH, 2021
1
PROLOGUE
translate this "algorithm" into something a computer can do, and finally how to
"write" the specific syntax (required by a computer) to get the job done. It is
sciences.
of algorithms, heuristics and root cause analysis. The amount of resources (e.g.
2
Other problem solving tools are linear and non – linear
involves designing completely automatic systems that will later solve some
The following are six steps that must be followed to solve a problem using
computer
1. Problem Analysis
2. Program Design - Algorithm, Flowchart and Pseudocode
3. Coding
4. Compilation and Execution
5. Debugging and Testing
6. Program Documentation
PROBLEM ANALYSIS
practical solutions for solving it. Thus, the problem analysis would report that
the lighting was not the cause of the problem, saving the company time and
money.
3
a. Understand your problem
b. Break the problem
c. Define problem goals
d. Decide how to measure progress towards goals.
1. Understand Your Problem: You must understand the issue, problem or
symptom you are experiencing before you can realistically try to figure out what
to do about it. As a first step towards self – help, take steps to understand the
2. Break the Problem Down Into Small Parts: Even when you understand
what your problem is, it may be too big and too well established for you to
figure out how to fix all at once. Instead of trying to tackle the entire problem
all at once, break it down into manageable parts. Then, make a plan for how you
3. Define Problem Goals: For each of your small manageable problem parts,
figure out what your goals are; where you want to end up at the end of the self-
help process for each part of your problem. If you don't know what you are
working towards, you will never know when you've arrived there.
progress you make towards accomplishing each of your problem goals, so that
b. How far you've come towards meeting your goals at any given moment,
and
4
c. How you'll know when you've met your goals and are done.
ALGORITHM
intended "target" computer(s) to produce output from given (perhaps null) input.
results than a non-optimal (higher time complexity) algorithm for the same
FLOWCHART
The flowchart shows the steps as boxes of various kinds, and their order
5
analyzing, designing, documenting or managing a process or program in various
fields.
PSEUDOCODE
CODING
6
COMPILATION:
EXECUTION:
which must be carried out, in order for a specific problem to be solved. As the
DEBUGGING:
process of finding and resolving bugs (defects or problems that prevent correct
Debugging tactics can involve interactive debugging, control flow analysis, unit
7
programming languages and software development tools also offer programs to
TESTING:
with information about the quality of the software product or service under
test. Software testing can also provide an objective, independent view of the
software to allow the business to appreciate and understand the risks of software
application with the intent of finding failures, and verifying that the software
these properties indicate the extent to which the component or system under
test:
Is sufficiently usable,
8
PROGRAM DOCUMENTATION:
explains how the software operates or how to use it, or may mean different
documentation include:
components.
End user – Manuals for the end-user, system administrators and support
staff.
Marketing – How to market the product and analysis of the market demand.
9
REFERENCES
10