Pbject Oriented Programing

In: Computers and Technology

Submitted By srs107
Words 875
Pages 4
Object-oriented Programming (OOP) / Event-Driven Programming (EDP) versus Procedural Programming (PP)

Strayer University
CIS Computer Programing Design
Francis Straz
Dr. Kolta

In OOP, code and data are merged into one standard item, an object. An object is an abstraction of a set of real-world item. The object would contain all information and functionality for that item; ideally, information about a particular item should reside in only one place in a system. Programmer’s information within an object that is encapsulated from the rest of the Program. If a change is made in the object, it doesn’t mean that it also has to be changed throughout the program. It may not have to be changed. However, when we use Object Orientated programming if an object is changed significantly enough then there is no way around the notion if probably changing the way it is called from the rest of the program and thus breaking the rest of the program as well. One thing to keep in mind is how many times the programmer plans on using the object.

When the programmer uses traditional programming functions and these functions do a specific task. In Object Orientated programming languages include features such as "class", "”Inheritance” and "polymorphism" that the power and flexibility of an object. So you can build off of one object and create a more advanced version of that object. Inheritance is often an approach to reuse program code of existing objects, in order to establish a subtype coming from a current object, or both, based upon programming language . In traditional inheritance where objects are defined by classes, classes can inherit characteristics and behavior from existing classes called base classes. Therefore, resulting classes are recognized as derived classes, subclasses or child classes. The connections of classes through inheritance provide an…...

Similar Documents

Pt1420 Object Oriented Programing

...Object Oriented Programming Object-oriented programming or OOP is a programming paradigm that represents concepts as “objects” that have attributes that describe the objects and associated procedures known as methods. Objects, which are usually instances of classes, are used to interact with one another to design applications and computer programs. Some advantages of OOP are it provides a clear modular structure for programs which makes it good for defining abstract data types where implementation details are hidden and the unit has a clearly defined interface. It makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones. And it provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. Some disadvantages are that OOP can be larger than other programs. In the early days of computing, space on hard drives, floppy drives and in memory was at a premium which meant that more money was going to be spent. Another is that it requires a lot of work to create. A great deal of planning goes into an object oriented program well before a single piece of code is ever written. Initially, this early effort was felt by many to be a waste of time. Finally OOP were slower than other programs, partially because of their size. Other aspects of OOP demand more system resources, thus slowing the program down. REST and CRUD CRUD specifies a minimal set...

Words: 367 - Pages: 2

First Programing in C#

...Programing in C# Select 7 bottons using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WFejemplo { public partial class frmboton : Form { public frmboton() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { btnprincipal.TextAlign = ContentAlignment.MiddleLeft; } private void button3_Click(object sender, EventArgs e) { btnprincipal.Enabled = true; } private void btninvisible_Click(object sender, EventArgs e) { btnprincipal.Visible = false; } private void btnvisible_Click(object sender, EventArgs e) { btnprincipal.Visible = true; } private void btnsalir_Click(object sender, EventArgs e) { Application.Exit(); } private void btndeshabilitar_Click(object sender, EventArgs e) { btnprincipal.Enabled = false; } private void btncolor_Click(object sender, EventArgs e) { btnprincipal.BackColor = Color.Chocolate; } private void btncentrar_Click(object sender, EventArgs e) { btnprincipal.TextAlign = ContentAlignment.MiddleCenter; } private void btnderecha_Click(object......

Words: 1167 - Pages: 5

Object-Oriented Analysis and Design

...Generic Exam: Object-Oriented Analysis and Design Time: 2.5 hours Marking: 100 marks, plus 10 marks for the bonus question. Purpose This purpose of this generic exam is to allow you to see what the real final exam will look like, and the relative weighting in terms of marks. The only significant difference between this generic exam and the final one is that the latter will include a specific case study. Exam Process This examination is composed of multiple sections. Each subsequent section relies upon standard solutions from the previous sections. You are required to submit your section answers—on completion—to the examination coordinator, and trade it for the standard solution. Use the provided standard solution as the basis for your subsequent work. On completion of the examination, hand in the entire set of standard solutions. Do not reveal or discuss the standard solutions, either during or after the examination. Marking ▪ Please note that the use case questions have the least marks, since they are relatively straightforward and not an object-oriented skill. In contrast, the questions on responsibility assignment, patterns, and design of collaborations have the most marks, since these are the most important object-oriented design skills. Evaluation Objectives ▪ Ability to identify primary use cases and record them in expanded, essential form. ▪ Ability to identify outstanding concepts, associations, and attributes......

Words: 688 - Pages: 3

Community-Oriented Policing Analysis

...Community-Oriented Policing Analysis This analysis confirms the issue of community-oriented policing began in the early years of a growing country. Building the first organized police forces in America become complicated by the influx of immigration from other countries. The ethnic, racial, and cultural backgrounds of immigrants, and citizens of this nation provided a continual reshaping, and growing of police organizations. The role of the police organizations became multi-faceted and complex for law enforcement agencies. Early Years As the country began to increase with the influx of immigrants, the government had to take control, and build police departments to help in control of the criminal element. As the first American city, Boston, MA, incorporated the first paid police force, New York, and Philadelphia followed. The American police departments slowed in the failure of contemporary policing because of official and political interference. The city counselors look for newer ways of incorporating law enforcement principles into the infrastructure of the new country. Sir Robert Peel’s and August Vollner’s principles caused many failed, or false starts in the evolution of early American law enforcement into modern day policing. The core principles of these concepts attributed to community-oriented policing. The main criteria created to prevent crime and provide the means to control disorder. This reorganization of respect secured the appreciation of the community to......

Words: 1032 - Pages: 5

Intro Programing

...use. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. * 1991 - Visual Basic: Developed by Microsoft. It is a third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model first released in 1991. Microsoft intends Visual Basic to be relatively easy to learn and use. * 1993 - Ruby: Developed by Yukihiro Matsumoto. Yukihiro Matsumoto who wished to create a new language that balanced functional programming with imperative programming. Matsumoto has said, I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python. That's why I decided to design my own language. * 1995 - Java: Developed by James Gosling and Sun Microsystems. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. * 1995 - JavaScript: Developed by Brendan Eich. Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft's Visual Basic. 2000s * 2000 - ActionScript: Developed by Macromedia (now Adobe Systems). It is used primarily for the development of websites and software......

Words: 791 - Pages: 4

Exploring Programing Languages

...Exploring Programing Languages 1970's BASIC - designed by John Kemeny and Thomas Kurtz at Dartmouth College. At first BASIC was modeled on the batch languages of the time in that all of the data that the program would process had to be included in a DATA statement before the program could be run. Pascal - after BASIC was developed, Niklaus Wirth produced a language suitable for teaching computer science C - Dennis Ritchie reworked some of Thompson's ideas to produce the language C in the early seventies at Bell Labs. FORTRAN - added structured statements borrowed from Algol to produce Fortran 77. COBOL- more static and only submitted to slight revision in 74. 1980's C++ - a general purpose programming language. It has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation. Perl - a family of high-level, general-purpose, interpreted, dynamic programming languages. The languages in this family include Perl 5 and Perl 6. Ada - originally designed by a team led by Jean Ichbiah of CII Honeywell Bull under contract to the United States Department of Defense (DoD) from 1977 to 1983 to supersede the hundreds of programming languages then used by the DoD. Objective-C - a general-purpose, object-oriented programming language originally developed in the early 1980s. It is the main programming language used by Apple. Caml ( Categorical Abstract Machine Language) is a dialect of the ML programming...

Words: 561 - Pages: 3

Information Technology – Oriented Strategy

...INFORMATION TECHNOLOGY – ORIENTED STRATEGY * Daniel Bell (1985) examined the sociological consequences of information technology. * Bell was an American sociologist, writer, editor, and professor emeritus at Harvard University who was best known for his contributions to post-industrialism. * One of his most influential books was entitled The Coming of Post-Industrial Society. * The three components to a post-industrial society, according to Bell: * a shift from manufacturing to services * the centrality of the new science-based industries * the rise of new technical elites and the advent of a new principle of stratification. *  Gloria Schuck and Shoshana Zuboff looked at psychological facets. * Zuboff claims that information technology is widening the divide between senior managers and operational level managers. She also claims that prior to widespread use of computer systems, managers, even at most senior level, engaged in both strategic decisions and routine administration but as computers facilitated, these activities move down the hierarchy. * In 1990, Peter Senge collaborated with Arie de Geus and theorized the importance of the use of information in the success of the organization. * Learning organization is an organization where people continually expand their capacity to create the results they truly desire, where new and expansive patterns of thinking are nurtured, where collective......

Words: 699 - Pages: 3

Worker Oriented Methods

...JWA-Chapter 3: Worker-Oriented Methods 1. Introduction a. This chapter focuses on methods that focus on attributes or characteristics that people need to be able to complete their jobs successfully. This kind of information is used to hire qualified people. b. Worker-oriented methods are the most ‘psychological’ of the methods of job analysis. 2. Job Element Method c. This method blurs the distinction between what gets done and what abilities are required to do the job. This method breaks the job down into pieces called elements and are described in terms that job incumbents can easily understand. d. JEM focuses on work-behaviors and the results of this behavior rather than more abstract characteristics. e. An element in JEM is a combination of behaviors and associated evidences. f. Contents of Elements i. Contents cover a broad range of behaviors, including cognitive, psychomotor, and work habits. ii. One of the advantages of JEM over more narrow analytic approaches to job analysis is the use of work habits as elements. g. Steps in the JEM iii. Gathering Information for JEM 1. Usually conducted by a professional analyst and a team of six subject matter experts, who are usually incumbents and supervisors. 2. During the first session, SMEs brainstorm and rate a list of elements that the analyst compiles. A list of job elements and ratings of each will be created.......

Words: 973 - Pages: 4

Agile Family Programing

...Family is defined as the “a group consisting of parents and children living together in a household.” This is a general definition to a very broad meaning behind the word “family.” The Agile Family Programing and Agile Family tool kit enables us to focus the “group” of individuals that consists of each member of the family playing a specific role and having specific responsibilities in order to communicate and make connections. The Agile Family Program works on three concepts: adaptability, empowering your children and telling the story. Focusing on the positive and making sure that our children feel the positive vibe will allow them to grow and bring success to a happy family. The lifestyle of an average family is already structured in some way based on work, school, outside school activities, so the key is to adapt to each circumstance and to make it work. The theoretical perspective that best explains using the approach of Agile and the Tool kit would be the Symbolic Interactionist Perspective that explains “cultural ideas shifted, with housework, care of children, and paid labor coming to be regarded as the responsibilities of both men and woman.” This shift in perspective of male and female role can support the Agile Family Programing and Agile Family Tool Kit by empowering each family member to contribute to the positive cohesion of family. It has been statically proven that US families have made still a bigger impact on spending time with the family than the......

Words: 406 - Pages: 2

Customer Oriented

...CUSTOMER ORIENTED COMMUNICATION LI0413 NAME: TONG PIN STUDENT ID: 22491 PROGRAMME: BACHELOR OF SC (HONS) IN COMM & PR CONTENT | 1.0 INTRODUCTION OF ORGANISATION | 2 | 2.0 COMMUNICATION ANALAYSIS2.1 REVIEWS ON THE COMMUNICATION ACTIVITIES2.2 WHY DOES THE COMMUNICATION TAKE PLACE?2.3 EFFECTIVENESS OF THE COMMUNICATION | 2334 | 3.0 STRENGTH & WEAKNESSES PRACTICES3.1 STRENGTHS3.2 WEAKNESSES | 456 | 4.0 RECOMMENDATIONS | 6 | REFERENCES | 7 | APPENDIX | 9 | Summary Cosmetics line is always popular in our daily lives, especially for the ladies. There are variety of cosmetics brand in the market nowadays, and we as consumer have the choices to choose in the big cosmetics market. As the cosmetics market grow bigger, these cosmetics brand are selling more than products but also services. Their service are moving more towards to customer-oriented so that they could meet the needs of customer thus gain customer loyalty towards their brand. This brings me to the core of my assignment, which is to identify and analysis the communication activity of the cosmetics brand and recommend a better customer-oriented communications for the brand. I have choose The Body Shop as my main subject. 1.0 Introduction of Organisation The Body Shop is solely franchisee by Rampai-Niaga Sdn Bdn in West Malaysia. There are more than 64 stores operating in the western Malaysia. The Body Shop is driven by values, high quality skin and body care retailer for natural...

Words: 2440 - Pages: 10

Object Oriented Programming -Java

............................................................................................................................ 4 Provide the UML diagrams for the given problem with clear explanations on the design decisions. Derive detailed Use Case diagram, Class diagram & a sequence diagram. Whenever necessary document the relevant assumptions you made. ...................................................................................... 4 TASK B ....................................................................................................................................................... 7 Provide an alternative OO design for the same problem ......................................................................... 7 Object Oriented Known as Methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance. ......................................................................... 7 TASK C ....................................................................................................................................................... 9 There are many system design patterns available in system development. Critically evaluate singleton, factory and abstract factory design patterns and apply the most suitable design pattern for your system development................................................................................................................................. 9 TASK D .............

Words: 4819 - Pages: 20

Organization of Programing Languages

...After all studies where carried out, I came to a conclusion that one programing language can belong to more than one paradigm C++ C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. Some people say that C++ is a middle language because it has the features of high level and low-level language. As one of the most popular programming languages in the world, C++ is widely used in the software industry. C++ is also used for hardware design to analyze structure. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. AspectJ AspectJ is a general-purpose Aspect-Oriented extension to java programming language. It was created at Palo Alto Research Center Incorporated (PARC), now it is an open source project and part of the Eclipse Foundation. AspectJ has everything that Java has and more which means every valid Java program is also a valid AspectJ program. The main goal of AspectJ development is modularizing crosscutting concerns such as logging, error checking and handling, synchronization, context-sensitive behavior, performance optimizations, monitoring and logging, debugging support, and multi-object protocols. Aspect-oriented programming (AOP) is a programming paradigm built on top of the object oriented paradigm and aims to modularize crosscutting concerns by isolating......

Words: 3773 - Pages: 16

Programing Chapter 1

... T Besides the popular, comprehensive programming languages such as Java and C++, many programmers use scripting languages such as Python, Lua, Perl, and PHP.  F Professional computer programmers write programs to satisfy their own needs.  T The heart of the programming process lies in planning the program's logic.  F Once a program is completely coded, it is ready for a company or organization to use.  F A flowchart is an English-like representation of the logical steps necessary to solve a problem.  T An infinite loop is a flow of program logic that repeats and never ends.  F Alan Turing is often regarded as the first programmer.  T Programmers can use either procedural programming or object-oriented programming to develop programs.  A _____data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them. a. Processing b. Inputting  c. Outputting  d. Converting  B ____ errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every error. a. Logic b. Syntax  c. Input  d. Process  B If you use an otherwise correct word that does not make sense in the current context, programmers say you have committed a ____ error.  a. syntax  b. logic  c. semantic d. programming  B A(n) ___ is a named memory location whose value can vary.  a. input  b. variable  c. output d. logic  D Computer programmers......

Words: 1631 - Pages: 7

App Programing

...together, refine requirements, and generate change requests.  Developers listen.  Customers talk.  Requirements and change requests are “timeboxed".     Iterations require between 1 day and 3 weeks. At some stage, exploratory prototypes may evolve into operational prototypes. Focus Group Sessions   Restricted to a specific duration last about 2 hours are led by an experienced facilitator, who keeps the group "on focus”  Changes that cannot be accommodated within existing timeboxes are eliminated.  If necessary to stay "in the box", secondary requirements are dropped.      by having clear goals regarding the kind of information that needs to be elicited by preparing an issue-oriented agenda in advance of the meeting by ensuring that adequate discussion is directed toward each issue by ensuring everyone has an adequate opportunity to participate are followed by a report from the facilitator Rapid Application Development and Prototyping Rapid Application Development and Prototyping Constraints of RAD 31 Constraints of RAD 32  The criterion for acceptance of deliverables must be “fitness for a business purpose".  i.e. “Build the right product before you build it right”.  All constituencies that can impact application requirements must have representation on the development team throughout the process. Rapid Application Development and Prototyping  Customers,......

Words: 3016 - Pages: 13

Programing Paradigm

...structured as a collection of properties to find in the expected result, not as a procedure to follow. Given a database or a set of rules, the computer tries to find a solution matching all the desired properties. The archetypical example of a declarative language is the fourth generation language SQL, as well as the family of functional languages and logic programming 3. functional programming , Functional programming is a subset of declarative programming. Programs written using this paradigm use functions, blocks of code intended to behave like mathematical functions. Functional languages discourage changes in the value of variables through assignment , making a great deal of use of recursion instead. 4. object-oriented programming , object-oriented languages (like Simula ,Smalltalk, C++ , C# , Eiffel and Java) were created. In these languages, data , and methods of manipulating the data, are kept as a single unit called an object . The only way that a user can access the data is via the object's" methods " (subroutines). Because of this, the internal workings of an object may be changed without affecting any code that uses the object. 5. logic programming The logic programming paradigm views computation as automated reasoning over a corpus of knowledge. Facts about the problem domain are expressed as logic formulae, and programs are executed by applying inference rules over them until an answer to the problem is found, or the collection of formulae......

Words: 393 - Pages: 2

Jeff Garlin | Upper Body Shell for Dongmingtuo X12 Wifi FPV Drone Quadcopter | Fortune Arterial: Akai Yakusoku OVA English Subbed