⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 da11.htm

📁 2000题经典数据结构试题
💻 HTM
📖 第 1 页 / 共 5 页
字号:

<p class=MsoNormal style='margin-left:.3pt;text-indent:-.3pt;tab-stops:list 0cm'><span
style='font-family:宋体'>(<span lang=EN-US>2</span>)索引非顺序文件适合随机存取,不适合顺序存取,因主关键字未排序,若顺序存取会引起磁头频繁移动。索引顺序文件是最常用的文件组织,因主文件有序,既可顺序存取也可随机存取。索引非顺序文件是稠密索引,可以“预查找”,索引顺序文件是稀疏索引,不能“预查找”,但由于索引占空间较少,管理要求低,提高了索引的查找速度。<span
lang=EN-US><o:p></o:p></span></span></p>

<p class=MsoNormal style='margin-left:.3pt;text-indent:-.3pt;tab-stops:list 0cm'><span
style='font-family:宋体'>(<span lang=EN-US>3</span>)散列文件也称直接存取文件,根据关键字的散列函数值和处理冲突的方法,将记录散列到外存上。这种文件组织只适用于像磁盘那样的直接存取设备,其优点是文件随机存放,记录不必排序,插入、删除方便,存取速度快,无需索引区,节省存储空间。缺点是散列文件不能顺序存取,且只限于简单查询。经多次插入、删除后,文件结构不合理,需重组文件,这很费时。<span
lang=EN-US><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-indent:22.65pt;mso-char-indent-count:2.08'><!--[if gte vml 1]><v:line
 id="_x0000_s1055" style='position:absolute;left:0;text-align:left;z-index:2'
 from="162pt,156pt" to="162pt,156pt" o:regroupid="1"/><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:2;left:0px;margin-left:
215px;margin-top:207px;width:2px;height:2px'><img width=2 height=2
src="da11.files/image001.gif" v:shapes="_x0000_s1055"></span><![endif]><!--[if gte vml 1]><v:line
 id="_x0000_s1054" style='position:absolute;left:0;text-align:left;z-index:1'
 from="162pt,156pt" to="162pt,156pt" o:regroupid="1"/><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:1;left:0px;margin-left:
215px;margin-top:207px;width:2px;height:2px'><img width=2 height=2
src="da11.files/image001.gif" v:shapes="_x0000_s1054"></span><![endif]><span
lang=EN-US style='font-family:宋体'>14</span><span style='font-family:宋体'>.类似最优二叉树(哈夫曼树),可先合并含较少记录的文件,后合并较多记录的文件,使移动次数减少。见下面的哈夫曼树。<span
lang=EN-US><o:p></o:p></span></span></p>

<p class=MsoNormal style='margin-left:16.5pt'><!--[if gte vml 1]><v:group id="_x0000_s1072"
 style='position:absolute;left:0;text-align:left;margin-left:148.2pt;
 margin-top:0;width:162pt;height:107.4pt;z-index:3' coordorigin="3600,3156"
 coordsize="3240,2148">
 <v:group id="_x0000_s1027" style='position:absolute;left:5580;top:4248;
  width:457;height:432' coordorigin="3080,12606" coordsize="457,432"
  o:regroupid="1">
  <v:oval id="_x0000_s1028" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1029" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US style='color:black'>F2A</span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1030" style='position:absolute;
  left:6383;top:4248;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1031" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1032" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US>F5</span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1033" style='position:absolute;
  left:4500;top:3624;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1034" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1035" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1036" style='position:absolute;
  left:4500;top:4872;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1037" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1038" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US style='color:black'>F3</span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1039" style='position:absolute;
  left:4140;top:4248;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1040" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1041" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1042" style='position:absolute;
  left:3600;top:4872;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1043" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1044" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox style='mso-next-textbox:#_x0000_s1044' inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US style='color:black'>F4</span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1045" style='position:absolute;
  left:4860;top:4248;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1046" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1047" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US style='color:black'>F1</span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1048" style='position:absolute;
  left:5940;top:3624;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1049" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1050" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:group id="_x0000_s1051" style='position:absolute;
  left:5220;top:3156;width:457;height:432' coordorigin="3080,12606"
  coordsize="457,432" o:regroupid="1">
  <v:oval id="_x0000_s1052" style='position:absolute;left:3080;top:12606;
   width:457;height:432' strokeweight=".7pt"/>
  <v:rect id="_x0000_s1053" style='position:absolute;left:3240;top:12672;
   width:254;height:266' filled="f" stroked="f">
   <v:textbox inset="0,0,0,0">
    <![if !mso]>
    <table cellpadding=0 cellspacing=0 width="100%">
     <tr>
      <td><![endif]>
      <div>
      <p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
      </div>
      <![if !mso]></td>
     </tr>
    </table>
    <![endif]></v:textbox>
  </v:rect></v:group><v:shape id="_x0000_s1064" style='position:absolute;
  left:4950;top:3510;width:330;height:300;mso-position-horizontal:absolute;
  mso-position-vertical:absolute' coordsize="330,300" path="m330,l,300e"
  filled="f">
  <v:path arrowok="t"/>
 </v:shape><v:shape id="_x0000_s1065" style='position:absolute;left:5640;top:3510;
  width:285;height:285' coordsize="285,285" path="m,l285,285e" filled="f">
  <v:path arrowok="t"/>
 </v:shape><v:line id="_x0000_s1066" style='position:absolute;flip:x' from="4470,3996"
  to="4650,4308"/>
 <v:line id="_x0000_s1067" style='position:absolute' from="4815,3996" to="4995,4308"/>
 <v:shape id="_x0000_s1068" style='position:absolute;left:5760;top:3990;
  width:255;height:258' coordsize="255,258" path="m255,l,258e" filled="f">
  <v:path arrowok="t"/>
 </v:shape><v:shape id="_x0000_s1069" style='position:absolute;left:6330;top:4005;
  width:330;height:243' coordsize="330,243" path="m,l330,243e" filled="f">
  <v:path arrowok="t"/>
 </v:shape><v:shape id="_x0000_s1070" style='position:absolute;left:4020;top:4650;
  width:225;height:330' coordsize="225,330" path="m225,l,330e" filled="f">
  <v:path arrowok="t"/>
 </v:shape><v:line id="_x0000_s1071" style='position:absolute' from="4530,4590"
  to="4710,4902"/>
</v:group><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
relative;z-index:3;left:197px;top:-1px;width:218px;height:145px'><img
width=218 height=145 src="da11.files/image002.gif" v:shapes="_x0000_s1072 _x0000_s1027 _x0000_s1028 _x0000_s1029 _x0000_s1030 _x0000_s1031 _x0000_s1032 _x0000_s1033 _x0000_s1034 _x0000_s1035 _x0000_s1036 _x0000_s1037 _x0000_s1038 _x0000_s1039 _x0000_s1040 _x0000_s1041 _x0000_s1042 _x0000_s1043 _x0000_s1044 _x0000_s1045 _x0000_s1046 _x0000_s1047 _x0000_s1048 _x0000_s1049 _x0000_s1050 _x0000_s1051 _x0000_s1052 _x0000_s1053 _x0000_s1064 _x0000_s1065 _x0000_s1066 _x0000_s1067 _x0000_s1068 _x0000_s1069 _x0000_s1070 _x0000_s1071"></span><![endif]><span
lang=EN-US style='font-family:宋体'><o:p>&nbsp;</o:p></span></p>

⌨️ 快捷键说明

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