Post |
|
643 Week 13/15 Outline: Programming and Modeling Collaboration
Posted on 4/18/2025) by Liping Liu
(643 Week 13/15 Outline: Programming and Modeling Collaboration)
Collaboration Modeling Concepts:
Message: an inter-object function call or command request
Delegation: an object assigns a part of its own task to another object by sending a message to the helper object
Collaboration: A group of objects work together through delegations to perform a task that no object can perform it individually
Constraint: Object A can send to Object B only if A knows B... more >>
|
|
643 Week 12/15 Outline: Human-Computer Interaction and Collaboration Programming
Posted on 4/12/2025) by Liping Liu
(643 Week 12/15 Outline: Human-Computer Interaction and Collaboration Programming) UI Design Principles: Character, Control, and Cognition (Chapter11 of Liu)
Character refers to the goal of creating aesthetic characteristics of GUIs, i.e... more >>
|
|
Python Programming Workshop: A Hands-on Tutorial
Posted on 4/5/2025) by Liping Liu
(Python Programming Workshop: A Hands-on Tutorial) This tutorial introduces Python programming for data analytics. It covers Python language, Jupyter environment, and common extension packages such as numpy and pandas for data analytics through combination of lectures and hands-on labs... more >>
|
|
643 Week 11/15 Outline: Use Case Storyboarding
Posted on 4/5/2025) by Liping Liu
(643 Week 11/15 Outline: Use Case Storyboarding)
Review:
Exercise 1: Code the following class diagram
Exercise 2: Create a use case diagram for POS
Use Case Storyboarding:
Structured English to describe the procedure of performing a use case... more >>
|
|
643 Week 10/15 Outline: Use Case Modeling
Posted on 3/31/2025) by Liping Liu
(643 Week 10/15 Outline: Use Case Modeling) Concepts of Actors and Use Cases:
Actor -- A group of users that play the same role in using the system.
The user can be a person, an organization, or another system that communicate with the system to be developed... more >>
|
|
643 Week 9/15 Outline: Advanced Class Diagrams and Association Classes Implementation
Posted on 3/14/2025) by Liping Liu
(643 Week 9/15 Outline: Advanced Class Diagrams and Association Classes Implementation) Review: Homework
Continue: code ApplyInterest() function
Lecture 1: Advanced Association: Composition and Aggregation:
A special kinds of association that model object containment relationship (not class containment, why?)
Composition is stronger than aggregation: composition means exclusive containment whereas aggregation means shared containment
Examples: Car - Engine - Cylinder, Building-Room-Wall, Course -Section - Student - Prerequisite, Directory - File
Implementation:
C++ uses pointers for aggregation so that when the host is destroyed, the contained objects do not have to be destroyed
C++ uses regular variables for composition so that, when the host is destroyed, the contained objects will be destroyed too
Java/C# does not have the concept of pointers and so there is no difference in implementation
Lecture 2: Association Objects and Classes
It is used for capturing data that describe associations... more >>
|
|
Visual C++ Redistributable Download
Posted on 3/9/2025) by Liping Liu
(Visual C++ Redistributable Download) Visual C++ 2005
Microsoft Visual C++ 2005 Redistributable (x64)
Registry Key: HKLM\SOFTWARE\Classes\Installer\Products\1af2a8da7e60d0b429d7e6453b3d0182
Configuration: x64
Version: 6... more >>
|
|
643 Week 8/15 Outline: Class Diagrams
Posted on 3/2/2025) by Liping Liu
(643 Week 8/15 Outline: Class Diagrams) Class Diagram: A graphical model representing conceptual objects and their relationships
Two Types of Relationships:
Inheritance:
Instance Level: Child objects are special kinds of a parent object (is-a relationship)
Class Level: Child classes are sub classes of a parent class
Wrong: A child object is contained in a parent object (why?)
Example 1:
Employee, FullTimer, and PartTimer
Account, Checking, and Savings
Encapsulation Principle Revisit:
private data for parent class must be changed into protected one
behavioral members must be changed into virtual if child class needs to change their implementation... more >>
|
Post |