---
title: "Expression — AP CSP Definition & Exam Guide"
description: "An expression combines values, variables, operators, and procedure calls that evaluate to one value. Master order of operations and MOD for the AP CSP exam."
canonical: "https://fiveable.me/ap-comp-sci-p/key-terms/expression"
type: "key-term"
subject: "AP Computer Science Principles"
---

# Expression — AP CSP Definition & Exam Guide

## Definition

An expression in programming is a combination of values, variables, operators, and function calls that evaluates to a single value. It represents a computation or calculation.

## Review

### Related Terms

- [Variable](/ap-comp-sci-p/key-terms/variable): A variable is a named storage location that holds data. It can be used within expressions to represent values.
- [Operator](/ap-comp-sci-p/key-terms/operator): An operator is a symbol or keyword that performs an operation on one or more operands (values). They are used in expressions to manipulate data.
- Function Call: A function call is when you invoke or use a function in your program. Functions can also be part of an expression and return values based on their execution.
