您所在的位置: 首页>>读书频道>>考试认证>>等级考试>>

笔试选择题(61-70)

http://book.51cto.com  2008-03-18 16:00  佚名  真题网  我要评论(0)

一、选择题:((1)-(90))题,分为1分题和2分题,满分120分.除标注2分题外,其它均为1分题.)

 (61)What is the decimal value of the following 32-bit two’s complement number?_____.
1111 1111 1111 1111 1111 1111 1100
A) -8 B) -4 C) 4 D) 8
(62)How many subsets does A have? _____.
Let A={E,O,A,W,P,V,B}
A) 12 B) 36 C) 64 D) 128
(63)Suppose V1=,V2=,where R is the set of real numbres,+, and.are respectively addition and multiplication. Let f: R→R and f(x) = ex, which of the following propositions 
is true? _____.
A) f is a surjective homomorphism from V1 to V2
B) f is an injective homomorphism from V1 to V2
C) f is an isomorphism from V1 to V2
D) None of the above
(64) P(n) is the predicate’if 4 divides n then 2 divides n’.What is the truth value of P(12)? _____.
A) 10 B) F C) T D) None of the above
(65) An algorithm to solve a given problem has time complexity
T(n)=nlog2n-(n-1)
Given that the algorithm takes 0.8 second for a problem in which n=1024,how long should  it take for a problem in which n=4096?_____. (2 Points)
A) 39 seconds B) 3.9 seconds C) 3.9 minutes D) 0.8 seconds
(66) What is the definition of a Path? _____.
A) A sequence of vertices and the edges formed by each successive pair of vertices.
B) A walk with distinct vertices.
C) A walk with distinct edges.
D) None of the above
(67) The figure below shows a record used for recording information about a named event.  Which of the following statement is incorrect?_____. (2 Points)
VAR r: record
event:array[1..10] of char;
place:array[1..20] o 
f record
plname:array[1..15] of char;
date: array[1..5] of record
mo:1..12;
day:1..31;
year:integer
end
end
end;
A)This is a one-dimensional array of records,also called a table.
B)This is so called record of arrays;
C)The event can occur in up to 20 places and on up to 5 different dates in each place.
D)A reference to r.place[i].date[j].mo will access the month of the jth occurrence, in the ith place,of the event named in r.event.
(68)Which of the following statements is true regarding simple sort techniques? _____.(2 Points)
A)Exchange sort is frequently referred to as a bubble sort.
B)Exchange sort is the least expensive
C)If random data are in an array that is to be sorted,an Insertion Sort will give the 
best performance for large elements with small sort items.
D)Both Insertion Sort and Selection Sort require O(n)moves.
(69) Which UNIX command creates a symbolic link named myfile in the current directory to  the file/etc/hosts?_____.
A) In -s /etc/hosts myfile B) In -s myfile /etc/hosts
C) link -s /etc/hosts myfile D) link -s myfile /etc/hosts
(70)Which MS-DOS command is correct? _____.
A) DEL /s *.bat B) DEL *.exe/sp
C) DEL *.obj >nul: D) DEL *.com *.sys

【责任编辑:雪花 TEL:(010)68476606】

回书目   上一节   下一节
2008年9月全国等级考试试题与答案专题
反毒技术真相调查
深入Vista应用程序开发
Ruby on Rails 社区网站开发
ASP.NET从入门到精通
 
 验证码: (点击刷新验证码)   匿名发表
  • Visual C++ 完全自学宝典

  • 作者:强锋科技,朱洪波
  • Visual C++ 6.0是微软公司为程序人员提供的Visual Studio 6.0工具套件中的重要组成部分。本书由浅入深地介绍使用Visual C++ 6.0..
Copyright©2005-2008 51CTO.COM 版权所有