COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A language that allows the user to add features to it is:
A
Irregular
B
Semantically safe
C
an Extensible language
D
Syntactically safe
Explanation: 

Detailed explanation-1: -Extensible languages are programming languages that allow a user to modify or add syntax, and associate the new syntactic forms with semantics.

Detailed explanation-2: -Extensible syntax Languages which allow the addition of constructs with user defined syntax include Racket, Camlp4, OpenC++, Seed7, Red, Rebol, and Felix. While it is acceptable for some fundamental and intrinsic language features to be immutable, the system must not rely solely on those language features.

Detailed explanation-3: -C++ is actually an extensible language since we can define new types in such a way that they act just like the predefined types which are part of the standard language. Some of the new features include encapsulation, inline function calls, overloading operators, inheritance and polymorphism.

Detailed explanation-4: -Extensible A programming language is said to be extensible if it can be extended to other languages. Python code can also be written in other languages like C++, making it a highly extensible language.

There is 1 question to complete.