Nowadays, we use many smart electronics products which are needs of programming for their operation. You may have a question about why they need programming. Because they have a Processor. A processor is a digital circuit consisting of active and passive elements(like transistors, Logic gates, resistors, capacitors) which takes inputs through input devices and after processing it gives outputs through output devices. The processor needs programming for its operation.
Must Read: Easy way to understand what is Logic Gate?
Must Read: Easy way to understand what is Logic Gate?
What is Programme? What is Programming language in computer? Importance of Programming Language.
Actually, the concepts of programming come from the operation of a microprocessor or processor. A processor or microprocessor cannot work without programming. Each microprocessor has its own instruction set based on its design. To operate the microprocessor, we must give instruction in binary language(machine language).
A program is a set of instruction given in sequence. It is very difficult to write programs in binary or sets of 0s and 1s. To overcome this problem Processor manufacturers have devised English-like words to represents the binary instructions of a machine. Programmers can write programs using this words which are called assembly language. Now there is another problem that as assembly languages are different for different machines, programs written in assembly language are not transferable from one machine to another machine. To overcome this problem such general purpose languages as BASIC and FORTRAN have been devised. These languages are machine independent. These languages are called High-Level-Languages.
A program is a set of instruction given in sequence. It is very difficult to write programs in binary or sets of 0s and 1s. To overcome this problem Processor manufacturers have devised English-like words to represents the binary instructions of a machine. Programmers can write programs using this words which are called assembly language. Now there is another problem that as assembly languages are different for different machines, programs written in assembly language are not transferable from one machine to another machine. To overcome this problem such general purpose languages as BASIC and FORTRAN have been devised. These languages are machine independent. These languages are called High-Level-Languages.
Now you may have a question, how these languages can be used in each machine. The answer is another program is required called either a Compiler or an Interpreter. This compiler or interpreter translates high-level languages into the machine language compatible with the microprocessor being used in the machine. One more important thing that, each microprocessor needs its own compiler or interpreter for each high-level languages.
So it is cleared that programs or Programming languages are a process of operating a Microprocessor or a Processor by Human.
Must Read: What is Binary Coding. Concepts of Binary Number.
Thank you for visiting the website. keep visiting for more updates.
No comments:
Post a Comment