全国计算机等级考试四级试题(一)

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

  (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

视频学习

我考网版权与免责声明

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

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

最近更新

社区交流

考试问答