COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Orthogonality was a major design goal of which of the following languages? This language is still the best example of a language in which constructs can be combined in all meaningful ways.
A
Python
B
COBOL
C
Java
D
Algol68
Explanation: 

Detailed explanation-1: -If a programming language can be used without having to worry about how it will affect another programming language, it is said to be orthogonal. For example, Pascal is considered orthogonal while C++ is considered non-orthogonal.

Detailed explanation-2: -Orthogonality in a programming language means that a relatively small set of primitive constructs can be combined in a relatively small number of ways to build the control and data structures of the language.

Detailed explanation-3: -We consider Scala a fully orthogonal language. For example, in Scala, we can use functions just like all other objects: as local variables, fields, or parameters to other functions.

Detailed explanation-4: -What language uses orthogonality as a primary design criterion? Assembly language of VAX series of minicomputers used orthogonality as a primary design criterion.

There is 1 question to complete.