Course: CSCI 207 Problem Solving and Programming Using Visual Basic® Lecture 23: OOD/OOP – Designing the next class in the drawing hierarchy Edinboro University.

Slides:



Advertisements
Similar presentations
IGSS Step 1: Object type Step 4: Choose symbol Step 2: Data Management Step 3: PLC addressing Object Wizards.
Advertisements

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 21 - “Cat and Mouse” Painter Application.
Summary of the lecture We discussed –variable scope –instance variable declarations –variable lifetime.
OO Process Steps  Define requirements Allocate and Derive requirements Map requirements to use cases Map requirements to classes  Define use cases Draw.
D. Roberts PHYS 121 University of Maryland PHYS 121: Fundamentals of Physics I September 6, 2006.
Functions Section 4.3. Last week, we were introduced to procedures Procedures are used in support of top- down program design. –They are used to create.
6. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Explain how events can be used to identify use cases that define requirements.
1-digit by 4-digit Multiplication
Partial Sums An Addition Algorithm.
Simplifying Equations Before Solving
Week 2: WINDOWS PROGRAMMING Chapter 15 in “Beginning Visual C# 2010” ebook Chapter 4 in “”MCTS_Self-Paced_Training_Kit” ebook.
Student registers to the website Student login Student views current courses Register for available courses View the first course item. with order number.
Visual Basic .NET BASICS
Module 0 Part 3: Polynomials and Factoring Obj: To manipulate polynomials and to revisit factoring Evi: Students will able to solve problems about polynomials.
Today’s agenda: Death Rays. You must know when to run from Death Rays. Refraction at Spherical Surfaces. You must be able to calculate properties of images.
Csci 490 / Engr 596 Special Topics / Special Projects Software Design and Scala Programming Spring Semester 2010 Lecture Notes.
© ABB University - 1 Revision C E x t e n d e d A u t o m a t i o n S y s t e m x A Chapter 4 Engineering Workplace Course T314.
STEPS FOR MULTIPLYING A 2-DIGIT NUMBER BY ANOTHER 2-DIGIT NUMBER With Partial Products.
Tips on Active Lecturing Prepared by Mervin Maxwell.
Quadratic Equations Learning Outcomes  Factorise by use of difference of two squares  Factorise quadratic expressions  Solve quadratic equations by.
Module 6 REVIEW. Redraw the objects in an array What are some possibilities?
What is Pi ( ), exactly? A. the ratio of a circle's circumfrence over its radius B. the ratio of a circle's circumfrence over its diameter C
Essentials of Visual Modeling w/ UML Instructor Notes
When estimating, 1.) You should be able to do the computation in your head 2.) Your answer should be close to the exact answer 1-1 Estimating sums, differences.
What is Handling Information?.
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Adding multiples of 10 Add 1 to 2 digit numbers with regrouping Add 3 two digit numbers Ways.
Write each equation in slope-intercept form. 1. x-y = x = 5y 3. 4x + 7y = x – 1/5y = y + 8.1= 7.5x.
PaintPictureBoxDemo Refers to the PaintPictureBoxDemo Visual Basic Program Included With The Lecture.
Today’s agenda: Plane Mirrors. You must be able to draw ray diagrams for plane mirrors, and be able to calculate image and object heights, distances, and.
Course Title Course subtitle. 2 Color Scheme 93b5d f7f7f 147 | 181 | | 127 | b52 0 | 91 | 82 99ccff 153 | 204| |33|
CSCI-383 Object-Oriented Programming & Design Lecture 17.
V7 Foundation Series Vignette Education Services.
Variables and Inheritance Part 1 Alice. Review: Properties A class defines properties for its own kind of object. When an object is created (instantiated),
IS3321 Information Systems Solutions for the Digital Enterprise Lecture 12: Revision Lecture Rob Gleasure robgleasure.com.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Using Cascading Style Sheets Module A: CSS Basics.
Internal Logical Files (ILF) An internal logical file (ILF) is a user identifiable group of logically related data or control information maintained within.
Number Systems Write the decimal value of the binary number
The Movement To Objects
Visual arts daily objectives
Refraction at Spherical Surfaces.
Android Layouts 24 July 2018 S.RENUKADEVI/AP/SCD/ANDROID LAYOUTS 1.
Problem Solve Suppose a librarian needs to keep track of all the books in a library. How would we write a program to solve this problem?
Instructor: Stan Schuyler
The Liberty Simulation Environment as a Pedagogical Tool
2-Digit Subtraction.
لقادة المستقبل إعداد وتقديم د.إسماعيل محمد الحفصي المهارات القيادية
Object-Oriented Programming
Adding 2-Digit Numbers Name: ___________________________
USING GRAPHS TO SOLVE EQUATIONS
Lecture Number 3 PLC Scanning.
Objectives The student will be able to:
!'!!. = pt >pt > \ ___,..___,..
Objectives The student will be able to:
Solve Linear Equations by Elimination
Presentation and Evaluation
TE2: Combining Like Terms
Mutually Exclusive Events
Who Wants to be an Equationaire?. Who Wants to be an Equationaire?
Objectives The student will be able to:
Web programming and advanced development techniques
adding a two-digit number
Warm Up 12/3/2018 Solve by substitution.
Add and Subtract I can use materials or drawings to show how numbers fit together to 100. I can make organised lists showing the numbers that fit together.
Structure Analysis I.
1-digit by 4-digit Multiplication
Ch. 1 Vocabulary Alice.
Objectives The student will be able to:
Using Online Revision Tutorial to Enhance the Student Experience
Week 2: WINDOWS PROGRAMMING
Algorithms CSCI 235, Spring 2019 Lecture 8 Recurrences III
Presentation transcript:

Course: CSCI 207 Problem Solving and Programming Using Visual Basic® Lecture 23: OOD/OOP – Designing the next class in the drawing hierarchy Edinboro University of PA. Distance and Online Learning Professor: Stanley T. Schuyler, D.Sc. CSCI Lecture 23S. T. Schuyler, D.Sc.1

Lecture 23 - Objectives Review and Revise the Data Hierarchy Diagram Develop the Class Test and Demonstrate Operation of the Class Move up the class hierarchy to the level – A drawing is an instance of a collection of – We want to establish this class – Add that may contain exactly 1 (so far – before we expand to line objects) – Be able to erase and redraw them CSCI Lecture 23S. T. Schuyler, D.Sc.2

DATA Decomposition for Drawing Application – V2 CSCI Module 43S. T. Schuyler, D.Sc.3 Drawing Surface,, …,,,

Module 45: Summary of Module 44 In the Last Module we: – Added the Class Pt and tested it will draw a digitized x,y pt – Added an “Erase” event What we didn’t do: – Is keep the points around (none stored) CSCI Module 44S. T. Schuyler, D.Sc.4

DATA Decomposition for Drawing Application – V2 CSCI Module 43S. T. Schuyler, D.Sc.5 Drawing Surface DrawingSet1,, …,,, PictureBox1 Single Instance of the Class Class Declaration Instance

DATA Decomposition for Drawing Application – V2 CSCI Module 43S. T. Schuyler, D.Sc.6 Drawing Surface DrawingSet1,, …,,, PictureBox1 Single Instance of the Class Class Declaration Instance

Module 45 Summary Composed the Class – Developed the AddGeometry() method – Developed the AddPoint() method – Developed the Draw() Method Instantiated a single Instance Demonstrated a User level Add Point Operation – Add, Draw – Erase – Redraw CSCI Module 45S. T. Schuyler, D.Sc.7