Explanation: The memory address of a variable can be statically bound to the variable at compile time or dynamically at runtime. Likewise, variables in some languages have dynamic types that change during program execution, while other variables have static types that remain fixed over the execution of the program. Only the binding of the value determines whether the object is a variable or something else (such as constant). 8) In which of the following mechanisms, types of all variables and expressions are not known until runtime
A. Strong Typing
B. Weak Typing
C. Static Binding/ early binding
D. Dynamic Binding/ late binding
Answer:A
Explanation: The memory address of a variable can be statically bound to the variable at compile time or dynamically at runtime. Likewise, variables in some languages have dynamic types that change during program execution, while other variables have static types that remain fixed over the execution of the program. Only the binding of the value determines whether the object is a variable or something else (such as constant). 8) In which of the following mechanisms, types of all variables and expressions are not known until runtime
A. Strong Typing B. Weak Typing C. Static Binding/ early binding D. Dynamic Binding/ late binding
Explanation: The memory address of a variable can be statically bound to the variable at compile time or dynamically at runtime. Likewise, variables in some languages have dynamic types that change during program execution, while other variables have static types that remain fixed over the execution of the program. Only the binding of the value determines whether the object is a variable or something else (such as constant). 9) Which of the following statements about Persistence is correct?