Page 1 - LN
P. 1
Lesson Note
Computer Science
Class – XI
Topic: Introduction to Problem Solving
Introduction
Computerisation is the use of computer (specifically a software) to automate any routine human
task efficiently.
Computers are used for solving various day-to-day problems and thus problem solving is an
essential skill that a computer science student should know.
Problem Solving
Computer need very well defined step-by-step instructions to solve a problem. The success of a
computer in solving a problem depends on how correctly and precisely we define the problem,
design a solution (algorithm) and implement the solution (program) using a programming language.
Thus, problem solving is the process of identifying a problem, developing an algorithm for the
identified problem and finally implementing the algorithm to develop a computer program.
Problem Solving
When problems are straightforward and easy, we can easily find the solution (e.g. sorting a given
data).
Complex problem requires a methodical approach/ problem solving techniques to find the right
solution
Problem solving technique begins with the precise identification of the problem and ends with a
complete working solution in terms of a program or software. Key steps required for solving a
problem using a computer are:
1. Analysing the Problem
It is important to clearly understand a problem before finding a solution for it. If we are not clear as
to what is to be solved, we may end up developing a program which may not solve our purpose.
Ex. Computerisation has to be done for ABC International School. Identify what all task need to be
computerized, which all final reports/output will be required (and duration), exact inputs required
for the output (nothing extra), backup strategy, who all will be the user and at which level etc.
Before the proceeding of a solution, read and analyse the problem statement carefully in order to
list the principal components of the problem and decide the core functionalities that our solution
should have.