ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Code A-Object-oriented Code B Object-oriented
|
|
Code A Object-oriented Code B Procedural
|
|
Code A Procedural Code B Object-oriented
|
|
None of the above
|
Detailed explanation-1: -All programming languages fall into one of two broad categories: high-level or low-level. High-level coding languages are the furthest away from the actual code that translates commands on a computer system. Examples include C++, Java, and Python.
Detailed explanation-2: -The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning), which are usually defined by a formal language.
Detailed explanation-3: -Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects", which can contain data and code.
Detailed explanation-4: -Data compression (or source coding) Error control (or channel coding) Cryptographic coding. Line coding.