A computer program consists of instructions and data on which the instruction operates. How are the instructions of a program executed by a computer? Where are the instructions and data stored during execution? What is the role played by Input/output devices?
Answers
Answered by
2
1. Computer has been assigned the ASCII VALUE that helps the computer to convert the data into Binary language (1,0).
Eg: "hope" is the input word.
In the ASCII value "h" is equal to 01101000 in binary, so forth each letter, character, number would have it's own binary value.
2. during execution the data is stored in RAM
3. The Input Devices role is important, a program cant be processed unless you give the instructions through Input Devices. The Output Devices enables you to view the results.
Eg: "hope" is the input word.
In the ASCII value "h" is equal to 01101000 in binary, so forth each letter, character, number would have it's own binary value.
2. during execution the data is stored in RAM
3. The Input Devices role is important, a program cant be processed unless you give the instructions through Input Devices. The Output Devices enables you to view the results.
Similar questions