COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
a program is an ____ of an algorithm to be run on a specific computer and operating system. An algorithm is more abstract-it does not deal with machine specific details-think of it as a ____ to solve a problem
A
IMPLEMENTATION
B
MECHANICS
C
METHOD
D
RHYTHM
Explanation: 

Detailed explanation-1: -program. An algorithm that has been coded into something that can be run by a machine.

Detailed explanation-2: -An algorithm is a set of commands that must be followed for a computer to perform calculations or other problem-solving operations. According to its formal definition, an algorithm is a finite set of instructions carried out in a specific order to perform a particular task.

Detailed explanation-3: -Programming languages are normally used for expressing algorithms executed by a computer. Algorithms use an initial input along with a set of instructions.

There is 1 question to complete.