COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
ALL are definitions of computer programs except
A
is a list of instructions that tell a computer what to do
B
are used to communicate instructions to a computer
C
a sequence of instructions that a computer can interpret and execute; “the program required several hundred lines of code”
D
a sequence of instructions written using a Computer Programming Language to perform a specified task by the computer.
Explanation: 

Detailed explanation-1: -software, instructions that tell a computer what to do. Software comprises the entire set of programs, procedures, and routines associated with the operation of a computer system. The term was coined to differentiate these instructions from hardware-i.e., the physical components of a computer system.

Detailed explanation-2: -Software is a set of instructions, data or programs used to operate computers and execute specific tasks.

Detailed explanation-3: -Software is a set of instructions that tells the hardware what to do. People, however, are the most important component of a computer system-people use the power of the computer for some purpose.

Detailed explanation-4: -What is operating system ? An operating system is a program on which application programs are executed and acts as an communication bridge (interface) between the user and the computer hardware.

There is 1 question to complete.