Eduqas A-Level Computer Science A500QS
Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs
Variables, Scope, Parameters and Identifiers
Recursion and Modular Programming
Sorting Algorithms
Searching and Shortest-Path Algorithms
Big O Notation and Algorithm Efficiency
Validation, Verification and Testing
Data Compression
Programming Paradigms and Computer Languages
Systems Analysis, Maintenance and Documentation
System Design and Human-Computer Interaction
Software Engineering Tools and Translators
Computing, Society and the Law
Computer Architecture, the Processor and Assembly Language
Input, Output and Secondary Storage
Networks, Protocols and the Internet
Data Transmission and Network Performance
Number Systems and Binary Arithmetic
Data Types, Characters and Floating Point
Files, Records and File Organisation
Databases, Normalisation and Entity Modelling
SQL, Big Data and Distributed Systems
The Operating System and Its Modes
Interrupts, Memory Management and Scheduling
Types of Software System
Data Security, Cryptography and Attack
Recursion and Modular Programming
User defined subprograms and modular design
- 3 things to know
- Component 1
Overview
User defined subprogram, modular programming and interface of a module.
What you need to know
Answer each one before you reveal it.
What is modular programming?
Give three benefits of modular programming.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is a user defined subprogram?
Model answer
A user defined subprogram is a named block of code written by the programmer. The subprogram is called by name whenever its task is needed.
- 2
What is modular programming?
Model answer
Modular programming breaks a large problem into smaller self-contained modules. Each module performs one clearly defined task.
- 3
Give three benefits of modular programming.
Model answer
A module can be written and tested on its own, and several programmers can work at the same time. A tested module can also be reused in later programs.
- 4
How does modular design help a team of programmers work in parallel?
Model answer
Each module has a defined interface, so one programmer can write a module without waiting for the others. The modules are combined once each is tested.
- 5
What is meant by the interface of a module?
Model answer
The interface is the set of parameters a module expects and the results it returns. Other modules use only the interface and never the internal code.
- 6
Explain the term cohesion as applied to a module.
Model answer
Cohesion measures how closely the statements in a module relate to one single task. High cohesion is a sign of good modular design.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Recursion and Modular Programming, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.