Explanation: All the three types are the examples of Hierarchy, as it denotes ranking or ordering of abstractions. 7) In which of the following mechanisms, types of all variables and expressions are fixed at compilation time.
A. Strong Typing
B. Weak Typing
C. Static Binding/ early binding
D. Dynamic Binding/ late binding
Answer:A
Explanation: All the three types are the examples of Hierarchy, as it denotes ranking or ordering of abstractions. 7) In which of the following mechanisms, types of all variables and expressions are fixed at compilation time.
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). 8) In which of the following mechanisms, types of all variables and expressions are not known until runtime