*

A parenthesis is a punctuation mark used come enclose information, comparable to a bracket. The open parenthesis, which looks like (, is used to start parenthetical text. The close parenthesis, ), denotes the finish of parenthetical text. The many of parenthesis is parentheses.

You are watching: What is the name for additional information about a code enclosed in parentheses?


How to kind parentheses

To kind an open up parenthesis ~ above a U.S. Keyboard, host down the transition and push 9 in ~ the height of the keyboard. To form a near parenthesis, hold change and press 0 (zero).

*

To produce a tilde on a smartphone or tablet, open the touch keyboard, move to the numbers (123) or symbols (sym) section, and touch the "(" or ")" symbol.

What space parentheses offered for?

In writing, parentheses can express additional information, one aside, or distinct remarks. Because that instance, "The child got a stern great (and that deserved it)."

5 + 2 x 5 = 15Multiplication is peformed prior to addition, according to the standard order that operations. However, in this expression:

( 5 + 2 ) x 5 = 35The addition inside the parentheses is perform first, and the sum is then supplied in the remainder of the expression. This kind of mathematics expression, where the an outcome depends top top the position of parentheses, is dubbed non-associative.

Parentheses in computer system programming

Below is an instance of exactly how parentheses may be supplied in an if statement, utilizing the Perl programming language.

if ($test =~ //) print "It works! ";

Regular expression parentheses

With regular expressions, parentheses catch text. Because that example, in the complying with Perl consistent expression, the variable $piglatin takes anything beginning with "th" and moves it come the finish of the line.

$piglatin =~ s/^(th)(.*)/21/i;

Parentheses in spreadsheet formulas

The following instance shows just how a formula using parentheses may show up in Microsoft Excel. In the example below, the formula adds cell A1 v A5 to get a total sum.

=sum(a1:a5)

Parenthesis vs parentheses

Parenthesis describes a solitary "(" or ")" mark and also is thought about singular. Clip is the plural variation that explains both the "(" and ")" marks. Because that example, in the below sentence "random accessibility memory" is consisted of within parentheses.

See more: How Much Is 2 Lbs Of Strawberries Equal A Quart? Strawberry Measures And Equivalents

RAM (random access memory) is a type of computer system memory the stores info temporarily.

Related pages


Keyboard terms, Number key, Programming terms