Preview

Introduction to OOP

Satisfactory Essays
Open Document
Open Document
1088 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Introduction to OOP
Introduction to OOP
Reference:
Kendal, S. (2009). Object Oriented Programming using Java. Simon Kendal & Ventus Publishing ApS
Learning Outcomes:
Discuss what is OOP
Describe the benefits of OOP
Describe the basic concepts of abstraction, encapsulation, generalization, and polymorphism
Programming Paradigm
Structured
Programs could be developed in sensible blocks that make the program more understandable and easier to maintain

Activity 1
Assume that we undertake the following activities on a daily basis. Arrange this list into a sensible order then split this list into three blocks of related activities and give each block a heading to summarize the activities carried out in that block.

Get out of bed
Eat breakfast
Park the car
Get dressed
Get the car out of the garage
Drive to work
Find out what your boss wants you to do today
Feedback to the boss on today’s results
Do what the boss wants you to do

Feedback 1
Organize related activities into groups; give each group a title that summarizes those activities

Get up: Go to work: Get out of bed Get the car out of the garage Eat breakfast Drive to work Get dressed Park the car

Do your job: Find out what your boss wants you to do today Do what the boss wants you to do Feedback to the boss on today’s results

>>>Structuring the list of instructions

Feedback 1
Sections of the structures can be improved

Go to work: Get the car out of the garage Drive to work Park the car

> listen to the local traffic and weather report > decide whether to go by bus or by car > if going by car, get the car and drive to work > else walk to the bus station and catch the bus
Programming Paradigm
Object Oriented
Model instructions with the data they manipulate and store these as components together

Advantage: reusable software components

Activity 2
Imagine a personal address book with some data stored about your friends Name, Address, Telephone Number

You May Also Find These Documents Helpful

  • Powerful Essays

    Define five (5) major tasks, each with one to two (1-2) subtasks. Also write a brief description for each task.…

    • 1220 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Data: (add your results here in numbers - Chart 1 is used in Activities 1-4)…

    • 671 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    UNV103

    • 793 Words
    • 4 Pages

    3. Identify two main discoveries you made about how you spend your time – based on the 3-day sample from the Topic 1 Time-Monitoring Worksheet. Recopy them on this worksheet. Also, note what you spent more and/or less time doing than you thought you would. Write these also. Below is an example of one area (personal goal) completed; please use this as a guide to fill out the entire chart for all areas: personal, academic, and professional goals.…

    • 793 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Work Package

    • 351 Words
    • 2 Pages

    In my opinion, the activities should be divided into different levels. We should try to pick the most important activities and try to avoid the less-important ones. Put the feasible activities on the list and delete the impractical ones.…

    • 351 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    hsc level 3

    • 1349 Words
    • 6 Pages

    This assignment is divided into 6 tasks, some of which are workbooks and activities that will be completed and written up in class.…

    • 1349 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Be productive during the work day. Know the work. Plan the work and work the plan. Strive to complete daily tasks. Ask questions, as needed. Get and give formal and informal feedback.…

    • 841 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    The process of planning and developing a program can be tied together to simplify the whole process. The outcome…

    • 758 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CSO Gaddis Java Chapter1 1

    • 2953 Words
    • 29 Pages

    All rights reserved. 1-6 Why Program? Aspects of a computer program that must be…

    • 2953 Words
    • 29 Pages
    Satisfactory Essays
  • Powerful Essays

    Glass law states that the “Requirement deficiencies are the prime source of project failures”. He says that collecting the requirements of a project is the first step which leads to complete the project successfully. Robert Glass made several researches and investigated the failed projects and concluded the above statement.…

    • 1520 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    OOP Assigment 1 Sit 1

    • 4788 Words
    • 20 Pages

    Inheritance is when a class (subclass) has the same attributes and methods of another class (parent class); this is done by creating class from an existing class. While a subclass has properties derived for the parent class, it can also have properties of its own.…

    • 4788 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    You wake up at six a.m., grab a cup of coffee, watch the news, eat breakfast,…

    • 949 Words
    • 4 Pages
    Good Essays
  • Good Essays

    It210 Syllabus

    • 2333 Words
    • 10 Pages

    Course Description This course provides students with a basic understanding of programming practices. Concepts covered include flowcharting, pseudocode methodologies, and an understanding of programming practices. Students will learn how these concepts, when properly applied, improve program design. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • • University policies: You must be logged into the student website to view this document. Instructor policies: This document is posted in the Course Materials forum.…

    • 2333 Words
    • 10 Pages
    Good Essays
  • Powerful Essays

    Task 1

    • 2644 Words
    • 8 Pages

    Explain the limitations of the following three program approaches and include two typical uses of each:…

    • 2644 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Personal Career Goals

    • 783 Words
    • 4 Pages

    Computer technology has gone from being undiscovered to being used globally. We live in an exciting time technologically. Over relatively short spans of time, technology has improved our lives in many ways. Advances in computing and technology save lives, make day-to-day living easier, and have improved quality of life for billions of people. The impact that computing has on the world is fascinating to me. I have spent the last few years studying programming, software development, and computer programming and have felt great satisfaction in learning about what makes up this computing technology.…

    • 783 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    When I am getting ready for work I would first lay out my outfit for the day. Secondly I would take a shower. After taking a shower I would dry my hair and body. Next I would get dressed and style my hair. After that I eat breakfast before putting my socks and shoes on, then I leave and drive to work.…

    • 190 Words
    • 1 Page
    Satisfactory Essays