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

📄 jj042517.htm

📁 一些计算机二级考试题
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<html><head><title>洪恩在线 - 全国计算机等级考试二级笔试试题(98年9月)基础知识与C语言程序设计</title>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link rel=stylesheet href=/pub/css/home.css>
 <link rel=stylesheet href=/proedu/pub/css/proedu.css><meta name=keywords content="洪恩在线,继续教育,计算机考级,计算机等级考试,试题集锦,洪恩在线,继续教育,计算机考级,计算机等级考试,计算机,考试,等级,笔试">
</head>
<body bgcolor=white text=black topmargin=10 leftmargin=0 marginwidth=0 marginheight=10>
<script language=Javascript src=/pub/js/head.js>
</script>
<div align=center>
<table width=760 border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td width=20 height=20><img src=/proedu/img/left.gif width=20 height=20 alt=left></td>
    
    <td height=20 width=720 bgcolor=800000><font color=FFFFF>当前位置:<a href=/default.htm class=current>
    <font color=#FFFFFF>洪恩在线</font></a> -&gt; <a href=/proedu/index.htm class=current>
    <font color=#FFFFFF>继续教育</font></a> -&gt; <a href=/proedu/jsjks/index.htm class=current>
    <font color=#FFFFFF>计算机考级</font></a> -&gt; 
    <font color=FFFFFF>计算机等级考试</font> -&gt; <a href=/proedu/jsjks/jsjdjks/stjj/index.htm class=current>
    <font color=FFFFFF>试题集锦</font></a></font></font></td>
    <td width=20 height=20><img src=/proedu/img/right.gif width=20 height=20 alt=right></td>
  </tr>
</table>
<!--正文开始-->
<table width=760 border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
    <td width=137 bgcolor=FEEEE5 align=center valign=top>
      <img src=/proedu/img/blank.gif height=10><br>
      <script language=javascript src=/proedu/pub/js/daohang.js></script>
      <a href=mailto:home.proedu@goldhuman.com><font color=red>请给我们来信!</font><br>
      <img src=/proedu/img/blank.gif width=1 height=5 border=0><br>
      <img src=/proedu/img/email.gif width=80 height=40 border=0 alt=请给我们来信></a>
    </td>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
    <td width=20><img src=/proedu/img/blank.gif width=20 height=1></td>
    <td class=p2 width=580>
      <img src=/proedu/img/blank.gif width=580 height=1><p>
      <div align=center class=p2><font color=800000><b>全国计算机等级考试二级笔试试题(98年9月)基础知识与C语言程序设计</b></font></div><p><font color=#424242><br>
      &nbsp;&nbsp;&nbsp;&nbsp;(考试时间120分钟,满分100分)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;一、选择题((1)——(40)每个选项1分,(41)——(50)每个选项2分,共60分)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;下列各题A)、B)、C)、D)、四个有选项中,只有一个选项是正确的,请将正确选项涂写在答题卡相应位置上,答在试卷上不得分<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(1)通常所说的主机主要包括<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)CPU B)CPU和内存<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)CPU、内存与外存D)CPU、内存与硬盘<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(2)在微机系统中,最基本的输入输出模块BIOS存放在<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)RAM中B)ROM中C)硬盘中D)寄存器中<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(3)一个24*24点阵的汉字字形信息所占的字节数为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)2 B)24 C)32 D)72<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(4)bit的意思是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)字B)字长C)字节D)二进制位<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(5)某学校的工资管理程序属于<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)系统程序B)应用程序<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)工具软件D)文字处理软件<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(6)与十六进制数BB等值的十进制数是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)187 B)188 C)185 D)186<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(7)设一张软盘已染上病毒,能清除病毒的措施是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)删除该软盘上的所有文件B)格式化该软盘<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)删除该软盘上的所有可执行文件C)删除该软盘上的所有批处理文件<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(8)一张3.5英寸双面高密度软盘片的容量为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)360KB B)720KB C)1.44MB D)1.2MB<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(9)与二进制小数0.1等值的十六进制小数为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)0.1 B)0.2 C)0.4 D)0.8<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(10)DOS系统的热启动与冷启动的不同之处为热启动时<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)不检测键盘、处设接口与内存B)不提示用户输入日期与时间<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)不用装入COMMAND.COM文件D)不能从软盘启动<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(11)为了将磁盘上的文件K1,K2,K3,依次连接在文件K4的后面,应使用命令<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)COPY K1K2K3 K4 B)COPY K1K2K3K4<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)COPY K1K2K3K4 K4 D)COPY K4K1K2K3 <br><br>&nbsp;&nbsp;&nbsp;&nbsp;(12)下列文件名中可以作为批处理文件名的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)AUTOEXC.C B)AUTOEXEC<br><br>      </font>
     </td>
    <td width=20><img src=/proedu/img/blank.gif width=20 height=1></td>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
  </tr>
</table>
<table width=760 border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
    <td width=137 bgcolor=FEEEE5 align=center valign=top><img src=/proedu/img/blank.gif width=137 height=1></td>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
    <td width=20><img src=/proedu/img/blank.gif width=20 height=1></td>
    <td class=p2 width=580>
      <font color=#424242>
     &nbsp;&nbsp;&nbsp;&nbsp;C)ATX.BAT D)AUTO.TXT<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(13)要打印输出当前盘的根目录下所有文件与子目录清单,应使用命令<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)DIR 、PRN B)TYPE 、PRN<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)DIR PRN C)TYPE PRN<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(14)设可执行文件ABC.EXE 所需要的本该由键盘输入的数据已经按格式存放在文<br><br>&nbsp;&nbsp;&nbsp;&nbsp;件XYZ 中,并要求执行结果放在文件XYZ 中输入数据的后面。下列命令中正<br><br>&nbsp;&nbsp;&nbsp;&nbsp;确的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)ABC XYZ B)ABC XYZ<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)ABC 《XYZ<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(15)设当前盘中某一目录路径为、A、B、C,当前目录为、A.下列命令中肯定出错的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)MD 、A、C B)CD C)MD 、A、B、A D)MD 、A、B<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(16)设A 盘的目录结构如下:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;根目录<br><br>&nbsp;&nbsp;&nbsp;&nbsp;│<br><br>&nbsp;&nbsp;&nbsp;&nbsp;┌─────┬┴──┬───┬───┬────┐<br><br>&nbsp;&nbsp;&nbsp;&nbsp;││││││<br><br>&nbsp;&nbsp;&nbsp;&nbsp;ABC D1子目录DX.C Q.DAT D2子目录A.FOR<br><br>&nbsp;&nbsp;&nbsp;&nbsp;││<br><br>&nbsp;&nbsp;&nbsp;&nbsp;┌────┬─┴──┬───┐┌───┬───┐<br><br>&nbsp;&nbsp;&nbsp;&nbsp;│││││││<br><br>&nbsp;&nbsp;&nbsp;&nbsp;B.PAS D3子目录Y.BAS A.C A1.C D4子目录XYZ.C<br><br>&nbsp;&nbsp;&nbsp;&nbsp;│<br><br>&nbsp;&nbsp;&nbsp;&nbsp;┌────┬────┬────┐<br><br>&nbsp;&nbsp;&nbsp;&nbsp;││││<br><br>&nbsp;&nbsp;&nbsp;&nbsp;QR.C NA.C A.TXT B.C<br><br>&nbsp;&nbsp;&nbsp;&nbsp;如果当前盘为C 盘,A 盘的当前目录为、D2,则下列对A 盘上文件QR.C 的指定<br><br>&nbsp;&nbsp;&nbsp;&nbsp;中,合法的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)、D2、D4、QR.C B)D4、QR.C<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)A:D4、QR.C D)A:D2、D4、QR.C<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(17)下列DOS命令中,有错误的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)TYPE AAB.FORCON B)TYPE ?AB.FOR<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)COPY *。C CON D)COPY CON PRN<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(18)设当前盘为A盘,为了将当前盘当前目录下的文件AB1.TXT连接在C 盘根目录下<br><br>&nbsp;&nbsp;&nbsp;&nbsp;的文件XYZ.TXT的后面,正确的命令是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)COPY C:、XYZ.TXTAB1.TXT<br><br>&nbsp;&nbsp;&nbsp;&nbsp;B)COPY AB1.TXTC:、XYZ.TXT<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)TYPE AB1.TXTC:、XYZ.TXT<br><br>&nbsp;&nbsp;&nbsp;&nbsp;D)AB1.TXTC:、XYZ.TXTC:、XYZ.TXT<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(19)下列命令中合法的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)DISKCOPY A:A:B)DISKCOPY A:C:<br><br>      </font>
     </td>
    <td width=20><img src=/proedu/img/blank.gif width=20 height=1></td>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
  </tr>
</table>
<table width=760 border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
    <td width=137 bgcolor=FEEEE5 align=center valign=top><img src=/proedu/img/blank.gif width=137 height=1></td>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
    <td width=20><img src=/proedu/img/blank.gif width=20 height=1></td>
    <td class=p2 width=580>
      <font color=#424242>
     &nbsp;&nbsp;&nbsp;&nbsp;C)DISKCOPY C:A:D)DISKCOPY C:D:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(20)设当前盘中某一目录路径为、A、B、C、D、XU,当前目录为、A.要将根目录下扩展名<br><br>&nbsp;&nbsp;&nbsp;&nbsp;为。C的所有文件复制到当前目录下,并将扩展名改为。FOR,应使用命令<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)COPY 、*。C *。FOR B)COPY *。C 、A、*。FOR<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)COPY *。FOR 、*。C D)COPY 、A、*。C *。FOR<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(21)下列不正确的转义字符是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)'、、'B)'、“C)'074'D)'、0'”<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(22)若有以下定义:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;char a;int b;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;float c;double d;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;则表达式a*bd——c值的类型为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)float B)int C)char D)double<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(23)表示关系x《=y《=z的c语言表达式为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)(X《=Y)&&(Y《=Z)B)(X《=Y)AND(Y《=Z)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)(X《=Y《=Z)D)(X《=Y)&(Y《=Z)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(24)设a=1,b=2,c=3,d=4,则表达式:a《b?a:c《d?a:d的结果为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)4 B)3 C)2 D)1<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(25)设x为int型变量,则执行以下语句后,x的值为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;x=10;x=x——=x——x;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)10 B)20 C)40 D)30<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(26)下列可作为C语言赋值语句的是<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)x=3,y=5 B)a=b=6<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)i——;D)y=int(x);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(27)设x,y,z,t均为int型变量,则执行以下语句后,t的值为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;x=y=z=1;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;t=x||y&&z;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)不定值B)2 C)1 D)0<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(28)设i是int型变量,f是float型变量,用下面的语句给这两个变量输入值:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;scanf(“i=%d,f=%f”,&i,&f);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;为了把100和765.12分别赋给i和f,则正确的输入为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)100765.12 B)i=100,f=765.12<br><br>&nbsp;&nbsp;&nbsp;&nbsp;C)100765.12 D)x=100y=765.12<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(29)设x和y均为int型变量,则执行下的循环后,y值为<br><br>&nbsp;&nbsp;&nbsp;&nbsp;for(y=1,x=1;y《=50;y)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;{if(x=10))break;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;if (x%2==1)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;{x=5;continue;}<br><br>&nbsp;&nbsp;&nbsp;&nbsp;x——=3;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;}<br><br>&nbsp;&nbsp;&nbsp;&nbsp;A)2 B)4 C)6 D)8<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(30)给出以下定义:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;char x[]=“abcdefg”;<br><br>      </font>
     </td>
    <td width=20><img src=/proedu/img/blank.gif width=20 height=1></td>
    <td width=1 bgcolor=80000><img src=/proedu/img/blank.gif width=1></td>
  </tr>

⌨️ 快捷键说明

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