全国计算机等级考试四级笔试试题范文(共14页).docx

上传人:飞****2 文档编号:16678581 上传时间:2022-05-18 格式:DOCX 页数:14 大小:30.01KB
返回 下载 相关 举报
全国计算机等级考试四级笔试试题范文(共14页).docx_第1页
第1页 / 共14页
全国计算机等级考试四级笔试试题范文(共14页).docx_第2页
第2页 / 共14页
点击查看更多>>
资源描述

《全国计算机等级考试四级笔试试题范文(共14页).docx》由会员分享,可在线阅读,更多相关《全国计算机等级考试四级笔试试题范文(共14页).docx(14页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、精选优质文档-倾情为你奉上全国计算机等级考试四级笔试试题一、选择题。(共90题,分为1分题和2分题,满分120分。除标注2分题外,其它均为1分题。) (1) 若或非门的输入变量为A和B,输出变量为Y,则A和B分别为下述哪一种情况时, Y才为1?_。 A) 1,0 B) 0,1 C) 0,0 D) 1,1 (2) 已知寄存器A存有带符号整数且只作算术移位,HA和LA分别代表其最高位和最低位。寄存器B存有带符号整数且只作逻辑移位,HB和LB分别代表其最高位和最低位。当寄存器A与B都有左移位发生时,下述哪一个命题是正确的? _。(2分) A) LA与LB均成为0 B) LA与LB均成为1 C) LA

2、变成0但LB保持原值 D) LA保持原值但LB的值改变 (3) 下述哪一种情况称为指令周期? A) 取指令时间 B) 取操作数时间 C) 取指令和执行指令的时间 D) 存储操作结果的时间 (4)2010年网络中交易额最大的电子商城网站是下面哪个A)B)C)淘宝网D) (5) 设Z是整数集,且设f:ZZZ,对每一个ZZ,有f()=mn。集合0的原象为_。(2分) A) 0Z B) Z0 C) (0Z)(Z0) D) (0Z)(Z0) (6) 对于一个只有3个不同元素的集合A来说,A上的等价关系的总数为 _。 A) 2 B) 5 C) 9 D) 取决于元素是否为数值 (7) 设有命题:对于组成元素

3、为集合的集合C,存在函数为f:CC,使得对每一个 SC,有f(S)S。 该命题的否命题是_。 A) 对于集合C,对每个函数f:CC,对每一个SC,都有f(S) S B) 对于集合C,存在函数f:CC,使对每一个SC,有f(S) S C) 对于集合C,对每一个函数f:CC,存在SC,使得f(S) S D) 对于集合C,不存在函数f:CC,使对某些SC,没有f(S) S (8) 设(V,E)是一连通的无圈图,V包含 3个3度顶点 2个2度顶点 r个1度顶点 且V不再包含其他元素。E的元素个数为多少?_。 (2分) A) 6 B) 9 C) 15-r D) 5+5r (9) 设连通图G的顶点数与边数

4、与一立方体相同,即有8个顶点和12条边。任意一棵G的生成树的总边数为_。 A) 7 B) 8 C) 9 D) 10 (10) 设图G的顶点为五边形P的顶点,其边为P的边加上另一条连接P的两个不相邻顶点的边。下列命题中哪个(或哪些)命题是真命题? . G中存在欧拉回路 . G中存在哈密尔顿回路 A) 均不是 B) 只有 C) 只有 D) 和第11-13题是在已知下述Pascal程序的基础上,并设在程序执行过程中无错误发生。 for h:=1 to n-1 do begin x:=Ah+1; k:=h; while (k=1) and (Akx) do begin Ak+1:=Ak; k:=k-1

5、 end; Ak+1:=x end; (11) 假设在程序开始执行时,数组A1.n是一个已排好序的递增序列。下列答案中,哪一个最好地描述了程序的执行时间(运行时间阶数)? _。 A) O(log2n) B) O(n) C) O(nlog2n) D) O(n) (12) 假设在程序开始执行时,数组A1.n是一组随机整数。下列答案中,哪一个最好地描述了最差情况下的程序执行时间(运行时间阶数)? _。 A) O(log2n) B) O(n) C) O(nlog2n) D) O(n) (13) 上述程序算法的标准名称是_。 A) 起泡排序法 B) 插入排序法 C) 选择排序法 D) 快速排序法 (14

6、) 下面关于B树和B+树的叙述中,不正确的结论是_。 A) B树和B+树都是平衡的多分树 B) B树和B+树都可用于文件的索引结构 C) B树和B+树都能有效地支持顺序检索 D) B树和B+树都能有效地支持随机检索 第(15)-(16)题基于下面的叙述:某二叉树结点的对称序序列为A,B,C,D,E,F,G,后序序列为B,D,C,A,F,G,E。 (15) 该二叉树结点的前序序列为_。 (2分) A) E,G,F,A,C,D,B B) E,A,C,B,D,G,F C) E,A,G,C,F,B,D D) E,G,A,C,D,F,B (16) 该二叉树对应的树林包括多少棵树?_。 (2分) A) 1

7、 B) 2 C) 3 D) 4 第(17)-(18)题是有关DOS操作系统的内容: (17) 设驱动器为D,下述哪一个命令可以用来分页显示根目录下的文件清单_。A) DIR D: B) DIR D: C) DIR /P D: D) DIR /P D: (18) 若将DOS的提示符改成MS-DOS5FILE1 SORTFILE2 DEL FILE1 DATE TIME IF EXIST %1 ECHO % IF FOUND If all of the commands are successfully executed after IF1 FILE1 is typed, then the scr

8、een displays?_ A) None B) Date and time C) FILE1 IS FOUND D) FILE2 IS FOUND (70) If the files in the current directory are aac, abc, acb,acc, aca, ao, al, a2, ab, ac, aa, and the command ls a?bc is executed, how many files will be listed?_ (2分) A) 3 B) 4 C) 5 D) 6 B) (71) In order to append a standa

9、rd output to an existing file, which of the following operators is used in the UNIX system? _ A) | B) & C) D) (72) Consider the following figure, where the shaded parts represent already assigned blocks of memory, and the unshaded parts represent free blocks. (2分) If there is a request for 40KB of m

10、emory and the best-fit algorithm is used, then the beginning address of memory that is allocated in response to the request is _. A) 100KB B) 190KB C) 330KB D) 410KB (73) On a certain disk, there are 200 tracks, numbered 0-199, the current position of the disk head is track 53. If the shortest-seek-

11、time-first scheduling algorithm is used when the tracks 98, 183, 37, 122, 14, 124, 65, 67 are requested, then the head-moving sequence that results will be (2分) A) 65, 67, 37, 14, 98, 122, 124, 183 B) 65, 67, 37, 98, 122, 124, 183, 14 C) 65, 67, 98, 122, 124, 183, 37, 14 D) 98, 183, 37, 122, 14, 124

12、, 65, 67 (74) Whant operation on relations R and S produces the relation shown below?_. tupletupleRtuple S A) Union B) Difference C) Intersection D) Division (75) When embedding SQL in a C language program, the prefix that should be added to all SQL statements in order to distinguish SQL statements

13、from the host language statements is_. A) : B) EXEC C) EXEC SQL D) SQL (76) In the ORACLE system,sets of SQL statements and control flow statements that have been named,compiled,and stored tn the database are referred to as stored_. A) batches B) procedures C) triggers D) transactions (77) Which of

14、the following statements about object oriented databases is NOT correct? _. (2分) A) Each object has a unique object identity in the system. B) Encapsulation and inheritance are two important features of object oriented databases. C) A subclass can inherit the attributes and methods of all its superc

15、lasses. D) A superclass includes the attributes and methods of all its subclasses. (78) In the design phase of software engineering, decomposition of the program into modules should follow the principles of _. A) low cohesion with low corpling B) low cohesion with high coupling C) high cohesion with

16、 low coupling D) high cohesion with high coupling C) (79) Specifications for software should contain&nbs p;several components, e.g., specifications of information flow, user interface, functional requirements, and design constraints. Two other important components are specifications of the_. (2分) A)

17、 methods of testing and ways to obtain quality assurance B) criteria for testing and ways to obtain quality assurance C) methods of testing and criteria for function assurane D) criteria for testing and methods of function assurance D) (80) Which of the following statements about testing software wi

18、th data is (are) true?_. I. The primary purpose of such testing is to find errors. II. Such testing can demonstrate the existence of errors but cannot demonstrate the absence of errors. A) Neither B) only C) only D) and (81) The type of testing done during software implementation and beforemodule integration is called _. A) unit testing B) beta testing C) system testing D) acceptance testing (82) Which of the following is (are) true about software portability? _. I. Using a high-level language that conforms to an ISO standardguarantees portability acros

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 教案示例

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com