Britannica AI Icon

procedural language

computer language

Quick Summary

Procedural languages are a type of computer programming language that instructs a computer on how to perform a task. They are characterized by step-by-step instructions, much like a recipe. These languages utilize basic control structures: sequence (executing instructions one after another), conditional (making decisions based on criteria, like IF-THEN statements), and iterative (repeating a set of instructions, known as loops).1

While declarative languages focus on what needs to be done, procedural languages detail how to do it. Common examples of procedural languages include those used for basic algorithms and operations. Subprograms, also called procedures or functions, are reusable blocks of code that can be called upon to perform specific tasks within a larger program.1

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.