Skip to main content

Topic 3: Algorithms and Programming Techniques

  • Recognise and describe programming syntax and rules.
  • Understand that simple algorithms consist of input, process and output at various stages.
  • Understand that each programming language has a unique set of features and constructs that make it suitable for different types of tasks.
  • Understand and use the basic algorithm constructs including
    - assignment: used to store the value of an expression into a variable
    - sequence: a number of instructions processed one after the other
    - selection: the next instruction to be executed depends on a ‘condition’
    - condition: a logical expression that evaluates to true or false
    - iteration: a number of instructions are repeated
    - modularisation: used for reducing the complexity of a system by deconstructing into more or less independent units or modules.
  • Recognise, describe and use the five basic features of programming:
    - variables
    - control structures
    - data structures
    - syntax
    - libraries and classes.
  • Recognise, describe and use good programming practices, including
    - dependability
    - efficiency
    - testing and debugging
    - error correction
    - coding conventions including:
      • commenting
      • consistent naming conventions
      • code simplicity
      • portability.
  • Identify and describe
    - the purpose of code syntax and rules
    - the scope and use of local and global variables
    - code object/event triggers and their effect on user interfaces.
  • Explore
    - programming development tools to understand how to use them effectively
    - the use of a text-based language for
      • writing and modifying code and using existing code blocks or statements
      • interpreting programming language rules and syntax
      • analysing and critiquing the end result of code statements using input or output evidence, i.e. runtime evidence
    - functions and procedures with efficient and maintainable code that
      • includes reuseable coded components
      • responds to keyboard and mouse events
      • uses variables, selection structures, counted loops, while loops and single, multi-branch and nested conditional logic/statements
      • uses operators, including arithmetic (+, –, *, /, integer, modulus, exponent), comparison (<, >, <=, >=, equal, not equal) and logical (AND, OR, NOT)
    - the purpose of code statements by writing code and using existing code blocks or statements
    - object/event triggers and explain their effect/s on user interfaces.

Videos:

Resources:

  • Develop algorithms using pseudocode by
    - identifying and describing the steps and their behaviour in the algorithm
    - identifying and explaining the algorithmic steps required for a programmed solution.
  • Symbolise interrelationships with sketches and diagrams.
  • Communicate and clarify knowledge and understanding about the purpose of code statements using code comments.

Videos:

Resources: