全国计算机等级考试四级笔试试题五(下)

来源:计算机等级考试    发布时间:2012-08-27    计算机等级考试视频    评论

    (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

    (71)A virtual memory system has five virtual pages numbered zero through four and  three page frames. All the page frames are initially empty. How many page faults are generated with the following access sequence using a FIFO replacement policy?  _____.
    (2 Points)
    0 1 2 3 0 1 5 0 1 2 3 4 
    A) 8 B) 9 C) 10 D) 11

    (72)Which element is NOT part of a microkernel? _____.(2 Points)
    A) basic I/O B) a file system 
    C) IPC mechanisms D) memory management

    (73)Which is local to a thread instead of a process? _____.(2 Points)
    A) a stack B) an open file C) a semaphores D) an address space

    (74)What is a subselect statement?
    A)a select statement that selects a subset of fields in a table
    B)a select statement that returns a subset of the data in a table
    C)a select statement that appears within another select statement
    D)a select statement that returns a subset of the constraints on a field

    (75)In developing a hospital database,it is determined that on the average,each patient will have 6 treatments during a hospital stay. The averge length of a stay is three days.The hospital has 1000 beds.There are on the average 800 patientsoccupying bedseachday.The relationship between PATIENT and TREATMENT is l:M.The relationship between PATIENT and BED is 1: 1,conditional. If treatment record occurrences are archived as soon as a patient is discharded from the hospital, how many occurrences of the TREATMENT records will be stored in the TREATMENT database file on the  average? _____.(2 Points)
    A) 6,000 B) 4,800 C) 18,000 D)1,600

    (76)Which of the following conditions will make a relation that is in first normal form  to be in second normal form? _____.
    Ⅰ.every non-key attribute is functionally dependent on the full set of primary key 
    attributes.
    Ⅱ.no non-key attributes exist in the relation.
    Ⅲ.the primary key consists of only one attribute.
    A) Ⅰ only B) Ⅰand Ⅱ only C) Ⅰand Ⅲ only D) any of them

    (77)The most commonly used locking level in implementing concurrency control is at which  of the following levels? _____.
    A) database B) table C) record D)field

    (78)Which function is NOT served by building a prototype? _____.
    A) It takes the place of the final system.
    B) It assists in gathering software requirements
    C) It assists in estimating the cost of the project.
    D) It is used as the foundation of the larger projects.

    (79)Software document is an important part of software and a basis of software development  phase.It also influnces software’s _____.(2 Points)
    A) Reusability B) Maintanence 
    C) Expansibility D) Portability

    (80) Which phase of the software development requires the most development time? _____.
     A) the design phase B) the testing phase
    C) the maintenance phase D) the development phase

    (81) Which of the following statements is correct?_____. (2 Points)
    A)The definition phase results in the Software Requirements Specification.
    B)Testing is optional in software life cycle.
    C)CASE tools can only aid in the design phase of a software life cycle.
    D)A change during a later phase does not require the documentation of all earlierphases to be updated.

    (82)Black-box and white-box testing method are often used in software testing phase,in which,the white-box is mainly used to test software's_____.
    A)reasonableness of structure B)correctness of a program
    C)external function of a program D)internal logic of a program

    (83) How does Booth's Algorithm improve binary multiplication?_____.
    A) It prevents overflow. B) It prevents underflow.
    C) It preserves the sign of the multiplication operation.
    D) It enhances the speed of the operation significantly.

    (84) A cache has 64 blocks; each block is 16 bytes.Which block does byte 1200 map to ?_____.
    A) 25 B) 60 C) 75 D)100

    (85) Which is NOT a characteristic of an RISC processor?_____.
    A) a high clock speed
    B) a highly optimized pipeline
    C) a few general-purpose registers
    D) a limited amount of small instructions

    (86)You are performing two sums: the first is a sum of two scalar variables and the second is a matrix sum of a pair of two-dimensional arrays-size 1000 by 1000. What speedup is achieved when the calculations are performed on size 1000 processors? _____.(2 Points)
    A) 50 B) 100 C) 999 D) none of the above

    (87)According to Shannon's equation,what is the channel capacity of an analog voice-grade phone line with a bandwidth of 3100 Hz and a signal-to-noise ratio or 30dB?_____.(2 Points)
    A) 9.1 Kbps B) 9.3 Kbps C) 30.9 Kbps D) 30.17 Kbps

    (88)The X.25 standard specifies three layers of functionality. Which layers of the OSI
 model correspond to the X.25 layers?_____.
    A) th  e Physical,Network,and Session Layers
    B) the Physical,Data Link,and Network Layers
    C) the Physical,Data Link,and Transport Layers
    D) the Physical,Session,and Presentation layers

    (89)Which routing algorithm is described below?It is a mechanism in which the setding station determines the route the frame  will follow and includes the routing information with the frame; bridges read the routing information to determine if they should forward the frame._____.
    A) Fixed Routing B) Spanning Tree
    C) Source Routing D) Frame Forwarding

    (90) Which OSI layer does a bridge operate at?_____.
    A) the Physical Layer B) the Network Layer
    C) the Transport Layer D) the Data Link Layer 

视频学习

我考网版权与免责声明

① 凡本网注明稿件来源为"原创"的所有文字、图片和音视频稿件,版权均属本网所有。任何媒体、网站或个人转载、链接转贴或以其他方式复制发表时必须注明"稿件来源:我考网",违者本网将依法追究责任;

② 本网部分稿件来源于网络,任何单位或个人认为我考网发布的内容可能涉嫌侵犯其合法权益,应该及时向我考网书面反馈,并提供身份证明、权属证明及详细侵权情况证明,我考网在收到上述法律文件后,将会尽快移除被控侵权内容。

最近更新

社区交流

考试问答