COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Python
|
|
COBOL
|
|
Java
|
|
Algol68
|
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: -What language uses orthogonality as a primary design criterion? Assembly language of VAX series of minicomputers used orthogonality as a primary design criterion.
Detailed explanation-3: -Orthogonality is the property that means “Changing A does not change B". An example of an orthogonal system would be a radio, where changing the station does not change the volume and vice-versa. A non-orthogonal system would be like a helicopter where changing the speed can change the direction.
Detailed explanation-4: -Java and Python are such languages. In Python, we can combine built-in data structures such as lists and sets to build advanced data structures. However, the constructor list doesn’t have side effects, whereas set does. For example, applying set to a list removes all duplicate values from the list.