Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 75 - 2615_KEC
P. 75

    LANGUAGE TRANSLATOR

                     A language translator is a software that converts a high-level language program into a machine
                     language. There are three types of language translators:

                     ASSEMBLER
                     An assembler is a software tool that translates assembly language into machine language. It
                     enables the computer to understand and execute assembly language instructions. This conversion
                     is essential for executing low-level code efficiently.

                     COMPILER
                     A compiler is a program that reads and translates all the instructions written in a high-level language
                     into machine language at once. A major drawback of a compiler is that if there is an error in the
                     program, the programmer only comes to know it after the entire program has been translated.

                     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.

                            Hashtag

                          #Algorithm: Step-by-Step instructions for doing any process
                          #Flowchart: Graphical representation of an algorithm

                          REVISIT

                       ▶  An algorithm is a set of instructions designed to complete a specific task.
                       ▶  A flowchart is the graphical representation of the process and the logic used in it.
                       ▶   Low-level language is a programming language that deals with the computer’s hardware components.
                       ▶  High-level languages are considered to be closer to human beings.
                       ▶   The compiler reads an entire set of instructions written in HLL and then translates them into machine language.
                       ▶   The interpreter reads one line of instruction at a time and translates it into machine language.

                     1.  Tick ( ) the correct option.
                        a.  What is the graphical representation of a process and its logic called?

                            (i)  Algorithm                                 (ii)  Program
                           (iii)  Flowchart                                (iv)  Data Chart

                                                                                     Algorithm, Flowchart and Mind Maps  73

| 70 71 72 73 74 75 76 77 78 79 80 |