Skip to content
Question 57 of 97

Q.State True or False. "Identifiers are names used to identify a variable, function in a program".

Sikkim CbseCBSE Class XII Board 2023Subjective· 1mImportance★★★★★
59% · 57/97 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The statement is True. Identifiers are indeed the names given to program elements like variables and functions to uniquely identify them in code.

The Concept: What Are Identifiers?

In programming, an identifier is a name you create to label something in your code — a variable, a function, a class, a constant, or any other user-defined element. Think of it like a nametag: without identifiers, you'd have no way to refer to a specific piece of data or a block of code. The computer uses these names to know exactly which memory location or instruction you mean.

The statement says: "Identifiers are names used to identify a variable, function in a program." This is the textbook definition. Every programming language (C, Python, Java, etc.) uses identifiers for exactly this purpose.

Step-by-Step Reasoning

  1. What the statement claims

    It says identifiers are names that identify a variable or a function. That's the core job of an identifier — to give a unique label to a program element so you can refer to it later.

  2. What identifiers actually are

    In any programming language, when you write int age = 25;, the word age is an identifier for a variable. When you write def calculate():, the word calculate is an identifier for a function. Identifiers can also name classes, structures, constants, and more — but variables and functions are the most common examples.

  3. Checking the definition against standard sources

    Every standard textbook and exam syllabus (CBSE, ICSE, ISC, etc.) defines identifiers exactly this way. For instance, in C: "Identifiers are names given to various program elements such as variables, functions, arrays, structures, etc." The given statement is a subset of that definition — it mentions only variables and functions, but that's still correct as far as it goes.

  4. Is there any hidden trick? …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.