Computer Programming Operator: Difference between revisions
Jump to navigation
Jump to search
(Created page with " A Computer Programming Operator is a Programming Languages that ... * <B>AKA:</B> Operator (Computer Programming). * <B>See:</B> Scope Resolution Operator,...") |
m (Text replacement - "]] *** " to "]]. *** ") |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
A [[Computer Programming Operator]] is a [[ | A [[Computer Programming Operator]] is a [[Computer Program]] that can transform and compare datasets. | ||
* <B> | * <B>AKA:</B> [[Operator]]. | ||
* <B>See:</B> [[Scope Resolution Operator]], [[Programming | * <B>Context:</B> | ||
** It can range from being a [[Built-in Operator]] to being a [[User-defined Operator]]. | |||
** … | |||
* <B>Example(s):</B> | |||
** an [[Arithmetic Operator]] such as: | |||
*** [[Addition Operator]] (<code>+</code>). [[Python]]: <code>operator.add(x, y)</code> which is equivalent to <code>x+y</code> (e.g. addition between two number <code>1+2</code>, or concatenation of strings <code>"hello" + " " + "world"</code> | |||
*** [[Subtraction Operator]], | |||
*** [[Mutiplication Operator]], | |||
*** [[Division Operator]], | |||
** a [[Relational Operator]], | |||
*** [[GREATER THAN Operator]], | |||
*** [[GREATER OR EQUAL TO Operator]], | |||
*** [[LESS THAN Operator]]. | |||
*** [[LESS OR EQUAL TO Operator]], | |||
** a [[Logical Operator]], | |||
*** [[AND Operator]], | |||
*** [[OR Operator]], | |||
** a [[Bitwise Operator]], | |||
** a [[Compound Assignment Operator]], | |||
** a [[Pointer Operator]], | |||
** a [[Member Operator]], | |||
** a [[Scope Resolution Operator]]. | |||
** … | |||
* <B>Counter-Examples</B> | |||
** a [[Computer Programming Function]], | |||
** a [[Computer Programming Procedure]], | |||
** a [[Machine Operator]]. | |||
* <B>See:</B> [[Scope Resolution Operator]], [[Programming Language]]s, [[Syntax (Programming Languages)]], [[Semantics_(Computer Science)]], [[Assignment (Computer Science)]], [[Field (Computer Science)]]. | |||
---- | ---- | ||
---- | ---- | ||
==References== | |||
== References == | |||
=== 2019 === | === 2019 === | ||
* (Wikipedia, 2019) | * (Wikipedia, 2019) ⇒ https://en.wikipedia.org/wiki/Operator_(computer_programming) Retrieved:2019-4-25. | ||
** [[Programming languages]] typically support a set of '''operators''': constructs which behave generally like functions, but which differ [[Syntax (programming languages)|syntactically]] or [[Semantics_(computer science)|semantically]] from usual functions. Common simple examples include arithmetic (addition with <code>+</code>), comparison (with <code>></code>), and logical operations (such as <code>AND</code> or <code>&&</code>). More involved examples include [[Assignment (computer science)|assignment]] (usually <code>=</code> or <code>:=</code>), [[Field (computer science)|field]] access in a record or object (usually <code>.</code>), and the [[scope resolution operator]] (often <code>::</code>). Languages usually define a set of built-in operators, and in some cases allow user-defined operators. | ** [[Programming languages]] typically support a set of '''operators''': constructs which behave generally like functions, but which differ [[Syntax (programming languages)|syntactically]] or [[Semantics_(computer science)|semantically]] from usual functions. Common simple examples include arithmetic (addition with <code>+</code>), comparison (with <code>></code>), and logical operations (such as <code>AND</code> or <code>&&</code>). More involved examples include [[Assignment (computer science)|assignment]] (usually <code>=</code> or <code>:=</code>), [[Field (computer science)|field]] access in a record or object (usually <code>.</code>), and the [[scope resolution operator]] (often <code>::</code>). Languages usually define a set of built-in operators, and in some cases allow user-defined operators. | ||
---- | ---- | ||
__NOTOC__ | |||
[[Category:Concept]] | [[Category:Concept]] | ||
Latest revision as of 00:46, 24 July 2023
A Computer Programming Operator is a Computer Program that can transform and compare datasets.
- AKA: Operator.
- Context:
- It can range from being a Built-in Operator to being a User-defined Operator.
- …
- Example(s):
- an Arithmetic Operator such as:
- Addition Operator (
+
). Python:operator.add(x, y)
which is equivalent tox+y
(e.g. addition between two number1+2
, or concatenation of strings"hello" + " " + "world"
- Subtraction Operator,
- Mutiplication Operator,
- Division Operator,
- Addition Operator (
- a Relational Operator,
- a Logical Operator,
- a Bitwise Operator,
- a Compound Assignment Operator,
- a Pointer Operator,
- a Member Operator,
- a Scope Resolution Operator.
- …
- an Arithmetic Operator such as:
- Counter-Examples
- See: Scope Resolution Operator, Programming Languages, Syntax (Programming Languages), Semantics_(Computer Science), Assignment (Computer Science), Field (Computer Science).
References
2019
- (Wikipedia, 2019) ⇒ https://en.wikipedia.org/wiki/Operator_(computer_programming) Retrieved:2019-4-25.
- Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic (addition with
+
), comparison (with>
), and logical operations (such asAND
or&&
). More involved examples include assignment (usually=
or:=
), field access in a record or object (usually.
), and the scope resolution operator (often::
). Languages usually define a set of built-in operators, and in some cases allow user-defined operators.
- Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic (addition with