Programming C++

Topics: Programming language, Programming paradigm, Imperative programming Pages: 4 (1076 words) Published: February 14, 2014


In relation to computer programming explain in details the following: 1 Procedural Programming Languages
A list of instructions telling a computer, step-by-step, what to do, usually having a linear order of execution from the first statement to the second and so forth with occasional loops and branches. Procedural programming languages include C, C++, FORTRAN, Pascal, and Basic. The procedural programming language involves dividing a large program into a set of sub-procedures or subprograms that perform specific tasks. In this methodology, a program is divided into one or more units or modules. These modules can be user-defined or can be taken from libraries. A module can consist of single or multiple procedures. These procedures are also known as functions, routines, subroutines, or methods in various programming languages. Procedural programming languages have some benefits such as: Easy to read code, easy maintainable program code and the code is flexible as you can change a specific procedure that gets implemented across the program. 2 Structured programming Languages

Structured programming (modular programming) is a subset of procedural programming that enforces a logical structure on the program being written to make it more efficient and easier to understand and modify. Certain languages such as Ada, Pascal designed with features that encourage or enforce a logical program structure. Structured programming was first suggested by Corrado Bohm and Guiseppe Jacopini. The two mathematicians demonstrated that any computer program can be written with just three structures: decisions, sequences, and loops. The most common methodology employed was developed by Dijkstra. In this model the developer separates programs into subsections that each has only one point of access and one point of exit. 3 Object-Oriented Programming Languages

The programming challenge was seen as how to write the logic, not how to define the data. Object-oriented programming takes...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • It Programming Essay
  • Essay on How to Use Dev C
  • Generations of Programming Language: Research Paper
  • Java vs. C++ Essay
  • Comparison of Object Oriented and Structured Programming Essay
  • Programming Language and Java Essay
  • The Evolution of Computer Programming Languages Essay
  • Evolution of Programming Languages Essay

Become a StudyMode Member

Sign Up - It's Free