Computer Science - 9210 OxfordAQA

Representing Algorithms

Overview

Somebody who has never seen your kitchen can still cook your grandmother's stew, because the recipe does not depend on who is holding the spoon. It lists what goes in, what to do in what order, and what you should have at the end. Change the cook and the stew is the same. That transferability is the whole point, and it is also the whole point of an algorithm: a set of steps precise enough that following them blindly still produces the right result.

This lesson gives you the three words the specification opens with, and they are the three that everything else in the course leans on. An algorithm is the method. Decomposition is breaking a problem that is too big to think about into pieces that are not. Abstraction is deliberately throwing away the detail that does not matter so that the part that does becomes visible. Then you will learn to write a method down twice over, once as pseudocode and once as a flowchart, using the exact conventions the examiners use, and to read somebody else's algorithm closely enough to say what it is for.

Objectives

  1. Understand and explain the term algorithm.
  2. Understand and explain the term decomposition.
  3. Understand and explain the term abstraction.
  4. Use a systematic approach to problem solving and algorithm creation representing those algorithms using pseudocode and flowcharts.
  5. Explain simple algorithms in terms of their inputs, processing and outputs.
  6. Determine the purpose of simple algorithms.

Mind map

This topic is mapped out so you can see how the ideas connect.

Open the mind map in the app

Lesson Note

Write down how to make a cup of tea. Most people produce something like: boil the kettle, put a teabag in a cup, pour on the water, wait, take the bag out, add milk. Now hand that to somebody who has genuinely never made tea. They will stand there holding the kettle wondering how much water, and for how long they are supposed to wait, and whether the milk goes in the cup or somewhere else. The instructions were clear to you because you already knew the answer.

Complete Note Available on the Green Bridge App

Get the Green Bridge CBT app on your phone or computer for the complete IGCSE library: past papers, mark schemes, mind maps, flashcards and audio lessons.

Full lesson notes with diagrams
AI-powered learning assistant
Timed mock exams marked the moment you finish
Available on Android, Windows, macOS, and Linux iOS app coming soon

Lesson Evaluation

Congratulations on completing the lesson on Representing Algorithms. Now that youve explored the key concepts and ideas, its time to put your knowledge to the test. This section offers a variety of practice questions designed to reinforce your understanding and help you gauge your grasp of the material.

You will encounter a mix of question types, including multiple-choice questions, short answer questions, and essay questions. Each question is thoughtfully crafted to assess different aspects of your knowledge and critical thinking skills.

Use this evaluation section as an opportunity to reinforce your understanding of the topic and to identify any areas where you may need additional study. Don't be discouraged by any challenges you encounter; instead, view them as opportunities for growth and improvement.

  1. Which statement about algorithms and programs is correct? A. Every algorithm is a computer program B. An algorithm is a method, and a program is one implementation of it C. A program can implement only one algorithm D. Algorithms can only be written in pseudocode Answer: B
  2. A designer replaces a detailed street map with a simplified diagram that shows only which roads connect to which junctions. Which term describes what has been done? A. Abstraction B. Decomposition C. Iteration D. Validation Answer: A
  3. In the OxfordAQA pseudocode used in assessment material, which symbol means assignment? A. == B. = C. A left arrow D. := Answer: C
  4. Which flowchart shape is used for a decision? A. A diamond B. A parallelogram C. A rectangle D. A rounded box Answer: A
  5. An algorithm reads a list of numbers from a text file, finds their total, and writes the total to the screen. How many inputs and how many outputs does it have? A. 0 inputs and 1 output B. 1 input and 1 output C. 1 input and 0 outputs D. 2 inputs and 1 output Answer: B

Work through these questions in the app

Work through these questions in the app

Practice Mock Questions

Want to practice mock questions on Representing Algorithms? Download the Green Bridge CBT app to access mock questions and full practice assessments for this topic.

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning