COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
CPU
A
A component that executes program instructions
B
A technology used in flat-screen displays.
C
A memory device for temporary storage of data and programs.
D
A storage device for data and start-up instructions for a computer
Explanation: 

Detailed explanation-1: -The computer’s central processing unit (CPU) is the portion of a computer that retrieves and executes instructions. The CPU is essentially the brain of a CAD system. It consists of an arithmetic and logic unit (ALU), a control unit, and various registers. The CPU is often simply referred to as the processor.

Detailed explanation-2: -The actual mathematical operation for each instruction is performed by a combinational logic circuit within the CPU’s processor known as the arithmetic–logic unit or ALU. In general, a CPU executes an instruction by fetching it from memory, using its ALU to perform an operation, and then storing the result to memory.

Detailed explanation-3: -The CPU executes a program that is stored as a sequence of machine language instructions in main memory. It does this by repeatedly reading, or fetching, an instruction from memory and then carrying out, or executing, that instruction.

Detailed explanation-4: -This is the Central Processing Unit, or CPU. In a modern desktop computer, the CPU is a single “chip” on the order of one square inch in size. The job of the CPU is to execute programs.

Detailed explanation-5: -The processor is the brain of a computer. It is also called the central processing unit (CPU). It interprets and executes instructions of computer programs or the operating system.

There is 1 question to complete.