A question mark and colon choosing between two values.
Also known as: Conditional operator
A condition followed by a question mark, one value, a colon and another value yields the first when the condition holds and the second otherwise. It is the only operator in most languages taking three operands, which is where the name comes from.
ECMAScript defines the conditional operator: the expression before the question mark is evaluated, and the value after the question mark or after the colon is produced accordingly.
Contexts: Software
Called ternary because it takes three operands, which is unusual enough that the arity became the name.
Contexts: Software
A hooked stroke curling from left to right above a dot, followed later on the line by two dots stacked one above the other.
The question mark is the punctuation; the ternary operator is one of the jobs programming languages give it.
Both are built from lines and dots, and both are used in software contexts.