Week 7: Object Modeling & System Diagrams

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/131

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:17 PM on 10/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

132 Terms

1
New cards

What is object modeling?

A technique that represents a system as a collection of interacting objects rather than isolated processes.

2
New cards

What is the main goal of object modeling?

To produce an object-oriented system diagram.

3
New cards

What does object modeling focus on?

Real-world things managed by a system.

4
New cards

What is encapsulation in object modeling?

Combining data structures and operations within an object.

5
New cards

What are examples of system objects?

Student, Teacher, Course, and Product.

6
New cards

What are the six core learning outcomes of object modeling?

Define modeling, identify objects, identify attributes and methods, map relationships, create class diagrams, and interpret models.

7
New cards

What is an object?

An entity with identity, attributes, and behavior.

8
New cards

What is the formula for an object?

Object = Data (Attributes) + Behavior (Methods).

9
New cards

What is object identity?

A unique identifier that distinguishes an object from other objects.

10
New cards

What are attributes?

Data or properties that describe an object's state.

11
New cards

What are behaviors?

Actions or operations that an object can perform.

12
New cards

What is a class?

A blueprint or template defining the characteristics and behaviors of objects.

13
New cards

What is an object?

An actual runtime instance created from a class template.

14
New cards

What analogy describes a class?

An architectural blueprint.

15
New cards

What analogy describes an object?

A concrete physical house.

16
New cards

What are the three core elements of a class definition?

Class name, attributes, and methods.

17
New cards

What is a class name?

A noun describing the entity type, usually singular and capitalized.

18
New cards

What are attributes in a class?

Variables that hold data values for each object instance.

19
New cards

What are methods in a class?

Functions that define the object's operational logic.

20
New cards

What are the three compartments of a UML class box?

Class name, attributes, and methods.

21
New cards

What belongs in the top compartment of a UML class box?

The class name.

22
New cards

What belongs in the middle compartment of a UML class box?

The attributes or data stored by each object instance.

23
New cards

What belongs in the bottom compartment of a UML class box?

The methods or functions performed by the object.

24
New cards

How should a UML class name be written?

As a singular, capitalized noun, such as Student.

25
New cards

How are attributes commonly written in UML?

attributeName: DataType.

26
New cards

How are methods commonly written in UML?

methodName().

27
New cards

What does a colon indicate in an attribute declaration?

The data type of the attribute.

28
New cards

What does a minus sign (-) commonly indicate in UML?

Private visibility.

29
New cards

What does a plus sign (+) commonly indicate in UML?

Public visibility.

30
New cards

What are the attributes of the Student example?

studentID: String, name: String, and email: String.

31
New cards

What are the methods of the Student example?

registerCourse() and viewGrade().

32
New cards

What are the attributes of a Student entity in the domain examples?

name, email, and gpa.

33
New cards

What are the methods of a Student entity in the domain examples?

register() and viewGrade().

34
New cards

What are the attributes of a User Account?

username and passwordHash.

35
New cards

What are the methods of a User Account?

login() and resetPassword().

36
New cards

What are the attributes of a Product?

productID, price, and stockQty.

37
New cards

What are the methods of a Product?

updatePrice() and reduceStock().

38
New cards

What are the attributes of an Order?

orderDate and totalAmount.

39
New cards

What are the methods of an Order?

calculateTotal() and cancel().

40
New cards

What is a system diagram?

A visual architectural model showing structural components, data containers, and interactions across software boundaries.

41
New cards

What is the primary system diagram in object-oriented analysis?

The UML Class Diagram.

42
New cards

What does a UML class diagram show?

Structural classes, attributes, methods, and class relationships.

43
New cards

What does UML stand for?

Unified Modeling Language.

44
New cards

What is UML?

A standard visual language for specifying, visualizing, constructing, and documenting software system artifacts.

45
New cards

What are common UML diagram types?

Class, Use Case, Sequence, Activity, and State diagrams.

46
New cards

Which UML diagram is the primary focus of this lesson?

The Class Diagram.

47
New cards

How can objects be identified from a problem scenario?

Highlight key domain nouns in the scenario.

48
New cards

What is the noun extraction strategy?

Reading problem scenarios and identifying nouns that represent potential classes or objects.

49
New cards

In the statement "A Customer places an Order containing multiple Products," what are the key nouns?

Customer, Order, and Product.

50
New cards

How can attributes be identified?

Ask what specific information must be stored for each entity.

51
New cards

What are example Customer attributes?

customerID, email, and billingAddress.

52
New cards

How can methods and behaviors be identified?

Locate action verbs in system specifications.

53
New cards

What is the verb extraction rule?

Use action verbs in requirements to identify object responsibilities and behaviors.

54
New cards

What question helps identify methods?

What actions can this object perform, or what processes are applied to it?

55
New cards

What are the attributes of the example Customer class?

customerID: String and name: String.

56
New cards

What are the methods of the example Customer class?

login(), updateProfile(), placeOrder(), and cancelOrder().

57
New cards

What is an association in UML?

A structural link connecting two classes and indicating that their objects interact.

58
New cards

What does an association represent?

A relationship between classes.

59
New cards

What is an example of an association between Student and Course?

A Student enrolls in a Course.

60
New cards

What is multiplicity in UML?

A specification of how many instances of one class can be linked to an instance of another class.

61
New cards

What does multiplicity 1 mean?

Exactly one.

62
New cards

What does multiplicity 0..1 mean?

Zero or one.

63
New cards

What does multiplicity 1..* mean?

One or more.

64
New cards

What does multiplicity 0..* mean?

Zero or many.

65
New cards

What is a one-to-one relationship?

A relationship where one instance of a class is associated with exactly one instance of another class.

66
New cards

What is an example of a one-to-one relationship?

Student and StudentID, with multiplicity 1 to 1.

67
New cards

What is a one-to-many relationship?

One instance of a class can be associated with multiple instances of another class.

68
New cards

What is an example of a one-to-many relationship?

One Customer can have zero or many Orders.

69
New cards

What is a many-to-many relationship?

A relationship where multiple instances of each class can be associated with multiple instances of the other class.

70
New cards

How can a many-to-many relationship be resolved?

Introduce an intermediate class, such as Enrollment, between the two classes.

71
New cards

How is the Student-Course many-to-many relationship resolved?

Student (1) to Enrollment (0..*) to Course (1), with Enrollment records linking students and courses.

72
New cards

What are the three classes in the complete enrollment model?

Student, Enrollment, and Course.

73
New cards

What are the attributes of Student in the enrollment model?

studentID, name, and email.

74
New cards

What are the methods of Student in the enrollment model?

register() and viewGrade().

75
New cards

What are the attributes of Enrollment in the enrollment model?

enrollmentID, date, and status.

76
New cards

What are the methods of Enrollment in the enrollment model?

enroll() and cancel().

77
New cards

What are the attributes of Course in the enrollment model?

courseID, courseName, and units.

78
New cards

What are the methods of Course in the enrollment model?

addCourse() and update().

79
New cards

What is the multiplicity between Student and Enrollment?

One Student can have zero or many Enrollment records; each Enrollment belongs to one Student.

80
New cards

What is the multiplicity between Course and Enrollment?

One Course can have zero or many Enrollment records; each Enrollment refers to one Course.

81
New cards

What is Step 1 in producing a system diagram?

Understand the system and its requirements.

82
New cards

What is Step 2 in producing a system diagram?

Identify objects.

83
New cards

What is Step 3 in producing a system diagram?

Identify attributes.

84
New cards

What is Step 4 in producing a system diagram?

Identify methods.

85
New cards

What is Step 5 in producing a system diagram?

Identify links or associations.

86
New cards

What is Step 6 in producing a system diagram?

Set multiplicity constraints.

87
New cards

What is Step 7 in producing a system diagram?

Draw the diagram.

88
New cards

What are the seven steps to produce a system diagram?

Understand the system, identify objects, identify attributes, identify methods, identify links, set multiplicity, and draw the diagram.

89
New cards

What is the scenario in the enrollment modeling walkthrough?

A student uses an online enrollment system to select and register in courses.

90
New cards

What objects are identified in the enrollment walkthrough?

Student, Course, and Enrollment.

91
New cards

What attributes are extracted for Student in the walkthrough?

id and name.

92
New cards

What attributes are extracted for Course in the walkthrough?

code and title.

93
New cards

What attributes are extracted for Enrollment in the walkthrough?

date and status.

94
New cards

What methods are added in the enrollment walkthrough?

register(), addCourse(), and cancelEnrollment().

95
New cards

What associations are established in the enrollment walkthrough?

Student links to Enrollment, and Enrollment links to Course.

96
New cards

What are the multiplicities in the enrollment walkthrough?

One Student to zero or many Enrollments; one Course to zero or many Enrollments.

97
New cards

What is the purpose of rendering UML class boxes and connectors?

To present the classes, their contents, and their relationships in a complete diagram.

98
New cards

What are the system requirements of the Online Library System case study?

Students search, borrow, and return books; librarians manage catalog items and process borrowing records.

99
New cards

What classes are identified in the Online Library System case study?

Student, Book, Librarian, and BorrowingRecord.

100
New cards

What does Student represent in the library system?

The borrower.