Units — Computer Education
  1. Unit 1Introduction to Computers
  2. Unit 2Digital Skills
  3. Unit 3Algorithmic Thinking and Problem Solving
  4. Unit 4Programming Scratch
  5. Unit 5Digital Citizenship
  6. Unit 6Entrepreneurship in Digital Age

Unit 3: Algorithmic Thinking and Problem Solving

Computer Education Class 6 — English (Sindh Textbook Board)

Source: Computer Education Class 6, Sindh Textbook Board, Jamshoro.

About this source

Textbook text is reproduced for free educational study. All solutions, explanations, practice questions, diagrams and teacher's guides are original work by 100MCQs. 100MCQs is an independent site and is not affiliated with or endorsed by the Sindh Textbook Board. Read our Disclaimer.

Unit 3: Algorithmic Thinking and Problem Solving

Student Learning Outcomes

After the completion of this unit students will be able to:

  • Define and identify a problem and differentiate between simple and complex problems.
  • Solve any problem by following the 6 steps problem solving guide.
  • Analyze different steps to break down a problem.
  • List benefits of algorithmic thinking.
  • Recognize that algorithms are sequence of precisely described instructions.
  • Define conditional/selection statements that decide whether certain instructions should run or not.
  • Identify loops and analyze how they allow instructions to be repeated.
  • Analyze ways to solve a problem by using a combination of sequence, selection, and repetition.

Introduction to the Unit

In this unit we are going to learn how to solve problems in a well manner, which is super important for everything we do, like at school and even when we grow up and have jobs. This unit also introduces the fundamental principles of algorithmic thinking, highlighting its role as a systematic approach to breaking down problems into manageable components and planning step-by-step strategies for solution.

3.1 Problem

A problem is something (event, task, situation) that needs to be solved. It is like a puzzle or question for which a solution must be found. Problems can be big or small, and can be from the real-world or pointed out by someone. They can be anything from real life situations to math problems, for instance.

Here are three examples of problems:

  • You are walking in the park, and you see a lost puppy. What would you do to help the puppy find its way home?
  • Your favorite toy is broken. What are some ways you can try to fix it?
  • Aslam has 3 bags of coins, and each bag has 5 coins. How many coins does Aslam have in total? (3 × 5 = 15 coins.)

3.2 Simple and Complex Problems

3.2.1 Simple Problems

Simple problems are like puzzles that are easy to solve. They usually have a clear question with an answer that you can find using basic steps.

For example: bake a cake or cook instant noodles for lunch.

  • Simple problems can be solved by simply following the recipes.
  • No expertise is required to solve simple problems.
Pour water intoa potBoil the waterAdd the noodleblockLet the noodlescookSprinkle theseasoningServe thenoodles
Figure 3.2 — Steps to cook instant noodles

3.2.2 Complex Problems

Complex problems are like larger puzzles that need more thinking. They might have many steps or need different ways to solve them.

For example:

  • Calculating the Least Common Multiple (LCM).
  • Determining if a number is prime or not.
  • A book costs 500 Rs, more than twice the cost of a pen. If the total cost of the book and the pen is 800 Rs, how much does each item cost?

These types of problems can be solved by breaking them into many simple problems. Site summary: This is how we can identify a complex problem: it has many steps, or it needs to be broken into smaller problems before it can be solved.

Figure 3.3 shows how the LCM of 10, 18 and 20 is calculated by the division method. At each step we divide by a prime number and bring down the numbers that cannot be divided.

DivisorNumbers
210, 18, 20
25, 9, 10
35, 9, 5
35, 3, 5
55, 1, 5
—1, 1, 1

LCM = 2 × 2 × 3 × 3 × 5 = 180. (This working has been checked: LCM of 10, 18 and 20 is 180.)

Textbook note: The book and pen example above is worded in a way that can be read in two ways. The reading that makes the numbers fit is: the book costs Rs 500 MORE than twice the cost of a pen. Then pen + book = 800 gives pen = Rs 100 and book = Rs 700, and 700 is indeed 500 more than twice 100. The book does not print a solution, so treat this example as a thinking question, not as a memorized answer.

3.3 Problem Solving

We solve various problems every day and every problem is unique in nature. Some problems are difficult and require more attention to find the solution. Problem solving is a process of identifying and finding the most effective solution to a problem. The skill of problem solving can be mastered by following a systematic and well-organized approach, as shown in Figure 3.4.

1. Identify the problem2. Explore information and ideas3. Analyse the problem and evaluate alternatives4. Select the best idea5. Build and test the ideas6. Evaluate results
Figure 3.4 — The six-step problem-solving approach

Step 1: Identify the problem

  • State what the problem is. For example: "Manahil wants to buy a birthday gift for her friend Moomal."
  • Be clear about when, where, and why it is a problem. For example: "Manahil wants to buy a birthday gift that Moomal will like, and which will make their friendship stronger."

Step 2: Explore information and ideas

  • Write down all the ideas you can think of, even if they seem wrong or not good.
  • Use your imagination to think of some cool ideas you would not have thought of before.

In this case, Manahil can think of the following possible solutions:

  • A book that her friend mentioned that she wants.
  • A board game, they can play together.
  • A gift card to their favorite store.
  • A personalized photo album of their memories together.

Step 3: Analyze the problem and evaluate alternatives

  • We look for ideas we don't like as much and say bye-bye to them.
  • We put the ideas we like the most on a special list.
  • We think about good and not so good things about each idea to decide which one is best.

For example, Manahil came to the following conclusion for each possible solution:

  • The book might be a good choice because her friend loves reading, but buying a book can be expensive.
  • The board game could be fun for them to enjoy together, but what if she already has the game you buy?
  • A gift card gives her friend the option to choose what she wants to buy, but Manahil does not know her friend's likes or dislikes.
  • The photo album would be a sentimental and thoughtful gift.

Step 4: Select the best idea

  • Say who is going to do something about it, like, "Manahil will prepare a personalized photo album for her friend."
  • Say how you are going to fix it. For example, "Manahil will collect photos of her friend and create a beautiful photo album."
  • Say when you do it: "Manahil will start collecting the photos from today and must complete the album before her friend's birthday."

Step 5: Build and test the ideas

  • Do what you decided. "Manahil starts collecting the photos of her friend from various sources such as friends and family and creates a beautiful photo album."

Step 6: Evaluate results

  • Think if the plan worked, like, "Did Manahil's friend love the gift and feel touched by the memories captured in the album?"
  • Decide if you need to change the plan or make a new one to fix the problem.
  • If you are not happy with what happened, note this for the future and start again from step 2, pick a new plan, or change the old one.

Example 1: Dealing with bullying at school

Identify and define the problem: Aslam is being bullied at school and needs to find a way to handle the situation.

Explore information and ideas:

  • Tell a grown up you trust such as a teacher, counselor, guardian or parent.
  • Face the bully with courage and tell them to stop bothering you.
  • Ask friends or classmates for support and help.
  • Be part of groups at school that stop bullying.

Analyze the problem and evaluate alternatives:

  • Telling a grown up for help and support can stop the bully.
  • If you face the bully with courage, they might stop bullying you.
  • Your friends can help you feel better and strong, but your friends may also start bullying you.
  • Becoming part of anti-bullying groups may help you stop bullying, but it also diverts your attention from studies.

Select the best idea: Aslam decides to talk to his teacher about bullying.

Test the idea: He met with his teacher, explains the situation, and asks for help.

Evaluate results: Aslam receives support from the school, the bullying stops, and he feels safer and happier at school.

Remember: the idea Aslam finally selected was to tell a teacher. A child should never try to handle bullying alone — always involve a teacher or another trusted adult.

3.4 Problem Decomposition

Sometimes the problem is too large to solve all at once. Therefore, we decompose or divide problems into smaller sub problems. This technique is known as Problem decomposition. The decomposition of any problem can be done by dividing the problem into facts, input, outputs and instructions.

3.4.1 Facts

Facts are things we know that are true or real. They are like the building blocks of problem-solving process. For example, if we are baking bread, some facts could be that we need flour, yeast, oil, warm water, and salt.

3.4.2 Input

Inputs are the things we start with, like the ingredients for our bread (if that is the problem).

3.4.3 Output

Outputs are the cool things we get at the end, like fresh yummy bread! They are what we make or get after we put everything together.

3.4.4 Instructions

We combine facts, inputs, and outputs to create a list of steps (instructions) that guide us in solving the problem. There could be two different types of instructions:

(I) Specific instructions give clear, detailed steps on how to do something. For example, imagine you are baking a cake, a specific instruction would be: "Bake the cake for 40 minutes at 200 degrees Celsius."

(II) Non-specific instructions are more general and less detailed. In the cake baking scenario, a non-specific instruction would be: "Mix all the ingredients then cover it and let it sit."

Textbook note: In the book's Figure 3.10 (baking bread ingredients and tools), the Facts/Inputs picture also shows oatmeal and sunflower seeds, although the facts list in 3.4.1 names only flour, yeast, oil, warm water and salt. Pictures can add extra items; the written facts list is the one to learn.

Example 1: Building a LEGO castle

  • Facts: we need LEGO bricks of different colors and sizes and maybe some special pieces like windows and doors.
  • Input: A blank canvas or an empty space where we want to build the castle.
  • Output: How we like our castle to look like, say we want a tall castle with towers, windows, a big gate, and maybe even a drawbridge.

Pulling it together (Instructions):

  • We have LEGO bricks of different colors and sizes.
  • We start with an empty space or a blank canvas.
  • We want a castle with towers, windows, a gate, and a drawbridge.

3.5 Algorithmic Thinking

Algorithmic thinking is a way of solving problems by producing algorithms. It is a method for solving problems based on a clear definition of the steps; logically and repeatedly.

3.5.1 Algorithm

  • An algorithm is an ordered clear sequence of steps to solve a problem or accomplish a task.
  • An algorithm is a plan that tells you how to do a task.

We use algorithms all the time. For example, consider the steps that you take to:

  • Prepare a pancake mix.
  • Make a cup of tea.
  • Convert temperature readings from Celsius to Fahrenheit.

To develop an algorithm, we need to represent the instructions in some way that is understandable to a person who is trying to figure out the steps involved. Two commonly used representations for an algorithm are pseudocode and flow charts.

3.5.2 Pseudocode

Pseudocode is a description of algorithms using everyday language, similar to English, but structured to resemble a simplified programming language.

Consider the example of adding two numbers. This algorithm performs addition of two numbers. The variable A and B will store the two numbers, while the variable Sum stores the sum of these two variables.

  • Step 1: Start
  • Step 2: Input two numbers A and B
  • Step 3: Sum = A + B
  • Step 4: Print the value of Sum
  • Step 5: Stop

3.5.3 Flowchart

Flowcharts are diagrammatic representations that show a sequence of actions and the order in which they occur. For example, consider the example of adding two numbers:

StartInput A, BSum = A + BPrint SumEnd
Figure 3.14 — Flowchart for adding two numbers

3.5.4 Symbols used in Flow Charts

The following shapes and symbols are used in flowcharts:

SymbolNameUsed for
OvalStart / EndTo show the beginning and the end of a flowchart
RectangleProcessTo show an action or a step that is done
DiamondDecisionTo show a question where a choice must be made, such as "Is it even?"
ParallelogramInput / OutputTo show input or output operations, such as "Input A, B" or "Print Sum"
ArrowFlow lineTo indicate the direction in which the process flows from one step to the next

3.5.5 Guidelines for developing flowcharts

  • Flowcharts can only have one start and one stop symbol.
  • The general flow of processes (arrows) is top to bottom or left to right.
  • Arrows should not cross each other.
  • In case of loops, the flow of process could be from bottom to top.

Example: Calculating the cube of a given number

This algorithm takes a number as input from the user and then calculates its cube. The variable number stores the input number, and the cube stores the cube value calculated in the algorithm.

  • Step 1: Start
  • Step 2: Input number
  • Step 3: Compute cube using formula: cube = number × number × number
  • Step 4: Print cube
  • Step 5: Stop
Textbook note: In the book, this pseudocode prints "Step 3" twice (Compute cube and Print cube are both labelled Step 3), so the printed list runs 1, 2, 3, 3, 4. This is only a numbering slip — the order of the steps is correct, and the steps are shown above with correct numbering.
StartInput numbercube = n × n × nPrint cubeStop
Flowchart for the cube of a number

3.5.6 Algorithm building blocks

An algorithm is made up of three building blocks.

(I) Sequencing: The process must be executed in the same written order. (See previous examples.)

(II) Selection / Conditional: The process executes different sets of steps based on a conditional statement. Steps are executed if the condition is true, otherwise the next step is executed. For example, determining the largest number among all the entered numbers.

Pseudocode for finding the largest number between two given numbers. This algorithm will print the largest number between the two numbers entered by the user. The variables A and B store the given numbers.

  • Step 1: Start
  • Step 2: Read the Integer A
  • Step 3: Read Integer B
  • Step 4: If B is greater than A, then print B, else print A
  • Step 5: Stop
YesNoPrint AStartRead A and BIs B > A?Print BStop
Flowchart for the largest of two numbers

(III) Repetitive / Iterative: Repetitive flow, also referred to as iterative flow, is a process in which a statement or a set of statements is executed repeatedly till a certain condition remains true.

For example, print "Hello World" five times. Here, we want to print the same sentence repeatedly, therefore iterative / repetitive process will be used here. A counter variable is needed to keep track of the repetition.

Pseudocode for printing Hello World on screen five times. This algorithm will print a simple message such as "Hello World" five times. The variable count acts as the counter variable.

  • Step 1: Start
  • Step 2: Initialize count = 1
  • Step 3: Print "Hello World"
  • Step 4: Add 1 to the count variable
  • Step 5: Is count <= 5?
  • Step 6: If Yes then Goto Step 2, else Goto Step 7
  • Step 7: Stop
Textbook note: The book's Step 6 above says "If Yes then Goto Step 2", but Step 2 sets count back to 1. Followed exactly as printed, count would restart at 1 again and again, and the loop would never end. It should be Goto Step 3, so that only printing and counting repeat. The flowchart printed on the same page (p105) is correct: its loop goes back to the Print box only, and "Hello World" is printed exactly 5 times.
YesNoStartcount = 1Print Hello Worldcount = count + 1count <= 5?Stop
Flowchart for printing Hello World five times
Textbook note: In the practice activity list printed on p105, one task says "determine if the given number is even or add". "add" is a misprint — it should be "even or odd".

Summary

  • Problems are like challenges that make our brain grow stronger.
  • Simple problems are like small puzzles waiting to be solved.
  • Complex problems are like big adventures that need more steps to solve.
  • Decomposing a problem helps us understand the problem better.
  • When solving problems, first, we think about what we know (our facts), like ingredients of a recipe.
  • Next, we look at what we start with (our inputs), like the tools for making a craft.
  • Then, we imagine what we want in the end (our output), such as a finished drawing or solved puzzle.
  • When faced with a problem, we need a plan to solve the problem known as an algorithm.
  • Algorithms are step by step recipes for solving problems.
  • Algorithmic thinking is like having the superpower to solve problems.
  • Flow charts are like a visual map showing the steps of an algorithm.
  • Flowcharts use symbols and arrows to guide us through the process.
  • Pseudocode is a simple way to write down algorithms using everyday language, just like writing a recipe in words before making a dish.

Important Terms — Book Vocabulary

📚 Book Vocabulary

EnglishMeaning
Problem ⭐A problem is something (event, task, situation) that needs to be solved. It is like a puzzle or question for which a solution must be found.
Problem solving ⭐The process of finding solutions to challenges or puzzles using logical thinking and creativity.
Problem decomposition ⭐A problem-solving methodology that involves breaking down large problems into smaller, more manageable parts.
Iteration ⭐Iteration in algorithms refers to the repetition of a process or set of instructions until a certain condition is met or a desired result is achieved.
Condition ⭐A condition in algorithms is a logical statement or expression that determines the execution or repetition of certain instructions based on whether it evaluates to true or false.

Extra Help Words

🌱 Extra Help Words

EnglishMeaning
SequenceSteps written and followed one after another, in order.
SelectionChoosing between two paths in an algorithm by checking a condition.
VariableA named store that holds a value which can change, such as A, B, Sum or count.
CounterA variable used to count how many times a loop has repeated.
Sub-problemOne smaller part of a big problem, made by breaking the problem down.
InstructionA single step that tells what to do.

Exercise 1 — Encircle the correct answer

1(i) The problem is a:

The problem is a: (a) Toy (b) Challenge waiting to be solved (c) Storybook (d) Game

1(ii) The example of a simple problem is:

The example of a simple problem is: (a) Building a robot (b) Tying your shoes (c) Creating a video game (d) Baking a cake

1(iii) To create a problem-solving plan, we need:

To create a problem-solving plan, we need: (a) Ingredients (b) Facts, Inputs, Outputs (c) Tools (d) details

1(iv) Decomposing a problem means:

Decomposing a problem means: (a) Making it bigger (b) Breaking it into smaller parts (c) Solving it quickly (d) Ignoring it

1(v) Algorithmic thinking is like:

Algorithmic thinking is like: (a) Being a detective solving a mystery (b) Being lost in a maze (c) Watching TV (d) Playing video games

Exercise 2 — Fill in the blanks

2(i) Simple problems are like ____ puzzles

Simple problems are like __________ puzzles. (Word bank: Plan, language, part, small, process)

2(ii) Decomposing a problem helps us understand each ____ better

Decomposing a problem helps us understand each __________ better. (Word bank: Plan, language, part, small, process)

2(iii) An algorithm is a step-by-step ____ for solving a problem

An algorithm is a step-by-step __________ for solving a problem. (Word bank: Plan, language, part, small, process)

2(iv) Pseudocode is a simple way to write down algorithms using everyday ____

Pseudo code is a simple way to write down algorithms using every day __________. (Word bank: Plan, language, part, small, process)

2(v) Flow charts use symbols and arrows to guide us through a ____

Flow charts use symbols and arrows to guide us through a __________. (Word bank: Plan, language, part, small, process)

Exercise 3 — Descriptive questions

3(i) An example of a simple problem and how it was solved

Give an example of a simple problem you've faced and how you solved it.

3(ii) Why break a problem into smaller parts?

Why is it important to break down a problem into smaller parts?

3(iii) Benefits of the step-by-step process of problem solving

List down the benefits of step-by-step process of problem solving.

3(iv) A real-life situation where you might use an algorithm

Can you think of a real-life situation where you might use an algorithm, like a step-by-step plan?

3(v) How planning a solution reduces the risk of failure

How does planning a solution reduce the risk of failure?

Exercise 4 — Class Activities

4(i) Ali's headache — the six-step solution

Solve the given scenario by following the six step problem solving guideline: "Ali is having severe headache. He must consult a doctor for treatment."

4(ii) Grocery shopping — problem decomposition

Apply the concept of problem decomposition and write down the sub-problems for the following scenario: "Your mother asks you for grocery shopping and you need to go to the grocery shop." The problem identified here is "How to do grocery shopping".

4(iii) Algorithm: table of a number up to 10

Write an algorithm that allows the person to enter a number, algorithm will print table of that number up to 10.

4(iv) Algorithm: pass or fail from four subjects' percentage

Write an algorithm that determines whether a student has passed the exam or not. The algorithm takes grades of four subjects as input and then the algorithm calculates the percentage obtained by the student. If the percentage of marks obtained by the student is greater than 60 % then the student has passed the exam otherwise student has failed the exam. Hint: Simple decision making is needed to solve this problem.

4(v) Algorithm: sum of the first 5 numbers

Write an algorithm that calculates the sum of the first 5 numbers i.e. the sum of 1, 2, 3, 4 and 5. Hint: Repetitive/iterative flow statements are needed to solve this problem.

In-lesson Activities

Activity (p90) — Simple or complex?

Activity (printed p90): Teacher will present different problems and ask students if each one of the problems is simple or complex.

Activity (p96) — A real-life problem and the six steps

Activity (printed p96): Watch and Learn — teacher gives an example of a real-life problem he/she has faced and discusses how he/she solved it. Hands-on Practice — each student thinks of a real-life problem he/she has faced and follows the six steps problem solving guidelines to prepare a solution of that problem.

Activity (p99) — Decomposing a complex problem

Activity (printed p99): Watch and Learn — teacher gives an example of a complex problem and demonstrates how it can be decomposed to find the solution. Hands-On-Practice — each student identifies a complex problem he/she has faced and prepares a solution of this problem by decomposing the problem.

Activity (p105) — Design pseudocode and flowcharts

Activity (printed p105): Teacher will engage the students to practice creating pseudocode and flowcharts for various problems: 1. Getting ready for school. 2. Planting a flower in the pot. 3. Determine if the given number is even or odd. 4. Find sum and average of three numbers. 5. Multiply any two given numbers. 6. Take a number from the user; print Car if the number is 1, otherwise print Bus.

Practice is organized in complete sets of 10 questions. Practice Set 1 can be attempted by everyone. Sets 2–5 are Pro sets. Question order and option order are shuffled on every new attempt; after you check an answer it locks, and the correct answer and explanation appear beneath it.

Practice Set 1

What makes a problem a SIMPLE problem?

Which of these is a COMPLEX problem?

In the six-step problem-solving approach, which step comes immediately AFTER "Explore information and ideas"?

After the class play is over, the teacher asks the students: "Did our plan work? What should we change next time?" Which step of problem solving is this?

For the problem "make a poster for the classroom wall", which of these are the INPUTS?

Which of these is a SPECIFIC instruction?

Which way of representing an algorithm uses shapes and arrows?

Read this pseudocode: Step 1: Start. Step 2: N = 5. Step 3: N = N + 3. Step 4: Print N. Step 5: Stop. What is printed?

In a flowchart, the DIAMOND shape is used for:

A flowchart goes: Start → "Read R" → "S = R × R" → "Print S" → Stop. If R is 4, what is printed?

100MCQs ProComing soon

Practice Set 2 with Pro

Rs. 250/month

10 more original practice questions on this unit’s topics, with full explanations — available with Pro when accounts open.

Pro accounts are not open yet. Lessons, solved exercises and teacher’s guides on 100MCQs are always free.

  • Everything in Free
  • Full access to approved practice MCQs
  • Exclusive practice questions
  • Complete eligible practice sets — more opportunities to practise

100MCQs ProComing soon

Practice Set 3 with Pro

Rs. 250/month

10 more original practice questions on this unit’s topics, with full explanations — available with Pro when accounts open.

Pro accounts are not open yet. Lessons, solved exercises and teacher’s guides on 100MCQs are always free.

100MCQs ProComing soon

Practice Set 4 with Pro

Rs. 250/month

10 more original practice questions on this unit’s topics, with full explanations — available with Pro when accounts open.

Pro accounts are not open yet. Lessons, solved exercises and teacher’s guides on 100MCQs are always free.

100MCQs ProComing soon

Practice Set 5 with Pro

Rs. 250/month

10 more original practice questions on this unit’s topics, with full explanations — available with Pro when accounts open.

Pro accounts are not open yet. Lessons, solved exercises and teacher’s guides on 100MCQs are always free.

Teacher's Guide — Unit 3: Algorithmic Thinking and Problem Solving

The textbook's Note for Teachers (printed p111)

The following guidance is the textbook's own Note for Teachers, reproduced for the teacher:

  • Teachers must provide real-world problem-solving scenarios and challenge students to apply the techniques of problem solving they have learned.
  • Teachers must explore practical applications of algorithmic thinking and problem-solving skills in various fields, such as computer science, engineering, mathematics, and everyday life.
  • Engage students in discussions about the importance of breaking down complex problems into smaller, more manageable steps.
  • Introduce the concept of algorithmic thinking. Explain that algorithms are step-by-step procedures used to solve problems.
  • Use real-life examples to illustrate algorithms, such as recipes, instructions for assembling furniture, or navigating a route on a map.
  • Use interactive demonstrations or group activities to reinforce these concepts.
  • Teachers must teach students how to design algorithms by breaking down problems into smaller steps, identifying patterns, and developing clear and concise instructions.
  • Guide students through the process of refining and improving their algorithms through testing and iteration.

How to teach the six steps

  • Teach the steps in order and always with one running example — the birthday gift example (Manahil and Moomal) is ideal because every step has a concrete line in the book.
  • Insist that Step 2 (explore) comes before judging ideas; children often jump straight to a solution. The book's own wording — write down all ideas, even ones that seem wrong — is the rule to repeat.
  • In Step 3, make pupils say one good point and one weak point for each idea, as the book does for the book, board game, gift card and photo album.
  • Step 6 is the step classes most often skip. Always ask: "Did the plan work? What would you change?" — and link it back to Step 2, as the book directs.
  • For the headache activity (Exercise 4(i)), the scenario's own solution is "consult a doctor". Build the six steps around that outcome and stress that medicine is never taken without an elder or a doctor.

How to teach pseudocode and flowcharts

  • Start from the adding-two-numbers pair (p100–p101): read the pseudocode aloud, then trace the same five boxes in the flowchart so pupils see they are the same algorithm in two representations.
  • Teach the five symbols with the book's own examples (Oval — Start/End; Rectangle — action; Diamond — decision question; Parallelogram — Input/Print; Arrow — direction of flow) and the four guidelines in 3.5.5, especially one Start and one Stop.
  • Trace every flowchart with a finger, following the arrows. For the largest-number chart, try A = 4, B = 9 (prints B) and A = 9, B = 4 (prints A) so both branches are walked.
  • For the "Hello World" loop, trace count on paper: 1, 2, 3, 4, 5 prints, then count = 6 ends the loop. This trace is the clearest way to show why the loop-back must return to the Print box and not to "count = 1".
  • Let pupils draw charts on the board or paper only — no software is needed for this unit, and no pupil work in this unit was produced or tested on real software.

Common misconceptions

  • "A complex problem is just a hard sum." No — complexity is about many steps or needing decomposition, not about difficult arithmetic; the LCM example is complex because of its steps.
  • "Instructions in a decomposition are the whole recipe." The book's LEGO "Pulling it together" list restates facts, input and output; point out that real instructions are action steps, and compare with the specific instruction "Bake the cake for 40 minutes at 200 degrees Celsius".
  • "A loop that goes back to the start is fine." Show with the Hello World trace that returning to the initialisation step resets the counter and the loop never ends.
  • "60% means pass." In Exercise 4(iv) the printed rule is strictly greater than 60%, so exactly 60% is a Fail in that algorithm. Teach pupils to read conditions exactly as written.
  • "Friends can solve bullying." The book's analysis itself notes friends may not help; the selected solution in the book is telling a teacher. Reinforce this every time the example is discussed.

Textbook corrections and notes

  • p105, Hello World pseudocode — printed Step 6 "If Yes then Goto Step 2" is defective: Step 2 re-initializes count = 1, so the loop would never terminate. Correct step: Goto Step 3. The flowchart on the same page is correct (loop returns to the Print box only). Visible Textbook note in the Lesson; the printed pseudocode is quoted unchanged.
  • p103, cube pseudocode — "Step 3" is printed twice (Compute cube; Print cube), giving the sequence 1, 2, 3, 3, 4. Numbering slip only; the step order and the flowchart are correct. Visible Textbook note in the Lesson; steps shown with corrected numbering.
  • p105, Activity item 3 — "even or add" is a misprint for "even or odd". Visible Textbook note in the Lesson and in the solved activity card.
  • p89 — "breaking then into many simple problems": "then" is a misprint for "them". Corrected in the Lesson text.
  • p89 — the book and pen example is ambiguous; the only reading consistent with the printed total (Rs 800) is book = twice the pen + Rs 500, giving pen Rs 100 and book Rs 700. No solution is printed in the book. Visible Textbook note in the Lesson.
  • p107, Exercise 1(ii) — two options are defensible in everyday life (baking a cake; tying your shoes). The key follows the book's own example in 3.2.1 (p88): (d) Baking a cake. Explained openly in the solved card.
  • p108, Exercise 1(iii) — the keyed option (b) "Facts, Inputs, Outputs" omits Instructions, although 3.4 (p96) divides a problem into facts, input, outputs and instructions. Option (b) remains the only plausible answer; the omission is noted in the solved card.
  • p110, Exercise 4(iv) — the condition is strictly "greater than 60 %"; exactly 60% does not pass. The book does not state maximum marks, so the model solution states its assumption openly (100 per subject, 400 total). Also "than the student has passed" is a misprint for "then the student has passed".
  • p109, Exercise 4(ii) — "You mother" is a misprint for "Your mother". Corrected in the solved card and noted there.
  • p97, Figure 3.10 — the picture's Facts/Inputs include oatmeal and sunflower seeds, which are not in the written facts list of 3.4.1. Visible Textbook note in the Lesson.
  • p90, Figure 3.3 — the LCM working for 10, 18 and 20 was independently checked and is CORRECT: LCM = 2 × 2 × 3 × 3 × 5 = 180. No correction needed.
  • p88 — the coins example's answer is not printed in the book; 3 bags × 5 coins = 15 coins is supplied in the Lesson.
  • Minor slips corrected silently in the Lesson text and recorded here: p87 SLO wording ("breakdown" as a verb; a question mark at the end of SLO 6); p91 "why it is problem" (missing "a"); p94 "Did Manahil's friend loves the gift" (grammar); p98 "may be" for "maybe" in the LEGO facts; p103 "based on a, conditional statement" (stray comma); p104 diamond text spacing "Is B >A"; p105 Activity item 6 "take a number for user" (means "from the user"); p106 summary grammar slips ("needed" for "need", "we look what we start with", "known as algorithm"). None of these changes any meaning, answer or step order.

Safeguarding — the bullying example

The bullying example (pp94–96) must always be taught as a help-seeking example: the solution the book selects is telling a teacher. Never suggest that a child should face a bully alone, and always tell pupils to involve a teacher, counselor, parent or another trusted adult immediately if they or a classmate are being bullied. If a pupil discloses real bullying during this lesson, follow the school's safeguarding procedure.

A note on evidence

All algorithms, pseudocode and flowcharts in this unit were traced and checked on paper against the printed book. No claim is made that students were tested on real software; this unit needs no computer or software at all.

Help us improve this page. Spotted a mistake, or something that is not clear? Email us at [email protected] — every report helps the next student.