CNIT 182 Chapter 6 Tilley Textbook

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

36 Terms

1
New cards

What is object-oriented (O-O) analysis?

A method of describing an information system by identifying objects that represent real-world entities like people, places, events, or transactions.

2
New cards

What is the end product of object-oriented analysis?

An object model that represents the system in terms of objects and O-O concepts.

3
New cards

Why is O-O analysis popular?

It integrates easily with O-O programming languages, produces modular and reusable designs, and simplifies maintenance.

4
New cards

What is an object?

A person, place, event, or transaction that is significant to the information system.

5
New cards

What does an object contain?

Attributes (data that describe it) and methods (actions it can perform).

6
New cards

What is an instance of an object?

A specific example of a class (e.g., a specific student is an instance of the “Student” class).

7
New cards

What does the “state” of an object mean?

It describes the current status of the object (e.g., a student can be “enrolled,” “graduated,” or “withdrawn”).

8
New cards

What are attributes?

Characteristics that describe an obejct (like adjectives describing nouns).

9
New cards

Who defines object attributes?

Systems analysts during the system development process.

10
New cards

Can attributes be inherited?

Yes, objects can inherit attributes from parent classes.

11
New cards

What are methods?

Tasks or functions an object performs when it receives a message.

12
New cards

How are methods similar to verbs?

They describe actions an object can perform (ex: calculateTotal, updateRecord)

13
New cards

Give an example of a method.

A “Student” object might perform the method “registerForCourse()”.

14
New cards

What is a message in object modeling?

A command telling an object to perform a specific method.

15
New cards

What is polymorphism?

When the same message gives different meanings or results depending on the object that receives it.

16
New cards

Example of polymorphism

The message “play” might cause a “MusicPlayer” object to play a song and a “dog” object to perform a trick.

17
New cards

What is encapsulation?

Combining data (attributes) and actions (methods) into one self-contained unit (the object).

18
New cards

Why is encapsulation important?

It hides internal workings, protects data, and allows modular system design.

19
New cards

What real-world concept is encapsulation similar to?

A “black box” — you can use it without knowing its internal details.

20
New cards

What is a class?

A category or blueprint for objects with shared attributes and methods.

21
New cards

What is an instance?

A specific object within a class (e.g., “John Doe” is an instance of the “Student” class).

22
New cards

What is a subclass?

A more specific category within a class that inherits its traits but can add new ones.

23
New cards

What is a superclass?

A more general class that provides common attributes to its subclasses.

24
New cards

What is inheritance?

The strongest relationship between objects; a child object derives attributes or methods from a parent.

25
New cards

Why is inheritance useful?

It promotes code reuse and consistent structure across related classes.

26
New cards

What are relationships among objects?

Connections that define how objects interact or share information.

27
New cards

What is UML (Unified Modeling Language)?

a standardized way to visually represent system components and their relationships.

28
New cards

What does UML use to represent system elements?

A set of symbols for actors, use cases, activities, and object relationships.

29
New cards

What is a use case?

A specific function or process initiated by an actor that achieves a goal in the system.

30
New cards

What does an actor represent in a use case diagram?

A user or external system that interacts with the system.

31
New cards

What is an activity diagram?

A visual showing the sequence of actions and decision points in a process.

32
New cards

What is a class diagram?

A diagram that shows object classes and their relationships (attributes, methods, and associations).

33
New cards

Give an example of inheritance in a university system.

The “GraduateStudent” class might inherit attributes like “name” and “studentID” from the “Student” superclass but add “thesisTitle.”

34
New cards

In UML, what shape represents a use case?

An oval.

35
New cards

In UML, what shape represents an actor?

A stick figure.

36
New cards

What is a use case?

A specific function or process initiated by an actor that achieves a goal in the system.