Introduction to problem solving ComputerScience11 Notes

This article – introduction to problem solving ComputerScience11 offers notes for Chapter 4 of CBSE Computer Science Class 11 NCERT textbook.

Introduction to problem solving ComputerScience11

Computers, mobiles, internet, etc. becomes our essentials now a days for our routine life. We are using the to make our tasks easy and faster.

For example, earlier we were going to banks and standing in long queues for any type of transaction like money deposit or withdrawals. Today we can do these tasks from anywhere without visiting banks through internet banking and mobiles.

Basically this was a complex problem and solved by a computer. The system made online with the help of computers and internet and made our task very easy.

This process is termed as “Computerisations“. The problem solved using a software to make a task easy and comfortable. The problem solving is key term related with computer science.

The questions comes in your mind that how to solve a complex problem using computers?

Introduction to problem solving ComputerScience11 – Steps for problem solving

[su_quote cite=”A. Aho and J. Ullman”]“Computer Science is a science of abstraction -creating the right model for a problem and devising the appropriate mechanizable techniques to solve it.”[/su_quote]

To solve any complex problem, it starts with understanding the problem and identifying the problem.

Suppose you are going to school by your bicycle. While riding on it you hear some noise coming from it. So first you will try to find that from where the noise is coming. So if you couldn’t solve the problem, you need to get it repair.

The bicycle mechanic identifies the problem like source of noise, causes of noise etc. then understand them and repair it for you.

So there are multiple steps involved in problem solving. If the problem is simple and easy, we will find the solution easily. But the complex problem need few methods or steps to solve it.

So complex problem requires some tools, a system or software in order to provide the solution. So it is a step by step process. These steps are as follows:

  1. Analysing the problem
  2. Developing an algorithm
  3. Coding
  4. Testing and debugging

Analysing the problem

When you need to find a solution for a problem, you need to understand the problem in detail. You should identify the reasons and causes of the problem as well as what to be solved.

So this step involves a detailed study of the problem and then you need to follow some principles and core functionality of the solution.

In this step input and output elements should be produced.

Developing an algorithm

An algorithm is a step by step process of a solution of a complex problem. It is written in natural language. An algorithm consists of various steps and begins with start to end. In between input, process and output will be specified. More details we will cover in next section.

In short algorithm provides all the steps requires to solve a problem.

Coding

When algorithm is prepared, the next step is writing code. This code will be written in a specific programming language. The code follows certain rules and regulations of the programing language and provides the solutions.

When coding is done you need to maintain it with proper documentation as well. The best practices for coding procedures must be followed. Because this code can be reviewed number of times for further development and upgradation.

Testing and debugging

Let’s we understand this step with a simple example!!

When your mother preparing a cake at your home, she will give peace of cake to someone before serving to check taste of the cake, right!!! If anything is needed like sugar or softness or hardness should be improved she will decide and do the improvement.

Similarly after writing code testing and debugging required check the software whether it is providing the the solution in good manner not.

Have look at this also: Computer Science Class XI

Comment Your Views

%d bloggers like this: