Preview

Introduction to Object Oriented Programming Concepts

Better Essays
Open Document
Open Document
624 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Introduction to Object Oriented Programming Concepts
Unit 4: Introduction to Object Oriented Programming Concepts
Student Name
Principles of Information Technology IT50-1101D
David Reed Ph.D., PMP
17th, May 2011

Table of Contents Abstract 3 Unit 4: Introduction to Object Oriented Programming Concepts 4 Programing Assignment 5 References 8

Abstract

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.
Unit 4: Introduction to Object Oriented Programming Concepts

Object Oriented Programming, models the way people think about and deal with the world. In the tradition styles of programming, a sequence of instructions were used to perform a computer task called out in a program. Object-oriented programming uses objects. These objects have behaviors, hold information, and can interact with objects in one or more classes (Farrell, 2011).
When you perform an action on a graphical component you generate an event. In event-driven programming the program responds to events. The program responds to events that the user generates in interacting with graphical user interface (GUI) components. A GUI represents the information and actions available to a user through graphical icons and visual indicators such as secondary notation, as opposed to text-based interfaces, typed command labels or text navigation (Farrell, 2011).

Programing Assignment
Design a class named pizza. Data fields include a string field for toppings (such as pepperoni) and numeric fields for diameter in inches (such as 12) and price (such as 13.99). Include methods to get and set values for each of



References: Farrell, J. (2011). An object-oriented approach to programming logic and design. (3rd ed.) (3 ed.). Boston: Thompson: Course Technology. webopedia.com. (2011). object-oriented programming. Retrieved May 17, 2011, from webopedia.com: http://www.webopedia.com/TERM/O/object_oriented_programming_OOP.html

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

    Describe what an event is and how events and graphical user interfaces (GUI) are related.…

    • 693 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    You need to think of state and operations together as an entity, and then design your program as interactions between entities that exchange state and activate operations. OOP then is more of a design philosophy, and if I may say an art, then something with a rigorous definition or hard and fast rules.…

    • 793 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    Understanding object-oriented methodologies is often difficult. You already understand that object-oriented analysis and design emulates the way human beings tend to think and conceptualize problems in the everyday world. With a little practice, object-oriented programming will become second nature to you.…

    • 760 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    IT Level 3

    • 1133 Words
    • 6 Pages

    These events include user input events in user interfaces, these can be resolute by events that you apply such as mouse click, messages from programs. Event driven programming is the example used in the interfaces e.g. could be JavaScript these actions have a response to the user input.…

    • 1133 Words
    • 6 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
  • Satisfactory Essays

    A graphical user interface also plays a major part in event driven programs as a lot of event driven programs contain various controls each with its own events that enable the user to communicate and interact with the program.…

    • 280 Words
    • 1 Page
    Satisfactory 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
  • 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
  • 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
  • Satisfactory Essays

    Reusability of Code

    • 808 Words
    • 4 Pages

    Object-oriented programming (OOP) and procedural programming are two programming paradigms. Procedural programming is a method of writing software. It is a programming practice centered on the procedures or actions that take place in a program. Object-oriented programming centers on the object. Object-oriented programming creates objects from abstract data types that encapsulate data and functions together (Gaddis 2010). There are many similarities and differences 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.…

    • 808 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Unified Modeling Language

    • 1928 Words
    • 8 Pages

    The four boxes full of text over there on the facing page are our first examples of UML. UML stands for Unified Modeling Language, and it’s the most common notation used for creating diagrams that describe object-oriented systems. It’s beyond the scope of this book to teach you everything there is to know about UML. However, we’ll be sprinkling in a lot of the really critical stuff throughout the course of the book. If you’re going to be moving to Objectopia, you should definitely have a reasonable understanding of UML. In this, our first look at UML, we’ll look at the notation used to represent classes (probably the single most commonly used aspect of UML) as well as the notation used to represent individual objects.…

    • 1928 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Assignment

    • 1642 Words
    • 7 Pages

    JOptionPane.showMessageDialog(null, str + String.format("The area for the circle of radius " + radius + " is " +area));…

    • 1642 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Objective: The student is able to use object diagrams to communicate ideas in familiar domains. Initial script for introducing object diagrams:…

    • 816 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    This lecture notes covers unit1. 1. Introduction: M255 module: Object Oriented Programming with Java concerns on teaching the principles of Object Oriented such as objects, classes, inheritance, and polymorphism using Java language. You have two CDs in this module: • Online Application CD which has the StarOffice application, and • M255 CD that has the blueJ, microworld and others. When you install M255 CD be sure that all options are selected, just determine the folders you want to install on and follow instructions during the installation process. 2. Fundamental hardware and software concepts What is a computer? A device that accepts input, processes data, stores data, and produces output. These are the main basic tasks of a computer. Simply, any computer system is composed of computer hardware and software. The hardware components of a computer system are the electronic and mechanical parts. The software components of a computer system are the intangible parts: it is a general term of all the applications, programs, and systems that run on your computer. Software consists of sets of instructions that tell a computer how to perform a particular task. 2.1 Computer Hardware The main hardware devices are classified as: 1. Essential parts of a computer : CPU & main memory 2. Peripheral devices, which is any component of the computer that is not part of essential devices, such as: Input/Output devices, secondary storage (Storage devices). Some peripherals are mounted in the same case as processor such as hard disks, others such as printers are physically outside the computer. An input device gathers and translates input into a form that the computer can process, these are devices such as: keyboard, mouse, scanner, microphone, cardreader, and bar reader.…

    • 5210 Words
    • 21 Pages
    Powerful Essays

Related Topics