Preview

P1 Programming paradigms

Good Essays
Open Document
Open Document
768 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
P1 Programming paradigms
Programming paradigms
What is programming?
Programming is writing, designing and maintaining the source code of a computer programme. There are 3 different types of programming:
Procedural
Object orientated
Event driven
Procedural
Procedural programming is a term used to describe the way which a computer programmer writes a program. This method of developing software which is also called an application revolves around keeping code as concise as possible. Its operators by reading the tasks that are given in order. Popular software written using procedural programming is Linux. It follows the instructions in a sequence and repeatedly. It’s not always the preferred method of coding applications and software which is highly complex will require literally hundreds or thousands of lines of code making it hard to work with. Examples of computer procedural languages are BASIC, C, FORTRAN and Pascal.
The advantages of procedural programming are that is allows quick completion and is usually faster than object-orientated programming. It’s relatively simple and the ease of its implementation of compliers and interprets. Procedural programming requires only less memory and has the ability to be strongly modular or structured.
The disadvantages are that it tends to be relatively low level compared to some other paradigms, and as a result can be very much less productive. There is more importance given to the operation on data rather than the data and data is exposed to whole programme so there isn’t much security for data. Also procedural programming is difficult to relate to real world objects.
Object-oriented
Object-orientated programming is where programmers not only define the data type of a data structure but also the types of functions that be applied to it. Therefore, the data structure becomes an object which includes both data and functions. Also, programmes can create links between one object and another so that objects can attain characteristics from other objects.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming? Under what circumstances is object-oriented programming best suited? Under what circumstances is procedural or algorithmic programming best suited?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Procedural language is used for developing simple applications. The languages that use the procedural programming are Pascal and C languages. Some of the benefits of the procedural programming are: easy to read program code, easily maintainable program code as various procedures can be debugged in isolation, code is more flexible as you can change a specific procedure that gets implemented across the program.…

    • 337 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming? Under what circumstances is object-oriented programming best suited? Under what circumstances is procedural or algorithmic programming best suited?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Procedural language is a type of computer programming language that specifies a series of well-structured steps and procedures within its programming context to compose a program. It contains a systematic order of statements, functions and commands to complete a computational task or program. It is also known as imperative language. Advantages of procedural language is easy to read program code, easy maintainable program code as various procedures can be debugged in isolation, and code is more flexible as you can change a specific procedure that gets implemented across the program.…

    • 240 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    While making a program in .NET for commercial usages, there are many methods which are used to prevent reverse engineering and unauthorized usage of that particular program. While keeping the code 's functionality intact, the obfuscation methodology changes the coding in such a way that it becomes quite difficult even with tools to reverse engineer. Remember it becomes difficult not impossible to reverse engineer an obfuscated code. There are numerous ways and means to…

    • 793 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    In a procedural language you tell the computer each step to perform. The computer performs those steps and, if they are well written, you will end up with our desired…

    • 383 Words
    • 2 Pages
    Good Essays
  • Good Essays

    alan turing

    • 794 Words
    • 4 Pages

    A programmer who needs to implement a specific algorithm, especially an unfamiliar one, will often start with a pseudocode description, and then "translate" that description into the target programming language and modify it to interact correctly with the rest of the program. Programmers may also start a project by sketching out the code in pseudocode on paper before writing it in its actual language, as a top-down structuring approach, with a stepwise…

    • 794 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    A long time ago software developers or programmers did not use reusable code because there were not too many reliable, and efficient software or application software available. Therefore, whenever a big project comes forth the software developers or programmers tend to start building from the ground up. After many years of building software from the ground up for each project or request, the software developers had come to an agreement that building software from ground up is very costly and time consuming, especially for an inexperience software developer. Therefore, the software developers or engineers had come to conclusion that they need to develop and implement a platform where different software developers can benefit from each others codes or components.…

    • 671 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CSO Gaddis Java Chapter1 1

    • 2953 Words
    • 29 Pages

    1-5 Why Program? • Computers are tools that can be programmed to perform many functions, such as: • spreadsheets • games • databases • etc. • word processing • Computers are versatile because they can be programmed. • Computer Programmers implement programs that perform these functions. © 2012 Pearson Education, Inc.…

    • 2953 Words
    • 29 Pages
    Satisfactory Essays
  • Powerful Essays

    Task 1

    • 2644 Words
    • 8 Pages

    Procedural programming is a programming language that works with like a step by step guide of how to do something. Like a procedure in a work place it the same thing over and over in step hence the name. In order for a procedural program to work you need to set up a set of instructions for the user to follow. Like telling them what to input each time. You also have to set up a sequence of instruction steps so this can tell the computer what to do first and second and so on. Procedural programming languages are: C++, C, FORTRAN, Pascal and Basic.…

    • 2644 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Intro to Programming

    • 390 Words
    • 2 Pages

    Procedure programming can be written in C, HTML, Perl, and Visual Basic Script while Object Oriented Programming can be written in C++, Java, and .NET language (Stetson, 2004).…

    • 390 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Structured programming is one of the several different ways in which a programming language can be constructed. "It was originally introduced as a means of getting away from the 'spaghetti' code that was used in the early days and to provide some means by which programmers could more easily follow code written by other programmers." (Hendren, 1998) Structured programming is a procedure-oriented method of designing and coding a program.…

    • 962 Words
    • 4 Pages
    Better Essays
  • Good Essays

    pt1420 assignment 1

    • 728 Words
    • 3 Pages

    Programming language is a vital and essential part of computers. Even though you do not actually see these languages, they are the bases and make up of software programs. Software is essential to a computer because without software, a computer can do nothing. All of the software that we use to make our computers useful is created by individuals known as programmers; these programmers use different types of programming languages to develop software programs. The first primitive programming language was actually created for the invention of the ‘difference engine’. This invention created in 1822 by Charles Babbage was a mechanical calculator that would tabulate polynomial functions.…

    • 728 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP. OOP was developed to increase the reusability and maintainability of source code.…

    • 624 Words
    • 3 Pages
    Better Essays
  • Powerful Essays

    The following information will introduce general knowledge in basic programming concepts. It shall discuss basic types of computer programming languages as-well-as program development. There are three basic types of computer programming languages that will be discussed in a simple and easy to understand manner. We shall also describe the program development cycle and discuss why it is important to use a structured and organized process to create a computer programming language.…

    • 1318 Words
    • 6 Pages
    Powerful Essays