JHS2 Computing · Term 3, Week 9

Algorithm

Lesson notes

Learning Objectives

Indicator: B8.4.2.1.1 - Apply variables, expressions, assignment statements and operator precedence order (BODMAS rule) to process and store numbers and text in a programme

By the end of the lesson, learners can:

  1. Define a variable and distinguish between numeric and text (string) variables using appropriate naming conventions.
  2. Write assignment statements to store numbers and text in variables.
  3. Evaluate arithmetic expressions by correctly applying the BODMAS rule (Brackets, Orders, Division, Multiplication, Addition, Subtraction).
  4. Construct simple programmes that use variables and expressions to process input data and produce an output.
  5. Predict the output of an expression by following operator precedence, and verify the result by working step by step.

Sign in with your phone number to read the full note and download the GES plan - free.

Sign in with phone number

Curriculum details

Strand
Computational Thinking (Strand 4)
Sub-strand
Algorithm (4.2)
Content standard
B8.4.2.1 - Analyse the correct step-by-step procedure in solving any real-world problem
Indicator
B8.4.2.1.1 - Apply variables, expressions, assignment statements and operator precedence order (BODMAS rule) to process and store numbers and text in a programme
Suggested placement
Term 3, Week 9 (Week 33 of the year)

Our suggestion, laid out in curriculum order across three terms of twelve weeks. NaCCA does not fix the week, so follow your school's scheme of learning.

Curriculum reference
Computing, Common Core Programme (JHS1-JHS3), 2023, p. 37

Transcribed from the official NaCCA publication. Check this page against the source.

Exemplars (from the NaCCA curriculum)

1. Compute an expression following the operator precedence order (BODMAS) to exemplify how computers process input data to print out an answer.