School Revise · Class 11 Computer Science · Chapter 4
Code 083, Class 11. Before we write code, we plan. Here we learn the steps of solving a problem, and how to describe a solution using an algorithm, a flowchart and pseudocode.
|
|
A computer only does what we tell it, so a clear plan comes first. In this chapter we learn the steps of problem solving and three ways to write a plan: an algorithm, a flowchart and pseudocode.
Solving a problem with a computer follows clear steps: understand the problem, design a solution, write the code, then test and fix errors.
|
The four steps: (1) understand and analyse the problem, (2) design an algorithm, (3) write the program, (4) test and debug (find and fix mistakes). |
An algorithm is a finite set of clear steps that solves a problem. It must be exact and end after a limited number of steps.
|
Algorithm to add two numbers: Step 1 Start. Step 2 Read a and b. Step 3 sum = a + b. Step 4 Print sum. Step 5 Stop. |
A flowchart draws the steps using symbols: an oval for start and stop, a parallelogram for input and output, a rectangle for a process, and a diamond for a decision, joined by arrows.
![]() |
Pseudocode writes the steps in plain, code-like words without a real programming language. Decomposition means breaking a big problem into smaller parts that are easier to solve.
Drag the flowchart symbols into the right order for a simple task by tapping. The interactive opens right here in the lesson.
algorithm.
diamond shape.
debugging.
pseudocode.
Start; read a and b; sum = a + b; print sum; Stop.
Oval (start/stop), parallelogram (input/output), rectangle (process), diamond (decision).
Breaking a big problem into smaller, easier parts.
|
Problem solving has four steps: understand, design an algorithm, code, then test and debug. An algorithm is a finite set of clear steps. A flowchart draws them with symbols (oval, parallelogram, rectangle, diamond). Pseudocode writes them in plain code-like words, and decomposition breaks a big problem into smaller parts. |
| Open the Virtual Lab |
These free Class 11 Computer Science notes explain problem solving, algorithms, flowcharts and their symbols, pseudocode and decomposition, with a clear flowchart example and practice, for CBSE students across India and the Gulf including the UAE, Saudi Arabia, Qatar, Oman, Kuwait and Bahrain.
© 2026 School Revise. All rights reserved. Original content aligned to the CBSE and NCERT Class 11 Computer Science syllabus. Unauthorised copying is not permitted.