Page 17 - iPlus_Ver_2.0_class_6
P. 17

Interpreter

                 An interpreter reads one line of instruction at a time and translates it into machine language. Any
                 error in the instruction is reported immediately and the programmer can correct it accordingly.
                 It is slower than the compiler. It reads a code statement, converts it to one or more machine
                 language instructions, and then executes them. It displays the errors for one line at a time, and
                 it goes to the next line only after the error is corrected.

                  i +  WORKING OF LANGUAGE TRANSLATORS

                 The programs written in a high-level language or assembly language must be translated into
                 machine language by using a translator called an assembler, compiler, and interpreter.


                      3 × 2 = 6                                                          Machine Code (00110)


                      High-level         Input           Language              Output           Machine
                      Language                           Translator                            Language
                     or Assembly
                      Language






                    To Sum Up

                          Digital computer refers to a computer that uses digits (binary numbers 0’s and 1’s) to generate,
                        process, and display data.

                          Microcomputers are made to be used by one person at a time.
                          Minicomputers are small general-purpose computers having the capability to serve a number
                        of users simultaneously.
                          Mainframe computers are massive computers that occupy a huge space and often fill an entire
                        room.
                          Supercomputers are the largest and fastest of all types of computers, and they can process
                        very large amounts of data quickly.

                          An embedded computer is a special type of microprocessor-based computer that is developed
                        for performing a specific task.

                          A handheld computer can easily be stored in our pockets and used by holding it in our hands.
                          The language that is required by a computer is called computer language.

                          Assembler, Compiler, and Interpreter are types of program that convert the source program
                        written in high-level language or assembly language into machine language before executing it.













                                                                                                                  15
                                                                Categories of Computers and Computer Languages
   12   13   14   15   16   17   18   19   20   21   22