What is identifier in python class 12?

Introduction:

Similar to the keywords and identifiers are also names given to different parts of a Python program identifiers are used to provide new names for the following useful entities in Python like wise.

  • Variables
  • Objects
  • Classes
  • Functions
  • Lists
  • Dictionaries etc.

DEFINITION OF IDENTIFIERS:

A variable or identifier is the name given to the memory location so that there is no need to to remember the address of the location and these identifiers can hold different kind of data like integer, float, and string etc.

example

You use the name of the person to remember the number of mobile contacts because it is easier to find the mobile number via the name saved by you .

one more example for your ease  to understand is the website address if I tell you the web address of my left side is 17268 152 137 and you have to remember this address if you wish to visit again and if I tell you www.iasbaba.com then it will be easier to remember

Similarly our system memory is divided into a number of small parts [sectors and blocks].

now you can see that IN A PYTHON PROGRAM, IF WE DECLARE AN STATEMENT LIKE THIS:-

age=32

Then the random location 11052 [LET’S SAY ] is occupied by variable / Identifier ageand the value 52 is given.

Now also, there are some rules for creating identifiers for variables in Python.

  1. We cannot use keywords as an identifier
  2. variable names must be made with only letters numbers and_
  3. variable names cannot start with numbers although they can contain numbers

Important Note :

we cannot use space between in Python programs BECAUSE Python is case sensitive as it treats lower and uppercase characters differently.

now you can more understand this concept with the help of the following table diagram

CONTINUE READING……………

  • PYTHON : KEYWORDS                 Continue Reading

  • PYTHON : IDENTIFIERS              Continue Reading

  • PYTHON : LITERALS                     Continue Reading

  • PYTHON : OPERATORS                Continue Reading

  • PYTHON : PUNCTUATORS         Continue Reading

Also Read in COMPUTER SCIENCE CLASS 12 CBSE

PYTHON: Data Types  How to Learn Python free online Syllabus : computer science with pythonCloud computing

Also Read in PHYSICS CLASS 12 CBSE

Important Concepts Electrostatic Chapter 2 : Electric potential and capacitancephysics reduced syllabus class 12 cbse 2020-21Important notes and questions Class 12 Physics : electric charge and electric field

A Trained Post Graduate Teacher with 10 years of experience and working as TGT/PGT–Computer Science including good Management and administration skills with managerial positions in previous work environments

What is identifier in Python?

Identifier is a name used to identify a variable, function, class, module, etc. The identifier is a combination of character digits and underscore. The identifier should start with a character or Underscore then use a digit. The characters are A-Z or a-z, an Underscore [ _ ] , and digit [0-9].

What is identifier in computer class 12?

A variable or identifier is the name given to the memory location so that there is no need to to remember the address of the location and these identifiers can hold different kind of data like integer, float, and string etc.

What are identifiers in Python class 11?

In Python, an identifier is a name given to a Class, Function, or Variable.

What do you mean by identifiers?

An identifier is a name that identifies [that is, labels the identity of] either a unique object or a unique class of objects, where the "object" or class may be an idea, physical countable object [or class thereof], or physical noncountable substance [or class thereof].

Chủ Đề