Indicate when each of the following bindings takes place in Python (language des
ID: 3807562 • Letter: I
Question
Indicate when each of the following bindings takes place in Python (language design time, language implementation time, compile time, link time, load time, or run time). If more than one time is possible, choose the latest possible time.
(a) Binding of the plain integer type to a specific number of bytes (i.e., the decision to use a specific number of bytes to store a plain integer value)
(b) Binding of a variable to a specific type
(c) Binding of the * operator to a particular operation
(d) Binding of an operator to a particular associativity (left or right)
Explanation / Answer
(a) Binding of the plain integer type to a specific number of bytes (i.e., the decision to use a specific number of bytes to store a plain integer value)
language implementation time
(b) Binding of a variable to a specific type
compile time
(c) Binding of the * operator to a particular operation
language design time
(d) Binding of an operator to a particular associativity (left or right)
compile time