Math, asked by AcademiCoordinator, 1 month ago

Computer Master Answer Here!
----------------------------------------------

Difference between keywords and identifiers?​

Answers

Answered by sardarpatel1924
1

Answer:

Keywords are predefined word that gets reserved for working progs that have special meaning and cannot get used anywhere else.

Identifiers are the values used to define different programming items such as variables, integers, structures, unions and others and mostly have an alphabetic character.

Step-by-step explanation:

hope it is useful for you.

Answered by BrainlyEmpire
152

\pmb{\red{\mathfrak{\underline{\bigstar{Keywords:}}}}}

\:\:

Keywords are also known as ⠀⠀reserved words that have some ⠀⠀special meaning T reserved words ⠀⠀may not be used as constant or ⠀⠀variable or any other identifier ⠀⠀names .

All Python keywords contain ⠀⠀lowercase letters only except False, None and True.

\:\:

\pmb{\purple{\mathfrak{\underline{\bigstar{Identifiers:}}}}}

An identifier is a name used to ⠀⠀identify a variable, function, class, module or object.

An identifier starts with a letter A to ⠀⠀Z or a to z or an underscore ⠀⠀followed by zero or more letters, underscore and digits (0 to 9).

\rule{200}2

\:\:

⠀⠀⠀⠀⠀⠀⠀⠀________________________________

\:\:

\qquad\qquad\boxed{\underline{\underline{\pink{\bigstar \:\bf\:More\:to\:know\:\bigstar}}}} \\ \\

\:\:

\pmb{\green{\mathfrak{\underline{\dag{Literals:}}}}}

Literals or constants are those data ⠀items whose values cannot be ⠀changed program execution.

They have fixed value.

\:\:

\pmb{\orange{\mathfrak{\underline{\dag{Operators:}}}}}

Operators are special symbols ⠀⠀which perform some computation.

Operands form an expression.

\:\:

\pmb{\blue{\mathfrak{\underline{\dag{Punctuators:}}}}}

These are tokens that have syntactic and semantic meaning to ⠀the compiler but the exact ⠀significance depends on the context.

A punctuator can be a token that is ⠀⠀used in syntax.

\:\:

\rule{200}2

\:\:

______________________________

Similar questions