Home › Olympiad (Class 11) › Computer Science › Programming Languages › A language forces every declaration to state bot…
A language forces every declaration to state both a name and a data type. It is:
AWidely typed
BStrongly typed
CWeakly typed
DWrongly typed
Answer & Solution
Correct answer: B. Strongly typed
1. The declaration pins the variable to one type.
2. That rule is the mark of strong typing.
3. So the language is strongly typed.
_Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._
Related questions
The same inherited behaviour acts differently depending on context. This is:A child class takes on attributes from its parent class. This principle is:A class keeps its data and methods together and hides the inner workings. This is:Building one object from a class is known as:In object oriented code, the blueprint used to construct objects is the:A function that accepts other functions as arguments is called:A function that can be assigned to a variable like any value is called:A function that calls itself to solve smaller versions of a problem uses: