2004年上半年程序员级答案
上午答案 (此括号内不是试题部分。欢迎访问软件考试网www.hbsoft.net)
(1) |
B |
(16) |
D |
(31) |
D |
(46) |
D |
(61) |
C |
(2) |
C |
(17) |
A |
(32) |
D |
(47) |
C |
(62) |
D |
(3) |
D |
(18) |
D |
(33) |
A |
(48) |
C |
(63) |
B |
(4) |
A |
(19) |
A |
(34) |
B |
(49) |
B |
(64) |
C |
(5) |
B |
(20) |
B |
(35) |
B |
(50) |
C |
(65) |
A |
(6) |
C |
(21) |
A |
(36) |
A |
(51) |
B |
(66) |
C |
(7) |
A |
(22) |
D |
(37) |
B |
(52) |
A |
(67) |
C |
(8) |
C |
(23) |
C |
(38) |
A |
(53) |
B |
(68) |
B |
(9) |
B |
(24) |
C |
(39) |
C |
(54) |
D |
(69) |
D |
(10) |
A |
(25) |
A |
(40) |
D |
(55) |
C |
(70) |
B |
(11) |
D |
(26) |
D |
(41) |
B |
(56) |
B |
(71) |
A |
(12) |
B |
(27) |
A |
(42) |
D |
(57) |
B |
(72) |
B |
(13) |
B |
(28) |
B |
(43) |
B |
(58) |
A |
(73) |
C |
(14) |
A |
(29) |
C |
(44) |
D |
(59) |
D |
(74) |
C |
(15) |
C |
(30) |
C |
(45) |
C |
(60) |
C |
(75) |
B |
下午答案
试题一(此括号内不是试题部分。欢迎访问软件考试网www.hbsoft.net)
(1)j ← j-1
(2)I ← i+1
(3)A[i]←pivot 或 [j]←pivot
(4)A,L,k-I 或A,L,k
(5)A,k+I,H 或A,k,H
试题二
(1)*pi == *pj
(2)pi<pj 或 *pi != *pj
(3)str[i] ==
(4)str[j]
(5) i = j+1
试题三
(1)工程文件的扩展名是 vbp,窗体文件的扩展名是 frm,标准模块文件的扩展名是
bas。
(2)保存(&S)
(3)解答:“放大”按钮单击事件过程中的程序代码:
Image1.Width=Image1.Width*1.1
1mage1.Height=Image1.Height*1.1
“缩小”按钮单击事件过程中的程序代码:
Image1.Width=Image1.Width*0.9
1mage1.Height=Image1.Height*0.9
(4)将该单选按钮的Value属性值设置成True
(5)消息框的标题栏显示“提示”:消息框中有一个出错标记以及两个命令按钮,分别显示“确定”和“取消”;消息框中显示的信息为“非法操作!”。
试题四(此括号内不是试题部分。欢迎访问软件考试网www.hbsoft.net)
(1)S->top
(2)S->elem[S->top++]·
(3)S->elem[-S->top]
(4)n % B
(5)n / B
试题五
(1)Text
(2)listlndex
(3)Val(Txtln.Text) 或Txtln.Text
(4)CmbOp.Text
(5)EndSelect
试题六
(1)k<1en
(2)q=q->next 或 q=(*q).next
(3)pres = Lb
(4)prep->next或(*prep).next
(5)s 或 pres->next 或 (*pres).next
试题七
(1)false
(2)300
(3)enabled
(4)Label.Visible
(5)false
试题八(此括号内不是试题部分。欢迎访问软件考试网www.hbsoft.net)
(1)employee[j].Id!=Id
(2)++N 或 N++ 或 N=N+1
(3)employee[i].Salary-BASE
(4)k>payleve[j]
(5)k>payleve[j-1]
试题九
(1)Val(Txt_salary.Text)-Val(Txt_base.Text)
(2)k>paylevel(j)
(3)k-paylevel(j-1)
(4)Txt_tax.Text
(5)False
©2005Copyright By hbsoft.net,All rights Reserved |联系我们 鄂ICP备05009730号 |