Comparing Object Oriented Languages and other Programming Types by deborah.kennedy


									                   Comparing Object Oriented Languages and other Programming Types
                                         Past Paper Question

1.   Meetysoft is developing a new game. Level one of the game involves the player fighting a number
     of identical enemies. In level 2, there are new enemies which have additional characteristics and
     features as well as those of the level 1 enemies.

     (a)    Meetysoft considers using a low level language, procedural language or object-oriented

            (i)       Describe two similarities between procedural and object-oriented languages.        2
            (ii)      Describe two advantages of an object-oriented language when compared to a
                      low-level language.                                                                2
            (iii)     Describe one advantage of a low level language when compared to an object-
                      oriented language.                                                                 1

2.   Programming languages have developed from low level, such as assembly language, to high level,
     such as procedural languages.
     Programmers define how their program will store data at the start of a program.
     Describe how low level languages and high level languages differ in the use of data types.     2

3    Describe two advantages of programming in an object-oriented language when using several stacks
     compared to a procedural language.                                                            4

4.   When programming using a procedural language, the programmer defines how the data is to be
     stored using variables and then creates the procedures to operate on these variables. Describe how
     classes are used in an object-oriented language.                                                  2

To top