Question

In: Computer Science

What is an Object? Coad and Yourdon - A person or thing through which action, thought, or...

What is an Object?


Coad and Yourdon - A person or thing through which action, thought, or feeling is directed. Anything visible or tangible; a material product or substance.


James Martins – From a very early age, we form concepts. Each concept is a particular idea or understanding we have about our world. These concepts allow us to make sense of and reason about the things in our world. These things in our world. These things to which our concepts apply are called objects.


Grady Booch – A tangible and/or visible thing; something that may be apprehended intellectually; something toward which thought or action is directed. An individual, identifiable item, unit, or entity, either real or abstract, with a well-defined role in the problem domain. Anything with a crisply defined boundary.


Coleman - An object is a thing that can be distinctly identified. At the appropriate level of abstraction almost anything can be considered to be an object. Thus a specific person, organization, machine, or event can be regarded as an object.


OBJECT THINK


The object thinks approaches help us believe that an object in a computer system is like us. Hence to find out about the object, we let it talk about itself

An example is a button on a screen

I am a button on the screen

I know what window I am attached to


I know my position in the window


I know my height and width


I know background color


I know what the label that appears on me says


I know what to do when pushed


Using Object Think in terms of the environment the object is in.

An example is a dog

I am actually a dog

I know people call me Rover


I know people with certain voices and smells regularly feed me.


I know how to eat, sleep, roll over, bark and chase cars


  An example of a dog in the context of a veterinarian’s administrative work


I am a dog object in the work context of a veterinarian

I know my license number, name, breed, birth date and weight


I know the owner I am associated with.


I know the check up results I am associated with


I know my next appointment date and time


I know if my patients’ status is “all paid up” or “payment overdue”


TASK ONE


Identify and name the following objects and identify the work context based on the object think description provided.


             I am a ___________ in the work context of a ____________.


                        I know my title, author, and call number


                        I know how to be checked out.


                        I know how to be returned.


             I am a __________ in the work context of a ____________.


                        I know my title, author, publisher, price and ISBN number


                        I know how to be put on order


                        I know how to be stocked


                        I know how to be sold


                        I know how to be returned


TASK TWO


Use the object think approach to write description for the following


I am actually a car


I am a car object in the work context of a repair shop


I am a car object in the work context of a car collector.


Solutions

Expert Solution

TASK ONE:

I am a __Book__ in the work context of a __Library__.

                        I know my title, author, and call number

                        I know how to be checked out.

                        I know how to be returned.

I am a __Book__ in the work context of a __Book Shop__.

                        I know my title, author, publisher, price and ISBN number

                        I know how to be put on order

                        I know how to be stocked

                        I know how to be sold

                        I know how to be returned

TASK TWO:

The description is given below:

I am actually a car

I know how to derive

I know how many gears I have

I know how many windows I have

I know my owner name

I know my color

I know my name

I know my manufacturer company name

I know the model number

I am a car object in the work context of a repair shop

I know my owner name

I know which color I have

I know a new color name

I know how much time it will take to repair

I know my serial number in the garage

I know what defect I have

I am a car object in the work context of a car collector.

I know my owner name

I know my collector name

I know my serial number in the garage of collector

I know my collector address

I know how to be returned


Related Solutions

What are the object oriented concepts and which all object oriented concepts are used in the...
What are the object oriented concepts and which all object oriented concepts are used in the given program? Consider the following code and explain how each of the object oriented concepts are applied in the given program. (CO1) class Vehicle { string brand; public: void honk(); void honk(int); }; void Vehicle::honk() { cout << "Tuut, tuut! \n" ; } void Vehicle::honk(int x) { for(int i=0;i<x;i++) cout << "Tuut, tuut! \n" ; } int main() { Vehicle V1; V1.honk(); V1.honk(3); }
which of the following occurs when a person focuses on a nearby object (less than 20 ft away)?
which of the following occurs when a person focuses on a nearby object (less than 20 ft away)?a.ciliary zonule tightensb. ciliary muscle contractc. lens flattensd. two of the abovee. all of the above
what advocacy action might a nurse take to improve heatlhcare through legislation.
what advocacy action might a nurse take to improve heatlhcare through legislation.
what is the most important thing of opportunity cost? what is the most important thing of...
what is the most important thing of opportunity cost? what is the most important thing of scarcity in economic ?
The person being nursed is thought to be unique and necessitates creative and imaginative ways of...
The person being nursed is thought to be unique and necessitates creative and imaginative ways of being cared for. Today’s technologies have created innovative ways to care for such people. Locsin does not define a human being as being purely natural, but references those who have implanted devices such as cardiac pacemakers, insulin pumps and artificial limbs as also being whole (Locsin R. , 2010). As a nurse what is the importance of technology in nursing practice? How does affect...
Consider a two-person problem in which there is a single seller who owns an indivisible object and single potential buyer of the object Each agent has a value for the object that is known to him but not known to the other agent.
Consider a two-person problem in which there is a single seller who owns an indivisible object and single potential buyer of the object Each agent has a value for the object that is known to him but not known to the other agent. The mechanism for (possible) trade is that each agent announces a price, and if the buyer's announcement is larger than the seller's announcement, the object is sold to the buyer at the seller's announced price. There is...
Compare/contrast the mechanism of action through which TCAs, MAOis and SSRis produce antidepressant effects. ** Needs...
Compare/contrast the mechanism of action through which TCAs, MAOis and SSRis produce antidepressant effects. ** Needs to be a full paragraph, please do not answer unless you can do so fully**
Heat conduction from a hotter object to a colder object through a barrier (e.g. warm inside...
Heat conduction from a hotter object to a colder object through a barrier (e.g. warm inside out to cold outside air through a window) is descrbed by Q?t=kAL|T1?T2| where k is the conductivity of the barrier, L is the distance the heat has to travel between hotter and colder objects, A is the total cross sectional area of the barrier that is perpendicular to heat flow, and T1 and T2 are the two temperatures. In this problem, you will connect...
Jean Piaget suggests that acquiring knowledge is done through action. In other words, committing an action...
Jean Piaget suggests that acquiring knowledge is done through action. In other words, committing an action leads to knowledge and knowledge leads to action. Piaget stated that an infant advances their cognitive development when they reach a certain point of physical maturation. By developing their understanding of the world around them, infants are able to cognitively mature. As they are further exposed to the world, infants will naturally undergo assimilation, in which they will utilize their acquired knowledge in order...
Flag Through which process a person process or a paper process can a good strategic manager...
Flag Through which process a person process or a paper process can a good strategic manager accomplish a strategic plan as part of a business policy? Promote one process over the other, and then evaluate the quality of the strategic management process with each process is utilized.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT