Preview

Procedural and Objective Programming

Good Essays
Open Document
Open Document
648 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Procedural and Objective Programming
Procedural and Objective Programming
PRG/211 – Algorithms and Logic for Computer Programming

Procedural and Objective Programming Computer hardware runs off different programs that are installed on a computer. For these programs to run, they need to be coded correctly with minimal bugs. Designing and coding are the essentials of programming. The various methods to code a program have grown over the years. There are two basic types of programming that have been around for a long time; procedural programming, and object oriented programming. Procedural programming uses consists of modules that run a series of procedures to obtain data whereas objective oriented programming combines code and data together and may be reused. Although procedural programming was introduced before object oriented programming, both have become the standards on how newer languages are developed.
Modules in Procedural Programming Procedural programming is mostly used for the development of simple programs. It is probably the closest type of programming to machine code. It is the simplest way of telling a computer what to do. Procedural programming uses modules or functions that gather information from the user to execute a series of steps that reads, calculates, and forms the end result for the user. The data from this type of programming is separated from the code which can become a problem if more data is introduced. The benefit of this programming is that large programs may be divided into small programs. The functions of procedural programming use variables. “A variable is a storage location that can be accessed and changed by developer code” (Crews & Murphy, 2009, "Your Second Program: Hello Name"). These variables are basically symbols or names that represent a value. These variables can store information that can be used again, only in the same type of function. For example, a function to calculate a person’s weight cannot be used to calculate a person’s height. This is



References: Crews, T., & Murphy, C. (2009). A guide to working with Visual Logic. Retrieved from The University of Phoenix eBook Collection database. Gaddis, T. (2010). Starting out with programming logic and design (2nd ed.). Retrieved from The University of Phoenix eBook Collection database.

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
  • Good Essays

    at runtime. Visual Logic is a terrific tool for grasping basic programming concepts such as…

    • 5177 Words
    • 21 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

    Compter Science

    • 819 Words
    • 4 Pages

    Programming statements in a low-level language will be close to natural language and will use standard mathematical notation.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Crews, T., & Murphy, C. (2009). A guide to working with Visual Logic. Boston, MA: Cengage Learning.…

    • 1379 Words
    • 6 Pages
    Satisfactory Essays
  • Better Essays

    Object-oriented Languages: mainly features as same as the imperative languages because these languages are evolved from imperative languages. The specialty rests on the object-oriented concepts in these languages. Widely used for every kind of software programming and the most commonly used languages are considered to these languages. Java, C#, C++ and Python are few examples.…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Good Essays

    It210 Syllabus

    • 2333 Words
    • 10 Pages

    Objectives 1.1 Describe the importance of using a structured, modular approach when creating program requirements, design, and code. 1.2 Identify how a computer processes and stores data. Read the course description and objectives. Read the instructor’s biography and post your own. Read Appendix A. Read Ch. 2 of Prelude to Programming. Read Ch. 3 of Prelude to Programming.…

    • 2333 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Intro to Computers

    • 340 Words
    • 2 Pages

    Most computer software falls into one of three categories: compilers and other translator programs, software applications, and system software. Describe and give examples of each. [RQ, no. 2]…

    • 340 Words
    • 2 Pages
    Satisfactory 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
  • Powerful Essays

    Rotational Motion

    • 820 Words
    • 4 Pages

    History, Classification, Basic Components, CPU, Memory, Peripheral Devices, Storage Media & Devices, Physical & Logical Storage, Data Organization, File Storage, Programs & Software, System Software, Application Software, Operating Systems, Programming Languages, Compilation & Interpolation, Problem Specification, Algorithms, Flow Chart, Pseudo Code, Basic Programming Techniques, Data Types & Declaration, Header File & Linkage, Variables & Constants, Arrays, Input/Output, Termination, Remark, Control Structures, Branching, Conditional Structures, Repetition and Loops, Basic Library Functions.…

    • 820 Words
    • 4 Pages
    Powerful 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
  • Satisfactory Essays

    Object-oriented programming and procedural programming are two programming paradigms. A programming paradigm is a fundamental style of computer programming, and they differ in the way different elements of the program are represented and how steps for solving problems are defined (Ragel, 2011). The above statements describes two popular ways of defining and solving a problem involving the need for a computer program and are similar in nature but also have some important differences that need to be weighed when choosing which one will be used. The similarities and differences will be discussed in terms of procedural programming modules and objects in relation to; reusability, security (as in hiding code), and the passing of data within the program itself.…

    • 729 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    mr shravan

    • 881 Words
    • 4 Pages

    Write a java application that allows the user to read, display, sort, and search the city (type String),…

    • 881 Words
    • 4 Pages
    Satisfactory Essays