"### Question 1\n",
"Which of the following statements is ``WRONG``
about Variable? <br>\n",
"(A) A variable is used as a name (i.e.
identifier) of an object. So we can say a variable refers to an
object <br>\n",
"(B) A variable is 'attached' to an object in an
assignment statement, and it can be detached by `del`
<br>\n",
"(C) A variable can refer to more than one
object at the same time (i.e. two different objects can have the
same name) <br>\n",
"(D) Two variables can refer to the same object
(i.e. an object can have multiple names)"
Answer Option C
Reason: Option A is correct because the name of an object is the variable name of it.
Option B is correct because a variable is attached to an object and is detached using del command.
Option C is incorrect because a variable name cannot refer to more than one Object as the same time. All the variable name should be unique
Option D is correct because two variables can refer to the same object.
If you liked the solution then give a thumbs up ? it will be really appreciated ?
Get Answers For Free
Most questions answered within 1 hours.