Google Answers Logo
View Question
 
Q: Software Engineering ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Software Engineering
Category: Computers > Software
Asked by: jplhix-ga
List Price: $5.00
Posted: 17 Jan 2003 07:04 PST
Expires: 16 Feb 2003 07:04 PST
Question ID: 144682
Carefully distinguish between data encapsulation and abstract data types.
Answer  
Subject: Re: Software Engineering
Answered By: skermit-ga on 17 Jan 2003 07:44 PST
Rated:5 out of 5 stars
 
Hello,

I'm glad to have answered one of your questions on Software
Engineering, I know getting through my course was struggling at times.
Like my previous answer, because your question is coursework related,
I will direct my answers along the same lines.

California State University, Northridge offers a course, Comp 380
which is Introduction to Software Engineering and this question was
one of the homework questions. From the solutions of the homework I
quote sample correct answers:

"While data encapsulation and abstract data types are similar, they do
differ in the fact of their uses and purposes. Data encapsulation
involves how a class is designed in terms of data variables and
functions to perform on those variables. The way the class is setup
and implemented is part of data encapsulation. Abstract data types are
basically the actual class that uses the data encapsulation. The class
that is created contains variables that are typically irrelevant to
the programmer using the class because all that they need is the
functions that manipulate the data. How the data is actually
encapsulated is unknown to the user. Abstract data types are the
classes used and data encapsulation is the means by which the class is
created in terms of private data and user functions."

"Data encapsulation is a concept of combining data with the methods to
be performed on that data. Abstract data types are an implementation
of the concept of data encapsulation. Abstract data types are data
types that contain data along with the methods that are to be
performed on that data. Abstract data type can be considered an
instance of data encapsulation."

I link below to the full solutions so that you may read the context,
or familiarize yourself with the other concepts presented.


Search Strategy:

"data encapsulation and abstract data types" on google:
://www.google.com/search?q=%22data+encapsulation+and+abstract+data+types%22


Additional Links:

Homework 5 solutions:
http://www.csun.edu/~eh77548/comp380/assign/HW5-solutions.pdf


Thank you for the opportunity to answer your question, if you require
more information, please clarify the question, or if you find this
answer satisfactory, please feel free to rate it. Thank you!

skermit-ga
jplhix-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy