---
title: "Procedure — AP CSP Definition, Pseudocode & Exam Guide"
description: "A procedure is a named group of programming instructions that may have parameters and return values. It's the backbone of AP CSP's Unit 3 and the Create task."
canonical: "https://fiveable.me/ap-comp-sci-p/key-terms/procedure"
type: "key-term"
subject: "AP Computer Science Principles"
---

# Procedure — AP CSP Definition, Pseudocode & Exam Guide

## Definition

A procedure is a set of instructions or steps that are followed in order to accomplish a specific task or goal.

## Related Study Guides

- [What Are the Best Quizlet Decks for AP Computer Science Principles?](/ap-comp-sci-p/faqs/quizlet-decks/study-guide/bsTAXNQYv5tb87EBAGjd)

## Review

### Related Terms

- [Algorithm](/ap-comp-sci-p/key-terms/algorithm): An algorithm is a step-by-step process or set of rules used to solve a problem or perform a specific task.
- Function: In programming, a function is a reusable block of code that performs a specific action and can be called multiple times within a program.
- Control Flow: Control flow refers to the order in which statements and instructions are executed in a program. It determines how the program flows from one instruction to another.
