A programming language that enables programmers to define new data types is…
2012
A programming language that enables programmers to define new data types is called:
Answer: B. Extensible Language — ConceptA language-design property describes how programmers may use or extend the facilities supplied by a programming language. Extensibility is the property…
- A.
Overloaded Language
- B.
Extensible Language
- C.
Encapsulated Language
- D.
Abstraction Language
Attempted by 100 students.
Show answer & explanation
Correct answer: B
Concept
A language-design property describes how programmers may use or extend the facilities supplied by a programming language.
Extensibility is the property that permits a language to be enlarged with user-defined types, operations, or constructs without changing its basic core.
Application
The stem asks for the property that lets programmers define new data types. That capability is an instance of extending the language with a user-defined facility.
Contrast
Overloading reuses an existing operator or function name for different operand or parameter types; it does not name the broader ability to add new data types.
Extensibility covers the addition of user-defined facilities, including new data types.
Encapsulation groups data and operations and regulates access to them; it is an organization and access-control principle.
Abstraction presents essential behavior while hiding implementation details; it is an interface-design principle.
Result
Therefore, the programming language is described as an extensible language.