COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In ____ paradigm, the program is considered as a series of steps, each of which performs a calculation, retrieves input, or produces output whereas in ____ paradigm, the implementation is rule-based.
A
logic, object oriented
B
functional, imperative
C
imperative, logic
D
logic, functional
Explanation: 

Detailed explanation-1: -In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing from other programs or threads.

Detailed explanation-2: -What is a Programming Paradigm? Programming paradigms are different ways or styles in which a given program or programming language can be organized. Each paradigm consists of certain structures, features, and opinions about how common programming problems should be tackled.

There is 1 question to complete.