Computer Science (9-1) - 0984 CIE

Algorithm Design And Problem-solving

Overzicht

Before a single line of code is written, a good programmer has a plan: they break the problem into parts, design each part as an algorithm, decide how to test it, and check it works by tracing it by hand. This topic is the toolkit every programmer uses to turn a vague problem into a working, reliable solution.

You will learn the program development life cycle, how to decompose a problem into sub-systems, the standard methods such as totalling, counting and finding the maximum and minimum, validation and verification checks, how to choose good test data, how to complete a trace table for a dry run, and how to find and fix errors in algorithms. Pseudocode here follows the Cambridge 0478 conventions. By the end you should be able to write, trace and correct algorithms with confidence.

Doelstellingen

  1. 1 Understand the program development life cycle, limited to: analysis, design, coding and testing
  2. 2 (a) Understand that every computer system is made up of sub-systems, which are made up of further sub-systems (b) Understand how a problem can be decomposed into its component parts (c) Use different methods to design and construct a solution to a problem
  3. 3 Explain the purpose of a given algorithm
  4. 4 Understand standard methods of solution
  5. 5 (a) Understand the need for validation checks to be made on input data and the different types of validation check (b) Understand the need for verification checks to be made on input data and the different types of verification check
  6. 6 Suggest and apply suitable test data
  7. 7 Complete a trace table to document a dry-run of an algorithm
  8. 8 Identify errors in given algorithms and suggest ways of correcting these errors
  9. 9 Write and amend algorithms for given problems or scenarios, using: pseudocode, program code and flowcharts

Lesnotitie

Most programming marks in the exam come from designing, tracing and correcting algorithms, not from memorising facts. Decomposition keeps big problems manageable, validation and verification stop bad data wrecking a program, good test data proves it works, and a trace table lets you follow an algorithm step by step to find exactly where it goes wrong. These are skills you practise, then apply under exam conditions.

Beschikbaar in de Green Bridge-app

Download de Green Bridge CBT-app op je telefoon of computer voor toegang tot volledige lesnotities, oefenvragen en meer.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Offline studeren, altijd en overal
Beschikbaar voor Android, Windows, macOS en Linux

Lesevaluatie

Gefeliciteerd met het voltooien van de les op Algorithm Design And Problem-solving. Nu je de sleutelconcepten en ideeën, het is tijd om uw kennis op de proef te stellen. Deze sectie biedt een verscheidenheid aan oefeningen vragen die bedoeld zijn om uw begrip te vergroten en u te helpen uw begrip van de stof te peilen.

Je zult een mix van vraagtypen tegenkomen, waaronder meerkeuzevragen, korte antwoordvragen en essayvragen. Elke vraag is zorgvuldig samengesteld om verschillende aspecten van je kennis en kritisch denkvermogen te beoordelen.

Gebruik dit evaluatiegedeelte als een kans om je begrip van het onderwerp te versterken en om gebieden te identificeren waar je mogelijk extra studie nodig hebt. Laat je niet ontmoedigen door eventuele uitdagingen die je tegenkomt; beschouw ze in plaats daarvan als kansen voor groei en verbetering.

  1. Which is NOT one of the four stages of the program development life cycle? A. analysis B. design C. marketing D. testing Answer: C
  2. Splitting a system into smaller sub-systems is called: A. validation B. decomposition C. iteration D. verification Answer: B
  3. A check that an age entered is between 0 and 100 is which type of validation? A. presence check B. length check C. range check D. format check Answer: C
  4. For a value that must be between 10 and 100, which pair is boundary test data? A. 50 and 60 B. 9 and 10 C. "ten" and 5 D. 200 and 300 Answer: B
  5. Which tool is used to dry-run an algorithm by hand, recording each variable as it changes? A. structure diagram B. flowchart C. trace table D. firewall Answer: C

Beschikbaar in de Green Bridge-app

Download de Green Bridge CBT-app op je telefoon of computer voor toegang tot volledige lesnotities, oefenvragen en meer.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Offline studeren, altijd en overal
Beschikbaar voor Android, Windows, macOS en Linux

Beschikbaar in de Green Bridge-app

Download de Green Bridge CBT-app op je telefoon of computer voor toegang tot volledige lesnotities, oefenvragen en meer.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Offline studeren, altijd en overal
Beschikbaar voor Android, Windows, macOS en Linux

Oefen Proefexamenvragen

Wilt u proefexamenvragen over Algorithm Design And Problem-solving oefenen? Download de Green Bridge CBT-app voor toegang tot proefexamenvragen en volledige oefentoetsen over dit onderwerp.

Download de app in de Google Playstore

Alles wat je nodig hebt om uit te blinken in JAMB, WAEC en NECO.

Green Bridge CBT Mobile App
Persoonlijke AI Leerchat Assistent
Duizenden JAMB-, WAEC- en NECO-examenvragen uit het verleden.
Meer dan 1200 lesnotities
Offline ondersteuning - Leer altijd en overal
Dienstregeling Groene Brug
Literatuursamenvattingen & Potentiële Vragen
Volg je prestaties en vooruitgang.
Diepgaande Uitleg voor Uitgebreid Leren