Preview

Yayz

Good Essays
Open Document
Open Document
699 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Yayz
15-214 Midterm Review
Tyler Hedrick October 16, 2012

1

Introduction
• 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

2

Vocabulary

Subtype polymorphism - the idea of having some sort of superclass that we can subclass giving the subclass a lot of characteristics of the superclass. Example: Bird class that gets inherited by Ostrich, Duck, and Cuckoo. Dynamic dispatch - process of code invocation done at runtime since it cannot be determined at compile time. This is used in object oriented programming where we have multiple methods of the same name which take in different types. The invocation of the correct method is only known at runtime. Abstract classes - abstracting code for maximum reuse. Each abstract method defined in an abstract class is inherited by any subclass, but can be overwritten. Abstract classes cannot be instantiated Interface - a “contract”. Any class that implements an interface must have every method detailed in the interface for it to compile. Superclass / bass class - parent class of a

You May Also Find These Documents Helpful

  • Better Essays

    Venit, S., & Drake, E. (2011). Prelude to Programming Concepts and Design (5th ed.). Boston, MA: Addison-Wesley.…

    • 1800 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Yet in an OOP, modules in the form of objects interact by sending messages to other objects. The power of OOP comes from the ability to inherit, encapsulate, and abstract that procedural logic. The importance of OOP is not as much in the language mechanism as it is in the thinking and designing process.…

    • 793 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 An Introduction to Hardware, Software, and the Internet An Introduction to Software Development Objects and Classes Algorithms Java Syntax and Style Data Types, Variables, and Arithmetic Boolean Expressions and if-else Statements Iterative Statements: while, for, do–while Implementing Classes and Using Objects Strings Class Hierarchies and Interfaces Arrays…

    • 3908 Words
    • 16 Pages
    Powerful 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
  • Good Essays

    Kudler Fine Foods main network is a Virtual Private Network which is up to standard for present ay business transactions. This VPN would allow for very secure communications between headquarters, other sites and site to site, all of which will be using the Frequent Shopper Program. Additionally, individuals would have to log onto the network via a personal encrypted pin which would be a hard key assigned specifically to that…

    • 837 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    6 8c Chapter Excercises

    • 515 Words
    • 2 Pages

    In object-oriented analysis each object represents real people, places, events, and transactions (nouns). Unlike structured analysis, which treats data and processes separately, objects include data and processes that can affect the data. A major advantage of O-O designs is that systems analysts can save time and avoid errors by using modular objects, and programmers can translate the designs into code, working with reusable program modules that have been tested and verified…

    • 515 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It/210 Course Design

    • 2571 Words
    • 11 Pages

    Course Design Guide IT/210 Version 5 2 Week One: Introduction to Software Development Details Due Points 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. Course Preparation Read the course description and objectives.…

    • 2571 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    stallings, W. (2012). operating systems internal and design principles (7th ed.). Upper Saddle River, NJ: prentice hall.…

    • 608 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    A long time ago software developers or programmers did not use reusable code because there were not too many reliable, and efficient software or application software available. Therefore, whenever a big project comes forth the software developers or programmers tend to start building from the ground up. After many years of building software from the ground up for each project or request, the software developers had come to an agreement that building software from ground up is very costly and time consuming, especially for an inexperience software developer. Therefore, the software developers or engineers had come to conclusion that they need to develop and implement a platform where different software developers can benefit from each others codes or components.…

    • 671 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    It 210 Weeks

    • 2760 Words
    • 12 Pages

    Venit, S., & Drake, E. (2011). Prelude to programming: Concepts and design (5th ed.). Boston, MA: Addison-Wesley.…

    • 2760 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Bohl, M., & Ryann, M. (2008). Tools for structured and object-oriented design: An introduction to programming…

    • 1379 Words
    • 6 Pages
    Satisfactory Essays
  • Better Essays

    2. Orfali, Robert(1996) The Essential Distributed Objects Survival Guide , 2nd edition John Wiley & Sons…

    • 1167 Words
    • 5 Pages
    Better 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

    Venit, S., & Drake, E. (2009). Prelude to programming: Concepts & design (4th ed.). Boston, MA: Addison-Wesley.…

    • 890 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Intro to Programming

    • 390 Words
    • 2 Pages

    Procedure Programming and Object Oriented Programming both uses linear sequence of commands, yet Object Oriented Programming have developed a more complex and abstract approach (Stetson, 2004).…

    • 390 Words
    • 2 Pages
    Satisfactory Essays