AI Logic School

Empowering Students with AI & Computational Thinking

Class 7 CT & AI — Algorithmic Thinking: Flowcharts, Grid Navigation & Logical Operations | Worksheet 2026-27

AI Logic School · Class 7 CT & AI · Algorithmic Thinking · CBSE 2025-26
Flowcharts, grid navigation, and multi-step logical operations explained simply for Class 7 students. Includes full worksheet with 40 questions, MCQs and case studies.
Class 7 Algorithmic Thinking Flowchart Grid Navigation Logical Operations CT & AI CBSE Worksheet 2025-26
📘 AI Logic School · Class 7 · CT & AI · 2025-26

Algorithmic Thinking 🧠
Flowcharts, Grid Navigation
& Logical Operations

Learn how to think like a computer — step by step, with flowcharts, maps, and fun logic puzzles!

40Questions
10MCQs
20VSA
3Case Studies
FreePDF
📖 What is an Algorithm?

An algorithm is a step-by-step set of instructions to solve a problem or complete a task. Just like a recipe tells you how to make a dish, an algorithm tells a computer exactly what to do — in order, one step at a time.

🍳

Real Life Example

Making Maggi noodles is an algorithm! Boil water → Add noodles → Wait 2 minutes → Add masala → Stir → Serve. Every step is in order!

🖥️

Computer Algorithm

When you search on Google, an algorithm finds the best answer. When you play a game, an algorithm makes the enemy move. Algorithms are everywhere!

3 Properties of Algorithm

1. Clear: Every step must be simple and easy to understand.
2. Finite: It must have a definite end.
3. Correct: It must solve the problem!

💡 Remember: An algorithm is written in simple English (or Hindi!), not in code. When you write it in a programming language, it becomes a program.
📊 Flowcharts — Drawing Your Algorithm

A flowchart is a diagram that shows the steps of an algorithm using special shapes and arrows. Instead of writing steps in words, we draw them as a picture — making them easier to understand!

Shape Name Used For Example
Oval Terminal Start or End of flowchart START / STOP
Rectangle Process An action or instruction Add 5 to number
Diamond Decision YES or NO question Is number > 10?
Parallel Input / Output Taking input or showing output Enter your age / Print result
→ Arrow Flow Line Shows direction of steps Connects all shapes
🌟 Example Flowchart — Check if a Number is Even or Odd
START Enter a number (N)
Is N ÷ 2
remainder = 0?
YES ↓
Print "EVEN"
NO ↓
Print "ODD"
STOP

Fig 1: Flowchart to check Even or Odd number

Quick Tip: Always start with the Oval (START) shape and end with the Oval (STOP) shape. The Diamond shape always has TWO exits — YES and NO!
🗺️ Grid Navigation — Moving on a Map

In grid navigation, we use a grid (like a chessboard) to move from one place to another following specific instructions. This teaches us to write precise step-by-step directions — a core part of algorithmic thinking!

↑↓←→

Direction Commands

UP / DOWN / LEFT / RIGHT — These are the basic commands. Each command moves the character exactly ONE step in that direction.

🔄

Loop in Navigation

If you need to go RIGHT 4 times, instead of writing RIGHT, RIGHT, RIGHT, RIGHT — you can write REPEAT 4 times: RIGHT. That's a loop!

🚧

Obstacles

Sometimes there are walls or blocks on the grid. You must write alternative paths to avoid them — just like a GPS reroutes when there's traffic!

🧩 Grid Example — Help Robo reach the Star!
🤖
START
🧱
🧱

END

Algorithm: RIGHT, RIGHT → DOWN → DOWN → RIGHT, RIGHT → DOWN → RIGHT, RIGHT → Reach ⭐

🧱 = Wall (cannot pass) | 🟣 = Path taken | Robo must avoid all walls!

🔢 Multi-Step Logical Operations

Multi-step logical operations means solving a problem by breaking it into smaller steps and using conditions (IF-THEN-ELSE) and loops (REPEAT). This is how all computer programs work!

IF-THEN-ELSE

IF it is raining THEN take an umbrella ELSE wear sunglasses. The computer makes decisions the same way!

🔄

LOOP (REPEAT)

If you want to print "Hello" 5 times, use a loop: REPEAT 5 times → Print "Hello". Much faster than writing it 5 times!

📋

Sequence

Steps that happen one after another in order. Like getting ready for school: Wake up → Brush teeth → Get dressed → Eat breakfast → Go!

🌟 The 3 Building Blocks of Any Algorithm:
1. Sequence — Do steps in order
2. Selection — Make a decision (IF-ELSE)
3. Repetition — Repeat steps (LOOP)
📝 Example — Algorithm for School Morning Routine
1 START
2 Wake up at 6:30 AM
3 Brush teeth and freshen up
4 IF it is raining THEN pack umbrella ELSE pack sunscreen DECISION
5 REPEAT for each subject: Check if book is packed → IF not packed THEN pack it LOOP
6 Eat breakfast
7 Leave for school
8 STOP

📥 Download Free PDF Worksheet

Get the complete Class 7 Algorithmic Thinking worksheet as a printable PDF — free for all students and teachers!

📲 Get PDF on Telegram 💬 Join AI Logic School

📋 Class 7 Worksheet — Algorithmic Thinking

Flowcharts · Grid Navigation · Multi-Step Logical Operations | CBSE CT & AI 2025-26

📚 Class: VII ⏱️ Time: 45 Minutes 📝 Total Marks: 40 🏫 AI Logic School
📝 SECTION A — Very Short Answer Questions (20 × 1 = 20 Marks)

Answer in ONE word or ONE sentence only.

Q1 What is an algorithm?
Q2 Name the shape used for START and STOP in a flowchart.
Q3 What shape is used for a DECISION (YES/NO question) in a flowchart?
Q4 How many exits does a Decision (Diamond) shape have?
Q5 Name the shape used for INPUT and OUTPUT in a flowchart.
Q6 What does a LOOP do in an algorithm?
Q7 Write the three building blocks of any algorithm.
Q8 In grid navigation, which 4 commands are used to move?
Q9 What is a flowchart?
Q10 Robo is at position (1,1). After 2 steps RIGHT and 1 step DOWN, what is its new position?
Q11 Name the flowchart shape used for processing/actions.
Q12 What does IF-THEN-ELSE represent in an algorithm?
Q13 Write a real-life example of an algorithm (other than Maggi).
Q14 What connects all shapes in a flowchart?
Q15 An algorithm must have a definite ________ (beginning/end/both).
Q16 What is the difference between an algorithm and a program?
Q17 In a grid, Robo moves RIGHT 3 times. Write this as a LOOP instruction.
Q18 Give one example where you use SEQUENCE in daily life.
Q19 What colour/shape represents STOP in most flowchart tools?
Q20 Can an algorithm have BOTH a loop AND a decision? (Yes/No)
✅ SECTION B — Multiple Choice Questions (10 × 1 = 10 Marks)

Circle or tick the correct option.

Q21 Which shape is used for START and STOP in a flowchart?
A
Rectangle
B
Diamond
C
Oval / Ellipse ✓
D
Arrow
Q22 In grid navigation, which command moves you one step upward?
A
DOWN
B
RIGHT
C
LEFT
D
UP ✓
Q23 "REPEAT 5 times: Print Hello" is an example of which building block?
A
Sequence
B
Selection
C
Repetition / Loop ✓
D
Decision
Q24 Which of these is NOT a property of a good algorithm?
A
Clear steps
B
Definite end
C
Written in Python ✓
D
Correct output
Q25 A diamond shape in a flowchart represents:
A
Input / Output
B
Start / Stop
C
Process / Action
D
Decision (YES/NO) ✓
Q26 Robo starts at (1,1). It goes RIGHT 2, then DOWN 2. Where does it end?
A
(1,3)
B
(3,3) ✓
C
(2,2)
D
(3,1)
Q27 "IF marks ≥ 33 THEN Pass ELSE Fail" — which building block is this?
A
Repetition
B
Sequence
C
Selection ✓
D
Loop
Q28 Which of the following best describes a flowchart?
A
A type of computer program
B
A diagram showing algorithm steps using shapes ✓
C
A mathematical formula
D
A grid map
Q29 In a flowchart, what connects all shapes to show direction?
A
Rectangles
B
Diamonds
C
Arrows / Flow Lines ✓
D
Ovals
Q30 How many steps in the algorithm: "Brush teeth → Wash face → Comb hair"?
A
1
B
2
C
3 ✓
D
4
🔍 SECTION C — Case-Based Questions (3 Cases × ~3-4 Marks = 10 Marks)
🤖 Case 1: Robo the Delivery Bot

Robo is a delivery robot in a 5×5 warehouse grid. It starts at position Row 1, Column 1 (top-left corner). The exit is at Row 5, Column 5 (bottom-right corner). There are walls at Row 1 Column 4, Row 2 Column 4, and Row 3 Column 2. Robo can only move RIGHT or DOWN. If it hits a wall, it must find a different path.
Q31 Write a step-by-step algorithm for Robo to reach the exit avoiding all walls.
Q32 How many total steps does Robo take in your algorithm?
Q33 If Robo is told "REPEAT 4 times: Move RIGHT" from position (1,1) — where will it end up? Can it do this without hitting a wall?
📚 Case 2: The Smart Library System

A school library uses an algorithm to help students find books. When a student enters the library: First, the system asks "Do you know the book name?" — If YES, it searches by name and shows the location. If NO, it asks "Which subject?" — then shows all books of that subject. Finally, it checks "Is the book available?" — If YES, the book is issued. If NO, it shows the return date.
Q34 How many DECISION steps are in this library algorithm?
Q35 Draw a simple flowchart for the library system described above. Label all shapes correctly.
Draw your flowchart here ✏️
Q36 Name one building block (Sequence/Selection/Repetition) used in the library algorithm and explain why.
🌡️ Case 3: The Temperature Alert Algorithm

A smart weather app uses an algorithm to give advice based on temperature. It reads the current temperature. If temperature > 40°C → it shows "Drink water and stay indoors 🌡️". If temperature is between 25°C and 40°C → it shows "Good weather, enjoy outdoors! ☀️". If temperature < 25°C → it shows "Wear warm clothes 🧥". The app checks the temperature every hour and repeats this process all day.
Q37 Which building block is used when "the app checks temperature every hour all day"?
Q38 Write the IF-THEN-ELSE structure for this temperature algorithm.
Q39 The temperature is 38°C. What message will the app show? Which condition matched?
Q40 Name one real-life app or device that might use a similar temperature algorithm.
🔑 Answer Key — Click to Reveal (For Teachers)

📌 Section A — Very Short Answers

Q1A step-by-step set of instructions to solve a problem.
Q2Oval / Ellipse (Terminal shape)
Q3Diamond shape
Q4Two exits — YES and NO
Q5Parallelogram (slanted rectangle)
Q6A loop repeats a set of steps multiple times.
Q7Sequence, Selection (Decision), Repetition (Loop)
Q8UP, DOWN, LEFT, RIGHT
Q9A diagram that shows algorithm steps using shapes and arrows.
Q10(3,2) — Column becomes 1+2=3, Row becomes 1+1=2
Q11Rectangle
Q12Selection — making a decision / conditional step
Q13Accept any valid answer: Tying shoelaces, Making tea, Brushing teeth, etc.
Q14Flow lines / Arrows
Q15Both (a definite beginning AND a definite end)
Q16Algorithm is written in simple English; a program is written in a coding language like Python.
Q17REPEAT 3 times: Move RIGHT
Q18Accept any: Getting dressed, Cooking, Washing hands, etc.
Q19Oval / Ellipse (same as START shape)
Q20Yes — algorithms often use both loops and decisions.

✅ Section B — MCQ Answers

Q21 C — Oval
Q22 D — UP
Q23 C — Repetition
Q24 C — Python
Q25 D — Decision
Q26 B — (3,3)
Q27 C — Selection
Q28 B — Diagram
Q29 C — Arrows
Q30 C — 3 steps

🔍 Section C — Case-Based Answers

Q31RIGHT, RIGHT, RIGHT → DOWN → DOWN → RIGHT → DOWN, DOWN → RIGHT (avoiding walls at R1C4, R2C4, R3C2)
Q32Accept any valid path count — minimum 8 steps
Q33(1,5) — Robo reaches column 5. It cannot do this without hitting the wall at Column 4, Row 1.
Q343 decision steps: "Know book name?", "Which subject?", "Book available?"
Q35Flowchart: START(Oval) → Ask book name?(Diamond) → YES: Search by name(Rect) / NO: Ask subject(Rect) → Check available?(Diamond) → YES: Issue book / NO: Show return date → STOP(Oval)
Q36Selection — because IF-THEN-ELSE decisions are used to choose different paths based on student input.
Q37Repetition (Loop) — "checks every hour all day" = repeat the process
Q38IF temp > 40 THEN "Drink water, stay indoors" ELSE IF temp ≥ 25 THEN "Good weather" ELSE "Wear warm clothes"
Q3938°C is between 25°C and 40°C → Message: "Good weather, enjoy outdoors! ☀️"
Q40Accept any: Air conditioner (AC), Smart thermostat, Weather app, Geyser/water heater
🔗 More Free Resources — AI Logic School

📥 Download This Worksheet as PDF — Free!

Join our Telegram channel to get the printable PDF version of this worksheet plus all CBSE CT & AI resources for Classes 6 to 12.

📲 Download PDF — Free Join AI Logic School Telegram
AI Logic School · Class 7 CT & AI · Algorithmic Thinking · Flowcharts · Grid Navigation · CBSE 2025-26

Comments

Chat on WhatsApp