page111.html

来自「Data Structures And Algorithms With Obje」· HTML 代码 · 共 45 行

HTML
45
字号
<HTML><HEAD><TITLE>Data Types and Abstraction</TITLE></HEAD><BODY bgcolor="#FFFFFF"> <a href="../index.html" target="_top"><img src="../icons/usins.gif" alt="Logo" align=right></a><b>Data Structures and Algorithms with Object-Oriented Design Patterns in Python</b><br><A NAME="tex2html2485" HREF="page112.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html2483" HREF="book.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html2477" HREF="page110.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A>  <A NAME="tex2html2487" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <BR><HR><H1><A NAME="SECTION005000000000000000000">Data Types and Abstraction</A></H1><P><A NAME="chapadts">&#160;</A><P>It is said that``computer science is [the] science of <em>abstraction</em>[<A HREF="page610.html#aho1">2</A>].''But what exactly is abstraction?Abstraction is ``the idea of a quality thought of apartfrom any particular object or real thing having that quality''[<A HREF="page610.html#gage">10</A>].For example,we can think about the size of an objectwithout knowing what that object is.Similarly,we can think about the way a car is drivenwithout knowing its model or make.<P>Abstraction is used to suppress irrelevant detailswhile at the same time emphasizing relevant ones.The benefit of abstraction is that it makes it easierfor the programmer to think about the problem to be solved.<P><BR> <HR><UL> <LI> <A NAME="tex2html2488" HREF="page112.html#SECTION005100000000000000000">Abstract Data Types</A><LI> <A NAME="tex2html2489" HREF="page113.html#SECTION005200000000000000000">Design Patterns</A><LI> <A NAME="tex2html2490" HREF="page128.html#SECTION005300000000000000000">Exercises</A><LI> <A NAME="tex2html2491" HREF="page129.html#SECTION005400000000000000000">Projects</A></UL><HR><A NAME="tex2html2485" HREF="page112.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html2483" HREF="book.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html2477" HREF="page110.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A>  <A NAME="tex2html2487" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <P><ADDRESS><img src="../icons/bruno.gif" alt="Bruno" align=right><a href="../copyright.html">Copyright &#169; 2003</a> by <a href="../signature.html">Bruno R. Preiss, P.Eng.</a>  All rights reserved.</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?