Describe the steps that transform a program written in a high-level language such as C into a
representation that is directly executed by a computer processor
Answers
Answered by
0
Explanation:
The CPU, or Central Processing Unit, is the active part of the computer. Its function is to execute programs that are coded in machine language and stored in the main memory (RAM) of the computer. It does this by repeating the fetch-and-execute cycle over and over; that is, it repeatedly fetches a machine language instruction from memory and executes it.
Question 2:
Explain what is meant by an "asynchronous event." Give some examples.
Answer:
An asynchronous event is one that occurs at an unpredictable time outside the control of the program that the CPU is running. It is not "synchronized" with the program. An example would be when the user presses a key on the keyboard or clicks the mouse button. (
Similar questions