全国计算机等级考试四级考试试全真模拟试题(一)
来源:优易学  2011-2-22 21:55:24   【优易学:中国教育考试门户网】   资料下载   IT书店

 

  (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

上一页  [1] [2] [3] [4] [5] [6] [7] 下一页

责任编辑:小草

文章搜索:
 相关文章
热点资讯
热门课程培训