Unit 7 Programming Concepts

Lesson 1 Algorithms, flow diagrams and pseudocode

Learning Objectives:

  • Understand algorithms written using flow diagrams or pseudocode
  • Correct or complete algorithms
  • Produce algorithms using flow diagrams or pseudocode to solve problems


Programming Homework 1 Algorithms flow diagrams and pseudocode

Textbook Ref:

  • algorithms 138–142
  • flowcharts 55–56, 59–60


Lesson 2 Program control flow

Learning Objectives:
  • Understand and use sequence, selection and iteration in an algorithm
  • Use NOT, AND and OR when creating Boolean expressions
  • Write algorithms in pseudocode involving sequence, selection and iteration
  • Trace through given algorithms to explain what they do, correct or complete them


Textbook Ref:

  • programs, flow control 52–64


Lesson 3 Data types and structures

Learning Objectives:
  • Define the terms variable and constant
  • Use and identify variables and constants in program code
  • Identify and use the data types integer, real, Boolean, character and string
  • Use one- and two-dimensional arrays
  • Use text files to read and write data

Unit 7: Programming Techniques - Data Types

Unit 7: Programming Techniques - Data Types (Answers)

Textbook Ref:
  • constants 27, 31
  • data structures 39–40
  • data types 21, 22


Lesson 4 Procedures and functions

Learning Objectives:
  • Learn when to use a procedure or function
  • Use structure diagrams to represent program flow
  • Learn about and use common built-in functions
  • Learn how to write simple procedures and functions
  • Understand and use parameters to pass data to procedures and functions



Textbook Ref:
  • procedures and functions, using 68–71




Lesson 5 Scope of identifiers

Learning Objectives:

  • Know what is meant by the scope of a variable, constant, function or procedure
  • Be able to identify what value a particular variable will hold at a given point in the code
  • Revise the use of external text files to read and write data





Textbook Ref:
  • procedure scope 73–74


Lesson 6 Error handling

Learning Objectives:

  • Explain what is meant by an Integrated Development Environment (IDE)
  • Describe and give examples of syntax, logic and runtime errors
  • Describe common tools and facilities available in an IDE to help debug programs: watch, breakpoint, step
  • Correct logic errors in a program


Textbook Ref:
  • error handling 80


L6 Error handling

Programming Worksheet 6 Errors and debugging tools

Programming Homework 6 Errors and debugging tools



Lesson 7 Assessment

Learning Objectives:
  • Apply skills and knowledge to a range of exam style questions
  • Become aware of areas that need more revision or practice



Assessment test