Subroutine

Summary: A named block of code that performs a specific task and can be called from other parts of a program. Two types: procedures (perform actions) and functions (perform actions and return a value). Tags: concepts computer-science igcse-computer-science programming Created: 2026-05-08T14:03:00Z Last Updated: 2026-05-08T14:03:00Z


Content

A named block of code that performs a specific task and can be called from other parts of a program. Two types: procedures (perform actions) and functions (perform actions and return a value).