On the other hand programmer written subprograms are

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: program of the source program is generated by the interpreter. 11. Object-oriented programming (OOP) deals with solving problems by identifying the real-world objects of the problem and the processing required of those objects, and then creating simulations of those objects, their processes, and the required communications between the objects. 12. Conventional procedure-oriented programming languages use procedural abstractions that encapsulate sequences of operations into procedures (also known as functions, subroutines, or subprograms). On the other hand, object-oriented programming languages encapsulate data as well as sequences of operations into abstract entities called objects, providing a stronger encapsulation mechanism than procedure. Hence object-oriented programming provides a more powerful modeling tool than procedure-oriented programming. 13. Today many different high-level languages exist and are in use because each was designed for different specific purposes. Some of these are FORTRAN, COBOL, BASIC, Pascal, PL/1, C, C++, Java, Ada, ALGOL, RPG, LISP, SNOBOL and PROLOG. 14. Several characteristics believed to be important with respect to making a programming language good are simplicity, naturalness, abstraction, efficiency, structuredness, compactness, locality, extensibility, and suitability to its environment. 15. The factors that generally influence the process of selecting a programming language out of the many options available for coding an application are nature of the application, familiarity with the language, ease of learning the language, availability of program development tools, execution efficiency, and features of a good programming language. 16. A subprogram is a program written in such a way that it can be brought into use in other programs and used whenever needed, without rewriting. Other names used to refer to subprograms are subroutines, subprocedures, and functions. 17. Subprograms are often categorized into two basic types: procedures and functions....
View Full Document

This document was uploaded on 04/07/2014.

Ask a homework question - tutors are online