COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is a computer program?
A
a collection of instructions that performs a specific task when executed by a computer
B
Something you can use to write a document
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -A set of instructions that directs a computer’s hardware to perform a task is called a program, or software program. The two main types of software are system software and application software.

Detailed explanation-2: -A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer requires programs to function. A computer program is usually written by a computer programmer in a programming language.

Detailed explanation-3: -Program: Program is a collection of instructions that can be executed by a computer to perform a specific task. A computer program is usually written by a computer programmer in a programming language.

Detailed explanation-4: -Programs designed to perform specific tasks is called known as Application software. An application software (app or application for short) is computer software designed to perform a group of coordinated functions, tasks, or activities for the benefit of the user.

Detailed explanation-5: -The correct answer is Operating System. It consists of programs, which controls, coordinate and supervise the activities of the various components of a computer system.

There is 1 question to complete.