Page 212 - DCAP104_EXPOSURE_TO_COMPUTER_DISCPLINES
P. 212

Unit 10: Programming Language



            10.3 Summary                                                                          Notes

              • The programmer prepares the instructions of a computer program and runs those
                 instructions on the computer tests the program to see if it is working properly and makes
                 corrections to the program.
              • Programming languages are said to be “lower” or “higher”, depending on how close they
                 are to the language the computer itself uses or the language people use.
              • The programmer who uses an assembly languages requires a translator to convert the
                 assembly language programm into machine language.
              • Languages called very high-level languages are often known by their generation number,
                 that is they are called fourth-generation languages or more simply 4 GLS.

              • A standardized query language which can be used with several different commercial data
                 base programs, is structured query language, popularly known as SQL.

            10.4 Keywords


            Programming language: A programming language is an artificial language designed to express
            computations that can be performed by a machine, particularly a computer.

            Self-modifying programs: Self-modifying program is program that alters its own instructions
            while it is executing — usually to reduce the instruction path length and improve performance
            or simply to reduce otherwise repetitively similar code, thus simplifying maintenance.

            Software interfaces: A software interface may refer to a range of different types of interface at
            different “levels”: an operating system may interface with pieces of hardware, applications or
            programs running on the operating system may need to interact via streams, and in object oriented
            programs, objects within an application may need to interact via methods.




                          Write a function of factorial using C language.

            10.5 Self-Assessment Questions


              1. A computer programmer
                    (a) enters data into computer
                    (b) writes programs

                    (c) changes flow chart into instructions
                    (d) provides solutions to complex problems

                    (e) does total planning and thinking for a computer
              2. The most widely used commercial programming computer language is
                    (a) BASIC                    (b) COBOL

                    (c) FORTRAN                  (d) PASCAL





                                             LOVELY PROFESSIONAL UNIVERSITY                                   205
   207   208   209   210   211   212   213   214   215   216   217