Tuesday, April 26, 2016

Programs and Programming Languages

           Computer follows an I-P-O (Input Processing Output) cycle. It needs Set of instructions called program to specify the input required, process to be followed, and the output required. Program is written in a specific language called Programming Languages, so that computer can understand the instructions.

Programs:
           How does a computer know what are the steps to be followed to process reservation request? How does it manage to calculate your shopping bills at the local store? How does it generate your report card at school? Is it an all-knowing Machine? Do you have to buy a different computer for each of these above-mentioned activities? The answer to the last two question is 'NO'. It is not an all-Knowing machine and you do not required a separate computer for each of these activities.

Programming Languages :
           A computer is made up of a number of electronics components. An electronics component can be either in an on state or an off state. Therefore, the components of a computer are represented as a combination of on and off  state. The state of represented by '1' and the off state by '0'.This implies that a computer can understand only 0s and 1s.Therefore, any instructiion given to computer must be a sequence of 0s and 1s.

No comments:

Post a Comment