Opc Disadvantages

Superior Essays
There are different types of programming such as object-oriented programming (OOP), event-driving programming (EDP), and procedural program, (PP). Some people may agree that there are advantages of using OOP instead of only using PP. A class may have one attribute and one method, in which the class represents an event, the attributes the class stores and the purpose of the method. The class, attributes, and methods share a relationship. Visual Logic is used to learn about programming but lacks in OOP features. There are advantages to using the EDP as compared with using PP.
OOP vs PP. OOP is a programming language which is centered on data and the methods used to access the data. The objects interfacing with the data could be a menu system for the users, a form pulling data to make usable information in a form, or other ways of working with data. The procedural programming centers on procedures created in the program which focus on actions to be done. An advantage of using OOP instead of PP is grouping of common information in a class. According to Shelly & Rosenblatt (2012), class are where all objects share common attributes and methods, classes can be looked at as a template, (p. 256). For an example when collecting information on a form for laptops and desktops, common information collected might be RAM, processor speed, hard drive space. Desktop may include number of fans can be installed. In OOP, one class to common collect information for both laptops and hard drives which is RAM, processor speed, and drive. Where in PP, code will be written the laptops with all the information, and then with desktops asking for the information. Using the PP method makes the programming code larger and the OOP would be simpler. Another advantage of OOP over PP would be easier to add another form. For an example form for collecting information on tablet which could include processor, operating system, and hard drive space. In OOP, just need to extend the class that contains the common information. Where in PP a new form will need to be recreated and repeated for the common information. In general expanding the classes with the common information in OOP is easier than recreating forms by using PP. OOPS has more flexibility and easier for using repeated code when making changes or addition into the program. Class, attribute, and method. In OOP, classes, attributes, and methods are used in creating a program. According to Farrell (2013), a class is a group of objects with common attributes, an attributes are characteristics that define the object, and method is like a function, procedure or considered a subroutine, (p 48, 408). An example of a class would be called monitors, the attributes in the monitor class would be screen size, resolution, refresh rate, and display colors. A method used with the class and attributes would be to use resolution as a parameter and collect information on different monitors such as looking up all monitors with a 1920 x 1080 resolution for a report. The class represents all the different brands in a database of monitors with similar information. The attributes represents the information that is similar to each of the brands. There are different methods that
…show more content…
Working with Visual Logic, it is more procedural programming based with creating procedures to perform actions. Classes describes a group of objects with common attributes and Visual Logic does not have a way of creating a class. Another thing with the Visual Logic is that the same variables can be numbers or letters. In other programming languages, normally if a variable is defined as a number, it can only store numbers. A string variable could store both letters and numbers. The variables in Visual Logic can be both and not show an error message. Polymorphism is another feature lacking from Visual Logic. According to docs.oracle.com (n.d.), polymorphism is a principle in biology where an organism have different forms or stages, which can be applied to OOP, in that using same method to pass different variables, (docs.oracle.com). The procedures in Visual Logic contain functions to carry out an action. Variables can be passed into the procedures but are normally set, where with polymorphism, a method acting appropriately according to is passed into its

Related Documents

  • Decent Essays

    is a software-based protocol that provides a way to locate files, devices or even individual in a network. LDAP uses port 389 and is uses by Microsoft as the main protocol that opens up this type of access. LDAP is lightweight which indicates a smaller version with a smaller code and it is part of X.500. The latter acts as a standard for network directory services. /***************************…

    • 442 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Nt1330 Unit 2 Assignment

    • 505 Words
    • 3 Pages

    The assignment during the third week was to find the information that would entail the usage of the two definable word with, which came as an abstraction and encapsulation in reference to the design methods of object oriented programming. The example that would come to mind is the design of one or more of the software application used during the past few weeks within the online lecture class and the usage of hiding information by design. The design of any program can be the structure of the application and it does only what its attribute’s and behavior entail it to do, forgetting what other purposes the application has in mind for operation. The information that would best describe the usage comes as the control flow of the design on the programming that have been implemented so far in the published manual areas during the past week. This is encompassed by the design of the statement in the functionality of the program setting of the statements, functions and the way the program is executed for operations.…

    • 505 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Nt1310 Unit 6

    • 910 Words
    • 4 Pages

    The following diagrams show how the user would act and interact with the system and the various activities that user would perform: 2.3.1 NOTATIONS DATA FLOW…

    • 910 Words
    • 4 Pages
    Decent Essays
  • Improved Essays

    Nt1310 Unit 1 Study Guide

    • 1037 Words
    • 5 Pages

    Common attributes and methods of similar objects should be considered Super class contain attribute and method Superclass generalizes all the object sharing methods and attributes .particular object class declare attributes and methods particular they inherit the general attributes/methods from the super-class. The superclass, such as an attribute that maintains the frequency of data collection. Superclass, which defines the common features of all instruments, such as an identifier, and get and test operations .subclasses inherit the attributes and operations from their super classes…

    • 1037 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Oppc Essay

    • 743 Words
    • 3 Pages

    Neuroscientists at the John Hopkins University School of Medicine were able to determine that a group of cells found in the adult brain remain highly active by transforming into insulating nerve fibers. These nerve fibers then formed scars that contributed to tissue repair when they were artificially inserted into a group of mice. Their work brings to light how these multifunctional cells communicate with one another in the central nervous system (CNS), also known as the brain and spinal cord. The removal of one of these special cells, known as oligodendrocyte precursor cells (OPCs), causes a neighboring cell to rapidly divide in order to restore the lost cell and maintain a proper balance of cells within the brain. OPCs eventually can mature to become support cells known as…

    • 743 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    A third category is handling procedures and…

    • 436 Words
    • 2 Pages
    Improved Essays
  • Decent Essays

    HIT 137 – Assignment 2 30 Marks Questions 1 - 5 Marks Write a python program to write your first name on the screen by using turtle module. import turtle background = turtle. Screen() background.bgcolor("white") # creates a graphics window shashi = turtle. Turtle() shashi.up() shashi.goto(-120,0) shashi.down() shashi.backward(30) shashi.right(90) shashi.forward(30) shashi.left(90) shashi.forward(30) shashi.right(90) shashi.forward(30) shashi.right(90) shashi.forward(30) shashi.left(90) shashi.up() shashi.goto(-90,0) shashi.down() shashi.forward(60) shashi.backward(30) shashi.left(90) shashi.forward(30) shashi.left(90) shashi.forward(30) shashi.left(180) shashi.forward(60) shashi.up() shashi.goto(-30,-60) shashi.down() shashi.left(180)…

    • 544 Words
    • 3 Pages
    Decent Essays
  • Decent Essays

    Pros And Cons Of Namc

    • 177 Words
    • 1 Pages

    The NAMWC started with humble beginnings. It all started when early hunters and anglers realized that they needed to set limits to protect the wildlife they love to preserve it for future generations to come. Although this is an appropriate approach to the issues and the conditions during that time, it is very different now. Thus, I believe the NAMWC is a bit outdated, and failed to address the modern wildlife-related problems. Overpopulation of previously conserved species is an example of modern wildlife-related problems.…

    • 177 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    D1-Evaluate the suitability of event driven programs for non-graphical applications Non-graphical applications: Now a days all devices and the latest technology uses the event driven programming that event means input and output, Event driven are very suitable for graphic user interface. A GUI presents the user with a variety of graphic selections and menu that can be used with key board or other input. An event drive programming languages uses this GUI approach to provide the user variety of controls. Each control responds to event with the code that is just right for each event for how the program is probable to be used.…

    • 772 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    The first virtual math manipulative I would like to discuss is the virtual base ten blocks. Base ten blocks are a very versatile manipulative and can be used with many math concepts. The biggest advantage the virtual base ten blocks have over the physical base ten blocks is that the virtual ones require no storage space in the classroom. The second advantages is those with less dexterity can manipulate the virtual base ten blocks easier than the physical base ten blocks. However, a major drawback or disadvantage of the virtual base ten blocks is if the technology isn’t working you can’t access the manipulative.…

    • 455 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    [online] Ictroi.net. Available at: http://ictroi.net/advantages-and-disadvantages-sap-erp-solution/ [Accessed 28 Nov. 2016]. Techopedia.com.…

    • 423 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    We are in the digital age and we need to find clever ways of learning, experiencing and teaching related to technologic developments. From the printing press, we had not handled any special revolution except computer and internet. These two revolutionary tools would have been helping human history in every type of all fields, and of course in schools. The computer has recently been in schools. Before using computers, there were some kinds of methodologies used in classes.…

    • 1575 Words
    • 6 Pages
    Improved Essays
  • Improved Essays

    Divided Disadvantages

    • 521 Words
    • 3 Pages

    Research Project #1 In Steven Elias Alvarado’s Study, Delayed Disadvantage: Neighborhood Context and Child Development, he discusses how children growing up in disadvantaged neighborhoods may impact cognitive development. The Unit of Analysis in this study is the individuals, in that he analyzes the children over time. Whereas many previous neighborhood studies of cognitive and behavior outcomes have been restricted to cross-sections or very short snapshots, which has “limit[ed] our understanding of whether age acts as a moderator for neighborhood effects on these outcomes”(2), he has chosen to use longitudinal data. He uses Cohort Panel Studies, in that he measures the same sample of children and same cohort (children 5-14 years old) at different…

    • 521 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    In particular, it allows for unlimited creative potential and innovation in the problem solving process, as compared to the rational decision making process. Similar to the rational decision making process, information must be gathered and analyzed, as has been done regarding expansion of the ED, as discussed in detail previously. Unlike the rational making decision process however, this particular model provides an illumination phase, wherein the leader gains insight to address this problem. Regarding the ED, my insight was not necessarily gained spontaneously, but more so in a combination between experience and aforementioned knowledge acquired by years of experience in this area, coupled with spontaneous incidents that transpired while working in the…

    • 1645 Words
    • 7 Pages
    Improved Essays
  • Improved Essays

    Object-oriented programming is a programming program based on the concept of objects, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods (Rentsch, T. (1984). Java and Python are both widely used Object oriented programming languages that were developed in the late 1990s and are still currently used today. This paper will discuss the background of both languages along with the key similarities and differences between them. Python is an object oriented programming language that is currently used for statistical analysis, web applications and some programmers are giving it the potential to be used to write mobile applications.…

    • 779 Words
    • 4 Pages
    Improved Essays