Alhir, Pages 39-56
Discussion questions submitted for pages 39-56 of Alhir:
Problem-solving Paradigms
-
Should different paradigms be used depending on the language, or can a
functional paradigm apply to a object oriented language?
-
When is the function-driven paradigm or the data-driven paradigm more
useful than the object oriented paradigm? -Jim Finnessy
-
I remember discussing 4 programming language paradigms, of which 2
(object-oriented and functional) seem to map well into the 3 problem
solving paradigms the text discusses. How would the other two map into
this?
-
If the object-oriented paradigm empowers organizations to gain an
advantage, what reasons are there to use the other two paradigms? Patrick
Dowd
-
In class we discussed that object oriented focused on data rather than
functions, so how does object-oriented differ from data-oriented? -Jim
Finnessy
-
The object-oriented paradigm seems to have comparative advantage over both
the function-driven and object-oriented paradigms. In what particular cases
would it be beneficial to use either the function-driven or the
object-oriented paradigms? ~yasir.
-
What is an example of a programming language that uses the data driven
paradigm. (Sam Vanderhyden)
-
What are the disadvantages, if any, of taking the object-oriented approach
in a software development project? ~yasir.
-
if you mix procedural concepts with OO paradigms, is that like matter and
anti-matter, or do they work well together?
-
I understand both function-orientation and object-orientation, but I can't
quite call to mind a good example of data-driven programming. What exactly
might this look like?
-
Which of the three paradigms described on pages 44-48 would derive the best
solution for the scheduling problem? Elias Vafiadis
-
Is the author's view biased? It seems that he favors object-oriented
paradigm so much and he says "communications among stakeholders are more
natural", but I think that func.-driven and data-driven paradigm can be
interpreted as having "natural" communication system among
stakeholders. What does he mean by "natural"? --Hisako
-
In class it was suggested that data-orientation and function-orientation
used to serve the needs of programmers very well. The reading suggests that
an object-oriented paradigm is most convenient for businesses (and by
extension it is probably good for an educational environment, since we
share many of the same conditions such as time constraints and many
coders), but are there situations under which other paradigms are still
more effective? For example, if there were very few or only one programmer,
might a language that allows precise micro-management (such as C) be more
efficient? (Nick)
Elements of Problem Solving
-
What are the behavioral characteristics and how they differ from the
structural ones? Dessislava Dimova
-
There are an abundance of diagrams dealing with behavioral and structural
characteristics. What are these showing? Steven Fenigstein
-
How do you go about determining exactly which attributes are necessary to
consider at various levels of abstraction?
-
If we were confronted with a "real world problem" that is heavily
data-intensive, what sacrifices do we make by adopting an object-oriented
approach instead of a data-driven paradigm? - George Yeboah
-
What are some examples of abstraction, encapsulation, and organization in
the world? Steven Fenigstein
-
How are abstraction, encapsulation and organisation encoporated in object
orientated design? Are there relations and tradeoffs between them? Taha
-
Could you give an example each of persistent and transient objects? (Raz
Magar)
-
How can the level of detail focus on the essential characteristics of a
subject (page 50) without knowing how it is realized? Patrick Dowd
-
The abstraction process discussed on page 49 begins with "identifting the
subject." This one step is not particularly well explained, and it seems to
me that it would be the most important part of the process. What are some
good techniques for insuring that the proper subject is chosen from which
to abstract. josh
-
What are examples of intrinsic and extrinsic characteristics? --Khong
-
What is meant by conceptual entities in the "real world" domain? Examples?
(Sam Vanderhyden)
-
There is an emphasis on business-focused solutions rather than tech-focused
solutions. Is oo used in research labs and academic activities often?
-
What are examples of persistent objects and transient objects? Taha
-
Explain the difference between associations and aggregation and how they
are related to compositions and generalizations? Anthony
-
What is the difference between transient and persistent objects?
The Object-Oriented Problem-Solving Paradigm
-
How is "Abstraction" employed in an object-oriented programming language
such as Java? George Yeboah
-
Should objects that belong to the same class have greater interdependence
than objects that belong to different classes? Dessislava Dimova
-
In object orientation does it make sense to have the same object be a
member of two different classes? Elias Vafiadis
-
Can you go over the difference between Input Parameters, Return Parameters,
and Output parameters? -Jonathan Kensler
-
How exactly do different types of identities when comparing two objects
differ from each other? i.e. how do pure identity, shallow equality, and
deep equality differ from each other? -Jonathan Kensler
-
How does OOP differ in implementation oriented programming languages, such
as C++ and JAVA, from other programming languages? -Peter Likarish
-
What does it mean to say an operation can be applied to a class rather than
the object of the class? Anthony
-
How do you implement dynamic classes?
-
If types "are descriptions of objects or a set of objects..." as Alhir
states, how can the attributes and operations be class attributes or class
operations? -Peter Likarish
-
How do you implement dynamic classes? And could you explain the difference,
if there is any, between 'protected' and 'private'? (Raz Magar)
Miscellaneous Questions
-
On pp.47, Alhir says that "communications may be hindered by being biased
toward realization concepts" as the characteristic of the function-driven
and data-driven paradigm. Could you please explain this? --Hisako
-
One of the stated goals of object oriented design is to focus on
"real-world contepts rather than realization constructs." This implies
either processing power has gotten so cheap that efficiency is irrelavent,
or compilers have become so good that the translation process is as good as
if realization constructs were considered in the implementation
phase. Whith the move from machine code to say, C, the latter seems to be
true. However, with the move to the object oriented programming language,
Java, programs take a massive performance hit-- Requiring both more
resources and more time to execute equivelent instructions. Is this a fault
of the compilers and run time environment, or is this a sign that object
oriented design does not translate well to implementations on existing
machines. josh vickery
-
What is meant by intrinsic packaging mechanisms (p. 48)? --Khong
-
Reusability is obviously a priority...but how compatible are oo works with
functional and data-driven works?
This document is available on the World Wide Web as
http://www.cs.grinnell.edu/~walker/courses/223.sp02/read-alhir1-3a.html