imperative language
Quick Summary
Imperative languages, such as COBOL, FORTRAN, Pascal, and C, are a category of programming languages used to create software. These languages specify a sequence of explicit commands that instruct a computer on how to solve a problem. They are also referred to as procedural languages because they allow programmers to develop and reuse procedures, subroutines, and functions to streamline tasks. This contrasts with nonprocedural or declarative languages, where the programmer specifies goals rather than the exact methods to achieve them. The imperative mood in grammar expresses a command or an obligatory act.123
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.
