Imperative Programming

Imperative programming describes a program that gives a computer specific instructions for performing actions. Imperative programming differs from declarative programming, which focuses on the logic of what the program does. Declarative programming typically reacts according to the progress of the program, whatever that may be, whereas imperative programming details very specific steps that the program must take.

Features of imperative programming

Assignment statements: these statements assign values to certain variables within the program. A common method of indicating an assignment is the equation x=value, in which a particular value is assigned to the initial variable. Most programming languages allow a variable to assign a different value if needed for example, if x=5 at one point in the program but is later replaced with the value 3.

Branching statements: one of the most common branching statements is IF, which tells the program to do something different based on a command or condition given.

Looping statements: these statements are functions within the program that are set to repeat, either continuously or for a programmed amount of time. Looping statements must have an initialization, a test, and an update before completing the first iteration of the loop.

Jenna Phipps
Jenna Phipps
Jenna Phipps is a writer for, Enterprise Storage Forum, and CIO Insight. She covers data storage systems and data management, information technology security, and enterprise software solutions.

Related Articles


What is DocuSign? DocuSign is an agreement management application that enables businesses to create, send, and automate a wide variety of forms and contracts and...


What is compliance? Compliance or regulatory compliance is a term used across industries to describe rules and policies that prohibit or regulate specific products, services,...

User Experience

User experience describes a user's interaction with products, systems, and services and includes usability, design, navigation, and impression.

Management Information Systems (MIS)

What is a Management Information System? A Management Information System (MIS) is an information system that provides managers with the tools to effectively organize, evaluate,...

Venture Capital

Venture capital (VC) offers startups and developing businesses growth opportunities with funding from...

Third-Party Apps

A third-party application is an application provided by a vendor other than the...

Ernst & Young (EY)

Ernst & Young Global Limited, commonly known as EY, is a multinational professional...