An operator is a symbol or keyword used in programming to perform specific operations on variables or values.
Think of an operator as a tool in your programming toolbox. Just like you would use a hammer to drive nails or a screwdriver to tighten screws, operators are used to manipulate data in different ways.
Operand: A value that is used with an operator to perform calculations or comparisons.
Arithmetic Operator: An operator that performs basic arithmetic calculations such as addition, subtraction, multiplication, and division.
Logical Operator: An operator that performs logical operations such as AND, OR, and NOT.
Study guides for the entire semester
200k practice questions
Glossary of 50k key terms - memorize important vocab
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.