Preview

Introduction to Object Oriented Programming

Satisfactory Essays
Open Document
Open Document
1005 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Introduction to Object Oriented Programming
Computer Programming 2

Programming Paradigm

Procedural Programming




style of programming in which the programming task is broken down into a series of operations (called procedures) applied to data (or data structures)
C and Pascal

Object-Oriented Programming





extension of procedural programming breaks down a programming task into a series of interactions among different entities or objects Java, C++, and Smalltalk

Introduction to OOP

* Property of STI
Page 1 of 15

Computer Programming 2

Object-Oriented
Programming
type of programming in which programmers define not only the data structures, but also the types of operations (methods) that can be applied to the data structure enables programmers to create modules that do not need to be changed when a new type of object is added most widely used paradigm instead of focusing on what the system has to do, focus on:


what objects the system contains



how they interact towards solving the programming problem

Introduction to OOP

* Property of STI
Page 2 of 15

1 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
2 _________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________

Computer Programming 2

Object-Oriented
Programming
Illustration of OOP

Introduction to OOP

* Property of STI
Page 3 of 15

Computer Programming 2

Object-Oriented
Programming
Advantages of OOP over conventional approaches: 

It provides a clear modular structure for programs which makes it good for defining abstract data types where implementation details are

You May Also Find These Documents Helpful

  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Concept Programing

    • 443 Words
    • 3 Pages

    a) Find a candidate loop invariant I. Show the induction steps using which you find I.…

    • 443 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Intro to programming

    • 534 Words
    • 3 Pages

    Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 534 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    The value of a model depends on the view taken, but none is best for all purposes. (L4)…

    • 341 Words
    • 2 Pages
    Satisfactory 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
  • Good Essays

    Reusability of Code

    • 511 Words
    • 3 Pages

    Object-oriented programming and procedural programming are two programming paradigms that distribute common attributes as well as various differences. A procedure is an additional name for a routing, technique or function. Procedures and objects both use algorithms to develop the system and any logical calculation that is necessary for the program. A function is divided from variables and data compositions. Procedures are intended to run the code in a precise order, while OPP merges data with the function in the function changes the data that is bound to it into a unit identified as an object. Other useful features such as abstraction, encapsulation, and inheritance can be achieved while working with OPP.…

    • 511 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Object Oriented Design

    • 263 Words
    • 2 Pages

    The object oriented design to be used CD and DVD media collection system to identify the information about the media. You will need some general information to make the system work correctly.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Computer scientists recognized a need for order, and structured programming was the result. They rejected the Goto statement, and instead proposed the three basic control structures that we still use today: sequence, selection, and iteration. They also advocated grouping data into structures the use of subroutines that receive and output data. A closely related subset is Procedural Programming, which incorporates the idea of modularity: creating independent, reusable pieces of code that perform specific functions.…

    • 826 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Chapter 3: Understanding Data Types ..........................................................53 Chapter 4: Understanding C# Statements ....................................................75 Chapter 5: Understanding Reference Data Types ..........................................99 Chapter 6: Making Decisions in Code .........................................................135 Chapter 7: Statement Repetition Using Loops ............................................153 Chapter 8: Arrays ......................................................................................175…

    • 109499 Words
    • 438 Pages
    Powerful Essays
  • Satisfactory Essays

    El Presidente (English: The President; Filipino: Ang Pangulo) is a 2012 biopic film based on the life of General Emilio Aguinaldo, the first president of the Philippine Republic. The film stars Laguna Governor Jeorge "ER" Ejercito Estregan in the title role, with Cesar Montano, Christopher de Leon, Nora Aunor, and Cristine Reyes in supporting roles.It is one of the official entries for the 2012 Metro Manila Film Festival and was released in theaters nationwide on December 25, 2012. The film was produced by Scenema Concept International, CMB Films and Viva Films, together in cooperation with the San Miguel Group of Companies, Petron, Boy Scouts of the Philippines, Las Casas Filipinas de Azucar and the Film Development Council of the Philippines. It premiered on December 18, 2012, at the SM Mall of Asia's SMX Convention Center.…

    • 796 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Oop Language

    • 9049 Words
    • 37 Pages

    Bismillah hir Rehman nir Raheem ------------------------------------Assalat o Wasalam o Allika Ya RasoolALLAH Digital Logic & Computer Design (2 Ed.) th Morris Mano Contents Ch Ch Published By: Muhammad Hassan Riaz Yousufi…

    • 9049 Words
    • 37 Pages
    Satisfactory Essays
  • Good Essays

    Object Oriented Model

    • 456 Words
    • 2 Pages

    The object-oriented(OO) model actually had its beginning in the 1970s, but it did not see significant commercial use until the 1990s. This sudden emergence came from the inability of then existing RDBMSs (Relational Database Management Systems) to deal with complex data types such as images, complex drawings, and adio-video files. The sudden explosion of the Internet and the World Wide Web created a sharp demand for mainstream delivery of complex data.…

    • 456 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Yayz

    • 699 Words
    • 3 Pages

    • Threads and Concurrency – Concurrency is a crucial system abstraction (bkgd process while interacting with user) – Concurrency is necessary for performance • Object-oriented programming – Flexible design and reusable code – Organize code bottom-up – Focus on concepts rather than operations • Analysis and Modeling – Practical specification techniques and verification tools – Address challenges of threading, correct library usage, etc. • Design – Proposing and evaluating alternatives – Modularity, information hiding, and planning for change – Patterns: well-known solutions to design problems • Objects – A package of state (data) and behavior (actions) – Data and actions ∗ Fields - holds an object’s data values · Like the fields of a struct in C · Access to fields can be restricted ∗ Methods - describe operations or actions on that data · like functions associated with an abstract data type · have access to all fields in the object · method calls can be though of as “messages” to the object 1…

    • 699 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    i.e. you can’t run a program written in a Sun Microsystem computer on an Dell with an…

    • 1485 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    Study Paper

    • 7107 Words
    • 29 Pages

    Object-oriented programming is a method of implementation in which programs are organized as cooperative collections of objects, each of which represents an instance of some class, and whose classes are all members of a hierarchy of classes united via inheritance relationships.…

    • 7107 Words
    • 29 Pages
    Powerful Essays