| Post |
|
643 Week 11/15 Outline: Use Case Modeling
Posted on 4/11/2026) by Liping Liu
(643 Week 11/15 Outline: Use Case Modeling) Review:
Python coding: Player and Teams
Python Coding: Customer, Account, CheckingAccount and SavingsAccount
Concepts of Actors and Use Cases:
Actor -- A group of users that play the same role in using the system... more >>
|
|
643 Week 10/15 Outline: Class Diagrams
Posted on 4/8/2026) by Liping Liu
(643 Week 10/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 >>
|
|
643 Week 9/15 Outline: Object Orientation
Posted on 4/2/2026) by Liping Liu
(643 Week 9/15 Outline: Object Orientation) Review on Data File Processing * (not for Spring 2026)
Example: Create a text file called users.txt that stores a list of user passwords. Then create a login form to validate users against the file... more >>
|
|
Why Theocratic Rulers Must Be Annihilated (Blog by Li Chengpeng)
Posted on 3/16/2026) by Liping Liu
(Why Theocratic Rulers Must Be Annihilated (Blog by Li Chengpeng)) (一): 1994年1月10日,美丽的卢旺达高原正处于短雨季和长雨季之间。阳光忽明忽暗,午后雷阵雨。这天下午,加拿大将军达莱尔秘密会见了高级线人皮埃尔。 他得到一个惊人情报:胡图族将与军方联手进行大屠杀,他们的兵力足以在20分钟内杀死1000名图西族人。 第二天,达莱尔向联合国总部发出标注“最紧急”的电报,这封电报,后来被世人称为“种族灭绝传真”... more >>
|
| Post |