Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 12 - 2505_CoreGPT(Podar)_Flipbook_C6
P. 12

    Java: Java is a very popular programming language. It is mainly used for building Android
                         apps, computer software and big projects. One big advantage is that Java programmes can
                         run on many different types of computers.

                           C#: C# (pronounced C-sharp) was developed by Microsoft. It is mostly used to make Windows
                         applications and is also popular for making video games using the Unity game engine.
                           Swift: Swift is a modern language created by Apple. It is used to make apps for iPhones, iPads
                         and Mac computers. Swift is fast and safe, which makes it popular among app developers.
                           Kotlin: Kotlin is a newer programming language. It works well with Java and is now the official
                         language for Android app development. It is shorter and easier to write than Java.
                           R: R is a language used by scientists, researchers and data analysts. It is helpful for solving
                         math’s problems, making graphs and working with big amounts of data.

                            LANGUAGE PROCESSOR

                      A language processor is a software that converts program codes written in an assembly language
                      or high-level languages into a computer understandable language, i.e. machine language. There
                      are mainly three types of language translators:
                      Assembler

                      An assembler is a program that translates assembly language into machine language so that the
                      computer can understand it.

                      Compiler

                      A compiler is a program that converts code from a high-level language into machine language
                      so that  the computer  can run  it. It processes the whole program  at  once and  creates  an
                      executable file.
                      Interpreter

                      An interpreter is a program that translates and executes code written in a high-level language
                      line by line to machine language. It directly runs the code, making it easier to test and debug,
                      but it may run slower than compiled code. It reads a code statement, converts it to machine
                      language instructions and executes them immediately. Errors are displayed one line at a time
                      and the interpreter moves to the next line only after the error is corrected.
                      Working of Language Processor

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

                            3 x 3 = 9                                                          Machine Code (01001)

                                               Input                                 Output
                            High-level                         Language                               Machine
                            Language                           Processor                             Language

                      A program written in an assembly language or a high-level language is called source code.
                      Source code is sent to a translator that converts it into an object code (machine code).

                     10     Premium Edition-VI

| 7 8 9 10 11 12 13 14 15 16 17 |