必胜高考网_全国高考备考和志愿填报信息平台

必勝高考網(wǎng) > 計算機類 > 計算機等級 > 資訊 >

全國計算機等級考試四級試題(一)(4)

時間: 家輝2 資訊

  Questions 65- 66 refer to the space requirements of different methods of storing graphs. The choices for these questions are combinations of the following statements.

  Ⅰ. The space required depends on the number of vertices.

  Ⅱ. The space required depends on the number of edges.

  (65) When the adjacency matrix method is used to store a graph, which of the statements is (are) true?

  A) None B) Ⅰ only C) Ⅱ only D) Ⅰ and Ⅱ

  (66) When the adjacency list method is used to store a graph, which of the statements is (are) true?

  A) None B) Ⅰ only C) Ⅱ only D) Ⅰ and Ⅱ

  Questions 67-68 are based on the following information,

  A hash table with hash function

  h1(k)=k mod 13

  is shown below.

  0 1 2 3 4 5 6 7 8 9 10 11 12

  35 33 48 25

  Collision is resolved using the hash function h2(k)=(k mod 11)+1.

  (67) How many key comparisons occur in searching for key 35 in the given hash table? (2分)

  A) 0 B) 1 C) 2 D) 3

  (68)& If a new key 67 is inserted into the given hash table, what will be its address? (2分)

  A) 3 B) 4 C) 5 D) 6

  (69) Suppose the contents of the DOS IF1.BAT file on the hard disk is as follows.

  @ECHO OFF

  MEM>FILE1

  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 screen 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

  (71) In order to append a standard 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 memory 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-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, 65, 67

  (74) Whant operation on relations R and S produces the relation shown below?

  {tuple│tuple∈R۸tuple∈\ 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 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 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 superclasses.

  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 low coupling D) high cohesion with high coupling

  (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) 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

  (80) Which of the following statements about testing software with 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 across the range of machines that support the language.

  II. Portability is guaranteed across all machines that have the same instruction set and operating system. (2分)

  A) Neither B) Ⅰ only C) Ⅱ only D) Ⅰ and Ⅱ

  (83) A memory-memory, machine instruction for a certain machine has the following format.

  (Such an instruction is similar to a register-register instruction

  except that the operands are displaced addresses in memory.)

  opcode meml displ1 mem2 displ2

  Which of the following could be an assembly lanuage instruction that would be translated into a memory-to-memory instruction for this machine?

  A) ADD 10(R1), 20(R2) B) ADD(10R1), (20R2)

  C) ADD R1, 10(R2), 20 D) ADD R1, 10, 20(R2)

  (84) In a certain cache system, the modified cache block is written to main memory only when the block is replaced. All of the following are used to describe this policy EXCEPT

  A) store-in B) write-back C) copy-back D) write-through

  (85) When an amount of memory is requested that is less than the size of a page, but a full page is allocated, the r esulting waste of memory is called

  A) external fragmentation B) internal fragmentation

  C) inaccessible page faults D) inaccessible garbage

  (86) The time that the CPU spends on a given program can be computed using all of the following expressions EXCEPT (2分)

  A) (CPU clock cycles for the program)*(clock cycle time)

  B) CPU clock cycles for the program

  clock rate

  C) (Instruction count)*CPI

  clock rate

  D) (CPU clock cycles for the program)*CPI

  clock rate

  (87) The methods used in Asynchronous Transfer Mode (ATM) are switch technology and which of the following is used to describe this mode?

  A) cell exchange B) packet exchange

  C) message exchange D) information exchange

  (88) In a data communication system, the transport media with the widest frequency band and best reliability is the

  A) telephone line B) coaxial cable

  C) radio channel D) fiber optic cable

  (89) Which of the following statements about the Internet is (are) true?

  I. It is possible to have multiple names corresponding to the same IP address. II. All host names must be registered with an Internet-wide central registry.

  A) Neither B) Ⅰ only C) Ⅱ only D) Ⅰ and Ⅱ

  (90) According to the principle of CRC calculation, given a frame-bit series M =11100111 and the multiple-term formula, frame-bit series generated by the CRC G =110011, then the CRC is (2分)

  A) 111101 B) 00011 C) 11010011 D) 1101001

  二、論述題(兩個論述題可任選其一,并只選其一,多選無效,滿分30分。)

  論述題 1

  局域網(wǎng)是當(dāng)前計算機網(wǎng)絡(luò)研究與應(yīng)用的一個熱點,而符合IEEE 802.3標(biāo)準(zhǔn)的傳統(tǒng)Ethenet(MAC層采用CSMA/CD方法,物理層采用 10BASE-T標(biāo)準(zhǔn))應(yīng)用最為廣泛。隨著網(wǎng)絡(luò)應(yīng)用的發(fā)展,以及大型信息系統(tǒng)與多媒體技術(shù)的應(yīng)用,人們對局域網(wǎng)性能提出了越來越高的要求,出現(xiàn)了符合 100BASE-T標(biāo)準(zhǔn)的Fast Ethernet、交換局域網(wǎng)Switching LAN與ATM等高速局域網(wǎng)產(chǎn)品。盡管高速局域網(wǎng)技術(shù)發(fā)展十分迅速,但是Ethernet仍然會被廣泛地使用。今后的網(wǎng)絡(luò)應(yīng)該是傳統(tǒng)Ethernet、FastEthernet LAN與ATM共存的結(jié)構(gòu)。因此,研究 Ethernet的基本工作原理、優(yōu)點與缺點,討論高速局域網(wǎng)絡(luò)發(fā)展的趨勢與特點,對我們學(xué)習(xí)和掌握局域網(wǎng)應(yīng)用技術(shù)是十分重要的。

  (1) 請用Ethernet發(fā)送與接收流程框圖說明CSMA/CD介質(zhì)訪問控制方法的基本工作原理。(15分)

  (2) 為什么說CSMA/CD屬于共享介質(zhì)、隨機爭用型的介質(zhì)訪問控制方法?這種方法主要缺點是什么? (5分)

  (3) 你認(rèn)為Fast Ethernet與ATM、Switching LAN是從哪兩個方面改進了傳統(tǒng)的Ethernet?它們各有什么優(yōu)缺點? (10分)

  論述題 2

  進程通信就是進程之間進行信息交換。系統(tǒng)中各進程異步執(zhí)行,但有些進程之間必須保持一定的聯(lián)系,以便協(xié)調(diào)一致地完成指定任務(wù)。這種聯(lián)系就是通過交換一定數(shù)量的信息來實現(xiàn)的。

  消息緩沖通信技術(shù)是一種高級通信機制,由Hansen首先提出。其基本思想是:根據(jù)"生產(chǎn)者-消費者關(guān)系"原理,利用公共消息緩沖區(qū)實現(xiàn)進程之間的信息交換。

  (1) 試敘述高級通信機制與低級通信機制P、V原語操作的主要區(qū)別。(5分)

  (2) 試敘述解釋消息緩沖通信技術(shù)的基本原理。 (10分)

  (3) 消息緩沖通信機制中提供發(fā)送消息原語。Send(receiver,a)和接收消息原語Receive(a)。調(diào)用參數(shù)a分別表示發(fā)送消息的內(nèi)存區(qū)首地址或接收進程的內(nèi)存消息區(qū)首地址。試設(shè)計相應(yīng)的數(shù)據(jù)結(jié)構(gòu),并用P、V操作原語實現(xiàn)Send和Receive原語。 (15分)

55496 主站蜘蛛池模板: 昊宇水工|河北昊宇水工机械工程有限公司 | TMT观察网_独特视角观察TMT行业| 贴片电容-贴片电阻-二三极管-国巨|三星|风华贴片电容代理商-深圳伟哲电子 | 范秘书_懂你的范文小秘书| 接地电阻测试仪[厂家直销]_电缆故障测试仪[精准定位]_耐压测试仪-武汉南电至诚电力设备 | 杭州实验室尾气处理_实验台_实验室家具_杭州秋叶实验设备有限公司 | 渣土车电机,太阳能跟踪器电机,蜗轮蜗杆减速电机厂家-淄博传强电机 | ERP企业管理系统永久免费版_在线ERP系统_OA办公_云版软件官网 | 锂电池生产厂家-电动自行车航模无人机锂电池定制-世豹新能源 | 沧州友城管业有限公司-内外涂塑钢管-大口径螺旋钢管-涂塑螺旋管-保温钢管生产厂家 | 开云(中国)Kaiyun·官方网站 - 登录入口 | 光谱仪_积分球_分布光度计_灯具检测生产厂家_杭州松朗光电【官网】 | 喷涂流水线,涂装流水线,喷漆流水线-山东天意设备科技有限公司 | 5nd音乐网|最新流行歌曲|MP3歌曲免费下载|好听的歌|音乐下载 免费听mp3音乐 | 刮板输送机,粉尘加湿搅拌机,螺旋输送机,布袋除尘器 | 北京网络营销推广_百度SEO搜索引擎优化公司_网站排名优化_谷歌SEO - 北京卓立海创信息技术有限公司 | 消泡剂-水处理消泡剂-涂料消泡剂-切削液消泡剂价格-东莞德丰消泡剂厂家 | 移动厕所租赁|移动卫生间|上海移动厕所租赁-家瑞租赁 | 合肥花魁情感婚姻咨询中心_挽回爱情_修复婚姻_恋爱指南 | 高考志愿规划师_高考规划师_高考培训师_高报师_升学规划师_高考志愿规划师培训认证机构「向阳生涯」 | 数控走心机-走心机价格-双主轴走心机-宝宇百科 | 电动垃圾车,垃圾清运车-江苏速利达机车有限公司| 硫酸钡厂家_高光沉淀硫酸钡价格-河南钡丰化工有限公司 | 多功能真空滤油机_润滑油全自动滤油机_高效真空滤油机价格-重庆润华通驰 | 承插管件_不锈钢承插管件_锻钢高压管件-温州科正阀门管件有限公司 | 矿用履带式平板车|探水钻机|气动架柱式钻机|架柱式液压回转钻机|履带式钻机-启睿探水钻机厂家 | 搬运设备、起重设备、吊装设备—『龙海起重成套设备』 | 太平洋亲子网_健康育儿 品质生活 | 盐城网络公司_盐城网站优化_盐城网站建设_盐城市启晨网络科技有限公司 | 衬塑设备,衬四氟设备,衬氟设备-淄博鲲鹏防腐设备有限公司 | 万师讲师网-优质讲师培训师供应商,讲师认证,找讲师来万师 | 浙江筋膜枪-按摩仪厂家-制造商-肩颈按摩仪哪家好-温州市合喜电子科技有限公司 | 生物风-销售载体,基因,质粒,ATCC细胞,ATCC菌株等,欢迎购买-百风生物 | 奶茶加盟,奶茶加盟店连锁品牌-甜啦啦官网 | 稳尚教育加盟-打造高考志愿填报平台_新高考志愿填报加盟_学业生涯规划加盟 | 铝镁锰板_铝镁锰合金板_铝镁锰板厂家_铝镁锰金属屋面板_安徽建科 | 儿童乐园|游乐场|淘气堡招商加盟|室内儿童游乐园配套设备|生产厂家|开心哈乐儿童乐园 | 聚氨酯催化剂K15,延迟催化剂SA-1,叔胺延迟催化剂,DBU,二甲基哌嗪,催化剂TMR-2,-聚氨酯催化剂生产厂家 | uv固化机-丝印uv机-工业烤箱-五金蚀刻机-分拣输送机 - 保定市丰辉机械设备制造有限公司 | 户外环保不锈钢垃圾桶_标识标牌制作_园林公园椅厂家_花箱定制-北京汇众环艺 | 不锈钢丸厂家,铝丸,铸钢丸-淄博智源铸造材料有限公司 |