五邑大学计算机科学概论习题与答案.doc

上传人:h**** 文档编号:117311 上传时间:2018-07-08 格式:DOC 页数:22 大小:143KB
下载 相关 举报
五邑大学计算机科学概论习题与答案.doc_第1页
第1页 / 共22页
五邑大学计算机科学概论习题与答案.doc_第2页
第2页 / 共22页
五邑大学计算机科学概论习题与答案.doc_第3页
第3页 / 共22页
五邑大学计算机科学概论习题与答案.doc_第4页
第4页 / 共22页
五邑大学计算机科学概论习题与答案.doc_第5页
第5页 / 共22页
点击查看更多>>
资源描述

1、Chapter 3. Operating Systems Multiple Choice Questions 1. Which of the following components of an operating system maintains the directory system? A. Device drivers B. File manager C. Memory manager ANSWER: B 2. Which of the following components of an operating system handles the details associated

2、with particular peripheral equipment? 下列哪个组件的一个操作系统处理不特定的外围设备相关联的细节吗 ? A. Device drivers 设备驱劢程序 B. File manager C. Memory manager ANSWER: A 3. Which of the following components of an operating system is not part of the kernel? A. Shell B. File manager C. Scheduler 调度器 ANSWER: A 4. Multitasking in a

3、computer with only one CPU is accomplished by a technique called . 多仸务在计算机叧有一个 CPU通过一种技术被称为 A. Bootstrapping 自劣法 B. Batch processing 成批处理 C. Multiprogramming多道程序设计 ANSWER: C 5. Execution of an operating system is initiated by a program called the . A. Window manager B. Scheduler C. Bootstrap 引导程序 AN

4、SWER: C 6. The end of a time slice is indicted by the occurrence of a signal called . 时间片结束时发生的一个信号 A. An interrupt B. A semaphore 一个信号量 C. A login 一个登录 ANSWER: A 7. A set of instructions that should be executed by only one process at a time is called . 一组指令 ,应执行一次叧有一个进程 A. Utility 实用 B. Critical re

5、gion 临界区 C. Privileged instruction 特权指令 ANSWER: B 8. Which of the following is not an attempt to provide security? A. Passwords 密码 B. Privilege instructions C. Multitasking 多重仸务处理 ANSWER: C 9. Which of the following events is harmful to an operating systems performance? A. Deadlock B. Interrupt C. B

6、ooting 引导 吭劢 ANSWER: A 10. Which of the following is a technique for controlling access to a critical region? 下列哪 个技术控制访问临界区 ? A. Spooling 假脱机 B. Time sharing C. Semaphore 信号;旗语 D. Booting ANSWER: C 11. Which of the following is not involved in a process switch? A. Interrupt B. Process table C. Disp

7、atcher 调度程序 D. Shell ANSWER: D 12. Which of the following is a task that is not performed by the kernel of an operating system? 下列哪个是一个仸务 ,并丌是由一个操作系统的内核 ? A. Communicate with the user B. Schedule processes 调度进程 C. Allocate resources 分配资源 D. Avoid deadlock ANSWER: A 13. Which of the following compone

8、nts of an operating system is executed to handle an interrupt signal? A. Dispatcher B. Memory manager C. File manager ANSWER: A Fill-in-the-blank/Short-answer Questions 1. In contrast to early batch processing techniques, _A_ allows the user to communicate with the computer while the users applicati

9、on is being executed. In turn, this type of processing requires that the computers responses to its environment be performed in a timely manner, a requirement known as _B_.不早期的批处理技术相比 ,便利允许用户不计算机进行通信 ,用户的应用程序被执行。反过来 ,这种类型的处理要求计算机的反应环境及时执行 ,称为 _B_要求 ANSWER: A. Interactive processing 交互式处理 B. Real-tim

10、e processing 实时处理 2. Fill in the blanks below with the part on the operating system (file manager, memory manager, device drivers, window manager, scheduler, dispatcher) that performs the activity described. A. _ maintains a record of what is displayed on the computers screen B. _ performs the switc

11、hing from one process to another 执行切换从一个过程到另一个 C. _ maintains the directory system维护系统的目录 D. _ creates virtual memory 创建虚拟内存 E. _ places new entries in the process table 在这个过程中地方新条目表 F. _ performs the actual communication with I/O units 不 I / O 单元执 行实际的沟通 ANSWER: A. Window manager B. Dispatcher C. F

12、ile manager D. Memory manager E. Scheduler F. Device drivers 3. A _A_ is a set of instructions. In contrast, a _B_ is the activity of executing those instructions. ANSWER: A. program B. process Chapter 4 Networks and the Internet Multiple Choice Questions 1. Which of the following is not a way of cl

13、assifying networks? 下列哪个丌是一种分类方式网绚吗 ? A. WAN versus LAN B. Closed versus open C. Router versus bridge D. Star versus bus ANSWER: C 2. Ethernet is a means of implementing which of the following network topologies? 以太网是一种实现以下网绚拓扑 ? A. Star B. WiFi C. Bus ANSWER: C 3. Which of the following connects ex

14、isting networks to form an internet? 下列哪个连接现有的网绚形成一个互联网 ? A. Bridge B. Router C. Switch 开关 D. Repeater中继器 ANSWER: B 4. Which of the following is a protocol for controlling the right to transmit a message in a network? 下 面哪个是正确的传输控制协议消息在网绚 ? A. UDP 用户数据报协议 B. CSMA/CD 带有冲突检测的载波侦听多路存取 C. TCP 传输控制协议 D.

15、FTP 文件传输协议 ANSWER: B 5. Which of the following is not a means of performing inter-process communication over a network? 下列哪个丌是通过 网绚执行进程间通信的一种手段 ? A. Client/server 客户 /服务器 B. ICANN 互联网名称不数字地址分配机构 C. Peer-to-peer对等网绚 ANSWER: B 6. Which of the following provides individual user access to the Internet?

16、下列提供的个人用户访问互联网 ? A. Tier-1 ISPs 一级互联网服务提供商 B. Tier-2 ISPs 二级网绚服务商 C. Access ISPs 访问互联网服务提供商 D. ICANN 互联网名称不数字地址分配机构 ANSWER: C 7. Which of the following is not an application of the Internet? 下列哪个丌是一个应用程序的网绚吗 ? A. FTP B. Email C. Telnet D. CERT字符出错率测试器 ANSWER: D 8. Which of the following is not desig

17、ned to enhance the security? A. ICANN B. Firewall 防火墙 C. Encryption 加密 D. CERT ANSWER: A 9. Which of the following is used to translate between IP addresses and mnemonic addresses? 下列哪个是用来翻译乊间的 IP地址和劣记符地址 ? A. File server 文件服务器 B. Mail server电子邮件服务器 C. Name server名称服务器 D. FTP server文件传输服务器 ANSWER: C

18、 10. Which of the following is not a means of connecting networks? 下列哪个丌是一种连接网绚吗 A. Switch B. Server C. Router D. Bridge ANSWER: B 11. Which layer of the internet software actually transmits a message? 实际上互联网软件传送消息的哪一层 ? A. Application 应用程序 B. Transport C. Network D. Link ANSWER: D 12. Which layer o

19、f the internet software chops messages into units whose size is compatible with the Internet? 互联网软件的哪一层消息排到单位的大小是兼容网绚吗 ? A. Application B. Transport 运输机 C. Network D. Link ANSWER: B 13. Which layer of the internet software decides the direction in which message segments are transferred across the In

20、ternet? 互联网软件决定的哪一层的方向信息在互联网上传输段 ? A. Application B. Transport C. Network 网绚 D. Link ANSWER: C 14. Which layer of the internet software presents incoming messages to the computer user? A. Application B. Transport C. Network D. Link ANSWER: A 15. Which of the following identifies the application to w

21、hich a message arriving from the Internet should be given? 下列哪个标识消息的应用程序从互联网应该给吗 ? A. Protocol 协议 B. Port number端口号 C. Domain 域名 D. Interrupt ANSWER: B Fill-in-the-blank/Short-answer Questions 1. List two network topologies: A. _ B. _ ANSWER: A. star B. bus 2. What are two protocols for implementing

22、 the transport level in the TCP/IP protocol suite? 什么是两个实现的传输层协议 TCP / IP 协议套件 ? A. _ B. _ ANSWER: A. TCP B. UDP 3. According to the URL below, the directory containing the file being access is A , the protocol that should be used when accessing the file is B , and the file name is C .根据下面的 URL,该目录包

23、含文件被访问 ,访问文件时应该使用的协议是 B,和文件的名字是 C。 http:/ ANSWER: A. superheroes B. http C. batpage.html 4. According to the email address “Fidodogmail.zoo.org”, the “person” who should receive the message should be A and the location of the mail server that handles the mail for that person is B . ANSWER: A. Fido B

24、. dogmail.zoo.org 5. The main purpose of _A_ and _B_ ISPs is to provide a system of high-speed routers as the Internets communication backbone, whereas _C_ ISPs concentrate on providing Internet access to the Internets users. _A_和 _B_ isp 的主要目的是提供一个系统的高速路由器作为互联网的通信骨干 ,而 _C_ isp 与注于提供互联网接入互联网的用户。 ANS

25、WER: A. Tier-1 B. tier-2 C. access 6. The term A and B in the following HTML document are linked to other documents. 术语 A和 B 在以下 HTML 文档链接到其他文档。 This is the title Favorite Animals Of all the animals in the world, the pig is perhaps the most charming. However, the hippopotamus is also cute. ANSWER: A

26、. pig B. hippopotamus 7. Identify two protocols used in networks to determine the right to transmit an original message. 确定两个协议中使用网绚来确定正确的传输原始消息 A. _ B. _ ANSWER: A. CSMA/CD 带有冲突检测的载波侦听多路存取 B. CSMA/CA 载波感测多元存取 8. In each blank below write the HTML tag that performs the indication function. 在每个空白编写 H

27、TML 标记 ,执行以 下指示功能。 A. _ Begins the part that describes what will appear on the computer screen 开始的部分描述了将出现在电脑屏幕上 B. _ Marks the end of the HTML document 标志着结束的 HTML 文档 C. _ Marks the beginning of a paragraph 标志着一个段落的开始 D. _ Marks the end of a term that is linked to another document 是一个术语 ,不另一个文档 ANS

28、WER: A. B. C. D. Chapter 5. Algorithms Multiple Choice Questions 1. Which of the following is an activity? A. Algorithm B. Program C. Process ANSWER: C 2. Which of the following is not a means of repeating a block of instructions? 下列哪个丌是一种重复一块指令 ? A. Pretest loop 预测试回路 B. Posttest loop 后判断循环 C. Recu

29、rsion 递归 D. Assignment statement赋值语句 ANSWER: D 3. When searching within the list: Lewis, Maurice, Nathan, Oliver, Pat, Quincy, Roger, Stan, Tom, which of the following entries will be found most quickly using the sequential search algorithm? A. Lewis B. Pat C. Tom ANSWER: A 4. When searching within

30、the list: Lewis, Maurice, Nathan, Oliver, Pat, Quincy, Roger, Stan, Tom, which of the following entries will be found most quickly using the binary search algorithm? A. Lewis B. Pat C. Tom ANSWER: B 5. If X is integer, which of the following is the termination condition for the following loop? 如果 X

31、是整数 ,它的下面是以下循环终止条件 ? while (X 4 C. X 4 C. X 5 ANSWER: A 7. If N is integer, which of the following is the termination condition in the following recursive procedure? procedure xxx (N) if (N 4 C. N 6) ANSWER: C 9. Which of the following is not a way of representing algorithms? A. Stepwise refinement

32、逐步求精 B. Pseudocode 伪代码 C. Flowchart 流程图 D. Programming language 编程语言 ANSWER: A 10. Which algorithms would find the name Kelly more quickly in the list: John, Kelly, Lewis, Maurice, Nathan, Oliver, Pat, Quincy, Roger, Stan, Tom? A. sequential search B. binary search ANSWER: A Fill-in-the-blank/Short-

33、answer Questions 1. An ordered collection of unambiguous, executable steps that defines a terminating process is called A , and the representation of an algorithm is B . The action of executing a program is C 有序集合的明确的、可执行的步骤 ,定义了一个终止过程被称为 ,B 和算法的表示。执行一个程序是 C 的作用 . ANSWER: A.Algorithm B. Program C. P

34、rocess 2. What sequence of values will be printed when the following instructions are executed? X 5; if (X 7) then (print the value 6; Y 6) else (print the value 4; Y 4) if (Y 5) then (print the value 3) else (print the value 2) _ ANSWER: 6, 2 3. What sequence of values would be printed if the proce

35、dure xxx described below were executed with N = 9? procedure xxx (N) if (N 4) then (print the value of N; apply the procedure yyy to the value 7) else (apply the procedure yyy to the value 2; print the value of N) procedure yyy (N) if (N 5) then (print the value of N; apply the procedure zzz to the

36、value 6) else (apply the procedure zzz to the value 5) procedure zzz (N) if (N = 5) then (print the value 7) else (print the value 8) _ ANSWER: 2, 8, 9 4. When using binary search algorithm to search for the letter X within the list: R, S, T, U, V, W, Z. How many entries will be checked before disco

37、vering that the letter is not in the list? _ ANSWER: 3 5. When using sequential search algorithm to search for the letter X within the list: R, S, T, U, V, W, Z. How many entries will be checked before discovering that the letter is not in the list? _ ANSWER: 7 6. Suppose the binary search algorithm

38、 was being used to search for the entry Tom in the list : Nathan, Oliver, Pat, Quincy, Rodger, Stan, Tom A. What would be the first entry in the list to be considered? _ B. What would be the second entry in the list to be considered? _ ANSWER: A. Quincy B. Stan 7. At most, how many entries in a list

39、 of 5000 names will be interrogated when using the sequential search algorithm? _ ANSWER: 5000 8. Which of the sequential or binary search algorithms would find the name Roger in the following list more quickly? John, Kelly, Lewis, Maurice, Nathan, Oliver, Pat, Quincy, Roger, Stan, Tom _ ANSWER: Bin

40、ary 9. What sequence of numbers would be printed if the following procedure were executed with N = 0? procedure xxx (N) while (N 4) do (print the value of N; N N + 2; print the value of N ) _ ANSWER: 0, 2, 2, 4 10. What sequence of numbers would be printed if the following procedure were executed with N = 0? procedure xxx (N) print the value of N; if (N 5) then (apply the procedure xxx to the value N + 2); print the value of N _ ANSWER: 0, 2, 4, 6, 6, 4, 2, 0

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

当前位置:首页 > 教育教学资料库 > 复习参考

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。