COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A Top-Down design/ approach is a common strategy used in solving a task. The best description of the Top-Down design is ____
A
Identify the Major task first and then break it down to more basic task.
B
Identify the Basic task first and then build it up to solve the Major task.
C
Identify the task that is not important and remove it from the solution
D
Identify the input first that is going to be needed to arrive at the solution
Explanation: 

Detailed explanation-1: -A top-down approach (also known as stepwise design and stepwise refinement and in some cases used as a synonym of decomposition) is essentially the breaking down of a system to gain insight into its compositional sub-systems in a reverse engineering fashion.

Detailed explanation-2: -The top-down approach relies on higher authority figures to determine larger goals that will filter down to the tasks of lower level employees. In comparison, the bottom-up style of communication features a decision-making process that gives the entire staff a voice in company goals.

Detailed explanation-3: -Processes in Topdown Approach This approach is often used to develop software systems because it allows developers to focus on one part of the system at a time, which can make the development process more organized and efficient.

Detailed explanation-4: -Top-down design is a method of breaking a problem down into smaller, less complex pieces from the initial overall problem. Most “good” problems are too complex to solve in just one step, so we divide the problem up into smaller manageable pieces, solve each one of them and then bring everything back together again.

There is 1 question to complete.