ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Flow chart and Pseudocode used in phase ____
|
analysis (analysis)
|
|
design
|
|
Coding (coding)
|
|
Testing (TESTING)
|
Explanation:
Detailed explanation-1: -Flowcharts and pseudo code are both used before writing code, but pseudocode is linear while a flow chart isn’t. Also, a flowchart is graphical, while pseudocode is technical. With that in mind, a flow diagram is suitable for communicating between non-technical people and programmers.
Detailed explanation-2: -Pseudocode is an artificial and informal language that helps programmers develop algorithms. Pseudocode is a “text-based” detail (algorithmic) design tool. The rules of Pseudocode are reasonably straightforward. All statements showing “dependency” are to be indented. These include while, do, for, if, switch.
There is 1 question to complete.