Protected Preview

Computing · B8

No term · Week 11 · 1.50 credits · GHS 0.75

This preview is shortened and watermarked. Unlock it to get the clean note and export options.

 Lesson Note - Computing
A
Accra basic sch
Weekly Lesson Plan
JHS 2 (B8) · Term 1
Computing
Lesson 1 of 3
Week Ending
Saturday, 14 Mar 2026 Backdated
Week & Term
Week 11 · Term 1
Class Teacher
Abibatu Annan
4. Computational Thinking
1. Introduction to Programming

Content Standard & Indicator

B8.4.1.1.1
Show an understanding of the concept of programming
Describe the basic concepts in programming (Constants Variables Expressions Statements logical and arithmetic operators Operator precedence)
Learners can describe and identify constants, variables, expressions, statements, logical operators, arithmetic operators, and operator precedence in programming contexts
Critical Thinking and Problem Solving (CP)
constants variables expressions statements arithmetic operators logical operators operator precedence BODMAS
Phones
Computing Curriculum Teachers Resource Pack Learners Resource Pack
Lesson Activities by Day
Date Phase 1: Starter (7 mins)
Preparing the brain
Phase 2: Main (31 mins)
New learning + assessment
Resources Phase 3: Plenary (7 mins)
Reflection + exercise
Mon
09
Mar 2026
  • 1Ask learners: 'When Kofi sends GH₵50 via MTN Mobile Money to Ama in Tamale, what stays the same (the amount) and what changes (the sender, receiver, date)?' Collect responses on the board.
  • 2Show this simple calculation on the phone screen: 5 + 3 = 8. Ask: 'Which part is the instruction (what to do)? Which parts are the numbers (data)?'
  • UNDERSTANDING CONSTANTS AND VARIABLES
  • 1Write on board: 'GH₵5 is the price of one ball of kenkey' and 'The number of balls Ama buys changes each day.' Explain: constants are fixed values (5), variables hold changing values (number of balls). Have learners identify which is which in 2-3 more local examples (e.g. 'Jollof rice costs GH₵8 per plate' vs 'The number of customers at the chop bar varies').
  • 2Pair activity: Give pairs like Kwame and Abena a scenario card: 'A trotro from Kumasi to Accra charges GH₵35. Different numbers of passengers board.' Ask them to circle the constant (35) and underline the variable (number of passengers). Circulate and confirm understanding.
  • 3Whole class: Show phone notes app with: 'age = 15' and 'pi = 3.14'. Explain: age is a variable (it changes), pi is a constant (it never changes in this program). Ask Fuseini and Zainab to give one local programming example each of a variable and constant.
  • 4Use relatable Ghanaian market and transport scenarios to anchor abstract programming concepts.
  • INTRODUCING ARITHMETIC OPERATORS AND EXPRESSIONS
  • 5Write on board: '5 + 3', '12 - 2', '4 × 6', '20 ÷ 4'. Say: 'In programming, these symbols (+, -, ×, ÷) are arithmetic operators.' Ask Osei to state what each symbol does. Then write: 'cost = 5 + 3' and say: 'This whole line is a statement (a complete instruction).' The '5 + 3' part is an expression (it calculates a value).
  • 6Scenario: 'Yaw buys 3 balls of kenkey at GH₵5 each. Write the expression: 3 * 5. Solve it (15). Now show: total_cost = 3 * 5. This is a statement that stores the result in a variable.' Have learners write 3 more expressions for local shopping (e.g. 'Abena buys 8 pieces of kelewele at GH₵2 each').
  • 7Small group activity (Kwesi, Akosua, Haruna): Give each group a phone. Ask them to open the calculator and test: What does 10 + 2 × 3 equal? Do we get 36 or 16? Guide them to discover that × happens before + (operator precedence). Introduce BODMAS: Brackets, Orders, Division/Multiplication (left to right), Addition/Subtraction (left to right).
  • 8Demonstrate operator precedence using concrete market math that learners already know from Daily routines.
  • INTRODUCTION TO LOGICAL OPERATORS AND SIMPLE STATEMENTS
  • 9Write on board: 'If a student's mark is ≥ 50, they pass. Otherwise, they fail.' Explain: this uses a logical operator (≥, 'greater than or equal'). List basic logical operators: == (equals),!= (not equal), > (greater than), < (less than), >= (greater than or equal), <= (less than or equal). AND, OR, NOT combine conditions.
  • 10Real-world conditional: 'If age >= 18, you can vote. If age < 18, you cannot.' Ask Mariama: 'Is 16 >= 18?' (No). Ask Mensah: 'Is 20 >= 18?' (Yes). Write: 'if (age >= 18) { you can vote }' and explain this is a statement using a logical operator.
  • 11Pair check: Give pairs (Kwaku and Fati) three statements: '1) If time = 12 o'clock, Ama goes to lunch. 2) If mobile_balance < GH₵1, you cannot make calls. 3) If day = Friday, school ends at 3 PM.' Ask them to identify the logical operators (=, <, =) and the conditions. Correct and reinforce.
  • 12Use voting age, mobile money balance, and school schedule as relatable logical scenarios.
  • 1Mobile phones with calculator app
  • 2Whiteboard and markers
  • 3Scenario cards (trotro, kenkey, kelewele, chop bar examples)
  • 4Simple flowchart showing if-then logic
  • 1Pair-share: Nana turns to Kobby and explains in one sentence: 'What is the difference between a constant and a variable?' Listen to 2-3 pairs and confirm understanding.
  • 2Ask the class: 'In the expression 5 + 3 × 2, which operation happens first?' (Multiplication). Why? (BODMAS – operator precedence).
Exercise
  • 1Identify the constant, variable, expression, and statement in this scenario: 'A mobile money agent charges GH₵1 per transaction. Ama sends x amount of money. The fee is calculated as: agent_fee = x × 0.01. What are the constant (0.01), variable (x), expression (x × 0.01), and statement (the whole agent_fee line)?'
Wed
11
Mar 2026
  • 1Quick review: Show three code snippets on phone. Ask Kwesi, Abena, and Sulemana each to identify one: Is it a constant, variable, expression, or statement? (e.g. 'price = 15', '15', 'price', 'if (age > 18)'). Correct as needed.
  • 2Speed challenge: Call out: '5 + 3 × 2 =?' Learners hold up fingers to show the answer (11, not 16). Ask Adwoa why we get 11. (BODMAS: multiply first.)
  • DEEPER PRACTICE: COMPLEX EXPRESSIONS AND OPERATOR PRECEDENCE
  • 1Show: '(5 + 3) × 2' vs '5 + 3 × 2'. Ask learners to solve both using phones or paper. First = 16, second = 11. Explain: brackets override the normal order. This is operator precedence at work. Write BODMAS again: Brackets first, then Orders (powers), then ÷ and × (left to right), then + and −.
  • 2Error analysis: Kwame solved '10 − 2 + 3' and got 5. Adoma solved it and got 11. Ask: Who is correct? (Adoma = 11: left to right for same priority). Why is Kwame wrong? (He subtracted 2 from 3 first, breaking the rule). Have learners explain the mistake to a partner.
  • 3Real-world problem: 'A farmer at Techiman sells maize. He has 4 baskets × 12 ears + 8 loose ears. How many ears total?' Write: total_ears = 4 × 12 + 8. Ask learners to calculate (56). Explain each step using operator precedence. Give 2 more farm/market scenarios and have pairs solve them.
  • 4Use error analysis to deepen critical thinking about operator order and brackets.
  • LOGICAL OPERATORS IN CONDITIONAL STATEMENTS
  • 5Introduce AND, OR, NOT. Write: 'If age >= 18 AND have_ID = true, you can vote.' Show: This combines two conditions with AND (both must be true). Write: 'If day = Saturday OR day = Sunday, it is weekend.' Explain: OR means at least one condition is true. Have Osei and Haruna read aloud and identify what AND/OR mean.
  • 6Create a logic table on board. Conditions for borrowing a book from school library: '(due_date <= today) AND (fine = 0)' – meaning your previous book is due AND you have no fine. Ask: Can Ama borrow if her due date is tomorrow and fine = 0? (No, first condition false). Can Kofi borrow if due date = today and fine = 0? (Yes, both true). Learners create 2 more AND scenarios.
  • 7NOT operator: 'If NOT (age < 18), then you can work.' This means: if age >= 18. Write 3 statements using NOT and have learners rewrite them without NOT. Example: 'NOT (balance < GH₵5)' = 'balance >= GH₵5'.
  • 8Logical operators link multiple conditions; use Boolean logic naturally through if-then scenarios learners recognize.
  • MIXED PRACTICE: BUILDING COMPLETE PROGRAMMING STATEMENTS
  • 9Scenario: A chop bar owner tracks daily sales. Variables: daily_sales, target_sales (constant = GH₵500), staff_count (changes). Write on board: 'if (daily_sales >= 500) { bonus = daily_sales × 0.1 }' Ask: Identify the constant (500), variable (daily_sales, bonus), expression (daily_sales × 0.1), logical operator (>=), statement (the whole if line).
  • 10Pair task (Yaw and Amina): Given a scenario about MTN Mobile Money transfers. 'Transfer GH₵100 to Tamale. Fee is balance × 0.01. If balance >= GH₵100 AND balance < GH₵500, fee_rate = 0.01; if balance >= 500, fee_rate = 0.005.' Ask them to: 1) Circle all arithmetic operators. 2) Underline all logical operators. 3) Highlight all constants. 4) Box all variables.
  • 11Learner-created examples: Ask Abena and Mensah to create their own short program statement about something they know (e.g. school attendance: 'If days_present >= 90 AND no_discipline_cases = true, student can sit exams'). Share with class and check for correct use of operators.
  • 12Mixed practice consolidates all concepts; learner creation deepens ownership and critical thinking.
  • 1Mobile phones with calculator and notes app
  • 2Error analysis worksheets (pre-written wrong solutions)
  • 3Logic table template (printed or drawn on board)
  • 4Scenario cards for chop bar and MTN scenarios
  • 1Exit ticket (mental or whispered to teacher): 'Name one thing you learned today and one question you still have.' Listen to 4-5 learners and address outstanding questions briefly.
  • 2Confidence check: Ask learners to hold up 1-5 fingers: '1 = still confused, 5 = very confident.' Scan the room. Note who needs follow-up.
Exercise
  • 1A trader in Kejetia Market sells items. Write a complete program statement: 'Let quantity = 20 (variable), price_per_item = GH₵8 (constant), total = quantity × price_per_item (expression). If total >= GH₵150 AND customer_is_regular = true, apply_discount = 10%. Identify: 1) The constant(s). 2) The variable(s). 3) Which line is a statement. 4) The arithmetic operator(s). 5) The logical operator(s).'
Fri
13
Mar 2026
  • 1Team game: Divide class into two teams (North side vs. South side). Call out statements: 'Is GH₵5 a constant or variable?' (Constant). 'Is number_of_customers a constant or variable?' (Variable). 'In 5 + 3 × 2, which operation goes first?' (Multiplication). First correct team gets a point. Play 5 rounds.
  • 2Show a code snippet on phone: 'if (age >= 18 AND has_license = true) { can_drive = true }' Ask: 'What operators do you see?' Learners shout out (>=, AND). Count how many each learner identifies.
  • MIXED DIFFICULTY PRACTICE AND PEER TEACHING
  • 1Station 1 (Easier): Learners like Akua and Sulemana work on: 'Identify all constants in: price = GH₵10, quantity = 5, total = price × quantity.' (Constant: 10). Provide 3 similar tasks.
  • 2Station 2 (Medium): Learners like Kwesi and Zainab work on: 'Solve 8 + 2 × 3 − 1 using BODMAS. Show each step. Then rewrite with brackets to change the answer: (8 + 2) × 3 − 1.' Provide 4 expressions.
  • 3Station 3 (Advanced): Learners like Kobby and Fati work on: 'A chop bar tracks: daily_income (variable), rent = GH₵200 (constant), profit = daily_income − rent (expression). If profit >= GH₵300 AND no_complaints = true, owner_celebrates = yes (statement with two logical operators). Identify all parts and create a similar scenario.'
  • 4Rotate stations so all learners attempt all levels. Peer teaching: After Station 1, ask Akua to explain to Kwasi what a constant is. After Station 2, Kwesi explains operator precedence to Yaa. After Station 3, Kobby explains AND logic to Haruna. This deepens understanding through teaching.
  • 5Mixed difficulty with rotation allows differentiation. Peer teaching cements learning.
  • LEARNER-CREATED EXAMPLES AND PEER EXCHANGE
  • 6Individual task: Each learner (Yaw, Ama, Issah, etc.) creates one short real-life programming scenario using Ghanaian context. Example: 'A kayayei carries items to the market. Load_weight (variable), max_weight = 50kg (constant), commission_fee = 0.05 (constant). If load_weight > max_weight, alert = overload. What are the variables, constants, and operators?' Learners write on paper or phone notes.
  • 7Pair exchange: Kwame gives his scenario to Abena. Abena reads it and circles all constants, underlines variables, boxes operators, and checks the logic. Then they swap back and discuss: 'Are my answers correct? Did you understand my example?' Facilitates peer feedback.
  • 8Whole-class sharing (speed round): Call on Mensah, Akosua, Haruna, and Mansa to read their scenarios aloud. Class confirms if operators and variables are correctly identified. Celebrate correct and creative local examples.
  • 9Learner creation and peer exchange give ownership and critical feedback practice.
  • CONSOLIDATION THROUGH MULTI-PART CHALLENGE
  • 10Present a complete scenario: 'A farmer in Techiman plants maize. harvest_amount (variable, in kg), cost_per_seed = GH₵0.50 (constant), yield_per_seed = 2kg (constant), total_yield = harvest_amount × yield_per_seed (expression), profit = total_yield × market_price − total_cost (expression with arithmetic operators: ×, −). If total_yield > 100 AND market_price >= GH₵200, premium_bonus = yes (statement with AND).' Ask the class: 1) Name all variables. 2) Name all constants. 3) Rewrite the profit calculation in order: Brackets? Multiply? Add/subtract? 4) Rewrite the conditional using OR instead of AND.
  • 11Guided class discussion: Work through the example step by step. Learners call out answers. Correct misconceptions immediately. Write the revised profit formula with correct order: profit = (total_yield × market_price) − total_cost to show brackets clarifying intent.
  • 12Reflection: Ask Osei, Amina, Kwesi, and Akua: 'When might you use constants, variables, and operators in a real program you create?' Collect 1-2 responses showing deep understanding of programming's purpose.
  • 13Complex scenario ties all concepts together; reflection shows transfer to new contexts.
  • 1Mobile phones (notes app, calculator)
  • 2Printed station cards (3 difficulty levels with tasks)
  • 3Blank paper or phone notes for learner scenarios
  • 4Complete complex scenario printed or written on board
  • 1Celebration and confidence rating: 'You've learned constants, variables, expressions, statements, operators, and precedence. This is the foundation of programming!' Ask learners to hold up 1-5 fingers (1 = still confused, 5 = very confident in all concepts). Acknowledge all fingers; praise growth.
  • 2Key insight share: Ask Afua, Yakubu, and Esi to each share one key insight in one sentence (e.g. 'Constants don't change, variables do' or 'BODMAS tells us the order of operations' or 'AND means both conditions must be true'). Reinforce correct statements.
Exercise
  • 1Complete task covering the full week: 'Design a mobile money transaction tracker. Include: 1) Two variables (e.g. sender_balance, transaction_amount). 2) One constant (e.g. transaction_fee = GH₵1). 3) One arithmetic expression (e.g. new_balance = sender_balance − transaction_amount − transaction_fee). 4) One statement with a logical operator (e.g. if sender_balance >= transaction_amount AND sender_balance > GH₵5, transaction_allowed = yes). Identify each part clearly and explain why you chose those values.'
Class Teacher
Abibatu Annan
Head Teacher
Signature & Date
SISO / Circuit Supervisor
Signature & Date

Preview ends here

Unlock the full lesson note

Use 1.50 credits (GHS 0.75) to unlock a PDF or save an editable copy in My Notes.