Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Online Courses / University Track / Computing Foundations

Module 6 of 8

Abstraction, Functions and Structure

Learn how to split a problem into named parts, write and trace functions, store data in lists and dictionaries, and test each part alone.

  • 6 hours
  • Outcomes O6
  • Checkpoint: 80% to unlock Module 7

Big idea. Hiding detail behind a clear name and a clear interface is what lets people build large programs from small parts they can trust.

Outcomes served. O6 (design a solution from functions and suitable data structures).

Plan your six hours

Assumed. Modules 1 to 5: stating methods, conditions, searching and sorting and counting cost. You will reuse conditions and step tracing.

Where this topic appears in practice. Every app, spreadsheet formula or form is built from named parts that call each other. Being able to read the parts, their inputs and their outputs lets you judge a design and spot where an error must be. See the encyclopedia entry on the programming language.

Privacy. Your answers stay with you. This course does not store, collect or send anything you write or tick.