Chap8 Class&MethodDesign

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

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:40 AM on 4/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

Visibility

The access level of attributes and methods

2
New cards

Private

accessible only within the class.

3
New cards

Protected

accessible within the class and its subclasses.

4
New cards

Public

accessible by any class.

5
New cards

Exception

An error or violation of a constraint detected during program execution.

6
New cards

Fan-Out

The number of methods or classes that depend on a single module; lower fan-out means lower coupling.

7
New cards

Signature

The name, parameters, and return type that uniquely identify a method.

8
New cards

Protocol (Signature)

The full definition of a method's name, parameters, and return type that determines how it can be called.

9
New cards

Postcondition

A rule that must be true after a method finishes executing.

10
New cards

Precondition

A rule that must be true before a method begins executing.

11
New cards

Invariant

A condition that must always remain true for an object throughout its lifetime.

12
New cards

Framework

A collection of implemented, extendable classes that provides a base structure for developing an application.

13
New cards

Class Library

A reusable collection of pre-written classes that provide general-purpose functionality such as math, file management, or user interface elements.

14
New cards

Component

A self-contained, encapsulated piece of software with a well-defined API that can be plugged into a system to provide specific functionality.

15
New cards

API (Application Program Interface)

A defined set of method calls or interfaces that allow external programs or components to interact with a system or object.

16
New cards

Normalization

The process of restructuring design elements to eliminate redundancy and identify missing classes or attributes.

17
New cards

Derived Attribute

An attribute whose value is calculated from other attributes (e.g., total = price × quantity).

18
New cards

Active Value

A stored or cached computed value that updates automatically when any of its input attributes change.

19
New cards

Caching Computational Results

Storing calculated results (like totals) to avoid recomputation every time the value is needed.

20
New cards

Object-Based Language

A programming language that supports objects but does not support inheritance (e.g., Visual Basic).

21
New cards

Object Constraint Language (OCL)

A formal UML language used to express constraints, preconditions, postconditions, and invariants.

22
New cards

Structured English

A precise, English-like language used to describe algorithms or method logic.

23
New cards

Method Specification

A written description that defines what a method does, its inputs, outputs, and constraints for coding implementation.

24
New cards

Event Driven

A programming approach where the system waits for events and executes specific methods in response to them.

Explore top notes

note
MCB_410
Updated 369d ago
0.0(0)
note
Chapter Three: The Social Self
Updated 1144d ago
0.0(0)
note
Resistance and V=IR
Updated 1270d ago
0.0(0)
note
Irregular -oir Verbs
Updated 1248d ago
0.0(0)
note
Animal Farm Test
Updated 1256d ago
0.0(0)
note
MCB_410
Updated 369d ago
0.0(0)
note
Chapter Three: The Social Self
Updated 1144d ago
0.0(0)
note
Resistance and V=IR
Updated 1270d ago
0.0(0)
note
Irregular -oir Verbs
Updated 1248d ago
0.0(0)
note
Animal Farm Test
Updated 1256d ago
0.0(0)

Explore top flashcards

flashcards
Week 3 : Deviance Crime and Law
41
Updated 563d ago
0.0(0)
flashcards
Asi Se Dice Level 3: Chapter 3
77
Updated 1243d ago
0.0(0)
flashcards
Wanted: A Just Right Government
28
Updated 1187d ago
0.0(0)
flashcards
Ser Adjectives
38
Updated 1158d ago
0.0(0)
flashcards
UX-Study
131
Updated 1028d ago
0.0(0)
flashcards
Semester 2 Vocab
120
Updated 1160d ago
0.0(0)
flashcards
Duits woordenschat hobbies
36
Updated 1130d ago
0.0(0)
flashcards
Week 3 : Deviance Crime and Law
41
Updated 563d ago
0.0(0)
flashcards
Asi Se Dice Level 3: Chapter 3
77
Updated 1243d ago
0.0(0)
flashcards
Wanted: A Just Right Government
28
Updated 1187d ago
0.0(0)
flashcards
Ser Adjectives
38
Updated 1158d ago
0.0(0)
flashcards
UX-Study
131
Updated 1028d ago
0.0(0)
flashcards
Semester 2 Vocab
120
Updated 1160d ago
0.0(0)
flashcards
Duits woordenschat hobbies
36
Updated 1130d ago
0.0(0)