MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
If pointer is supported in the high-level language,
A
Must also be supported in the intermediate language
B
May not be supported in the intermediate language
C
Depends on language
D
None of the other options
Explanation: 

Detailed explanation-1: -Pascal was one of the first truly high level languages to include included pointers from very early in its development and the pattern it adopted was used by C# and many other modern languages.

Detailed explanation-2: -Pointers vs References in C++ C and C++ support pointers, which is different from most other programming languages such as Java, Python, Ruby, Perl and PHP as they only support references.

Detailed explanation-3: -A language that is generated from programming source code, but that cannot be directly executed by the CPU. Also called “bytecode, ” “p-code, ” “pseudocode” or “pseudo language, ” the intermediate language (IL) is platform independent. It can be run in any computer environment that has a runtime engine for the language.

Detailed explanation-4: -Java doesn’t have pointers; Java has references.

There is 1 question to complete.