COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
For Loop
A
The action of doing something over and over again.
B
· To repeat in order to achieve, or get closer to, a desired goal.
C
Loops that have a predetermined beginning, end, and increment (step interval).
D
· Putting commands in correct order so computers can read the commands.
Explanation: 

Detailed explanation-1: -A FOR LOOP is a loop that has a predetermined beginning, end, and increments (step intervals.) In Lesson 22, you will be determining the starting value, stopping value, and stepping value in a FOR LOOP. You will learn when to use a FOR LOOP and when to use other loops, such as a “repeat” loop and a “while” loop.

Detailed explanation-2: -A procedure is a set of programming language statements that, together, perform a specific task.

Detailed explanation-3: -A program is an algorithm that has been coded into something that can be run by a machine. Run program is a command that causes the computer to execute the commands written in a program.

Detailed explanation-4: -Created in 1957 by John Backus, Fortran (short for Formula Translation) is possibly the oldest programming language that’s still in use today. It’s designed to do complex statistical, mathematical, and scientific work.

There is 1 question to complete.