问题 单项选择题

有一矩阵“int a[50][50]”以行为序进行存储,有一个虚拟存储系统,物理内存共有 3页,其中1页用来存放程序,其余2页用于存放数据。假设程序已在内存中占1页,其余 2页空闲。

程序A:

for(i=0; i<=49;i++)

for(j=0; j<=49;j++)

A[i][j]=0;

程序B:

for(i=0; i<=49; i++)

for(j=0; j<=49; j++)

A[i][j]=0;

若每页可存放50个整数,执行程序A会发生 (52) 次缺页,执行程序B会发生 (53) 次缺页。

(52)处填()。

A.50

B.100

C.1000

D.2500

答案

参考答案:A

完形填空
完形填空。
         Good morning, everyone.
         Welcome to the new Sea Life Centre at Plymouth. The Sea Life Centre is a really exciting place. There are
so many things to      1      here and everything is enjoyable. It costs£3.70 for grown-ups .£2 for children and
less for over sixties and school groups. It's      2     from 9:00 a.m. to 4:30 p.m.every day except 25th and 26th
of December. 
         Special     3    include (包括) hourly feeding times for all the different animals and fish, and shows in the
sea life theatre.     4     is always there to answer questions about what you've seen. If you are in a group of six
or more people, we can give you a special guided tour of the centre. But you      5      to arrange (安排) this at
the information desk when you     6     .
         The latest attraction is a big glass tunnel (隧道) you can walk through. All around you, you will see fish
swimming-sometimes even over your head, You certainly have the      7     view (景色) of the undersea world.
Children     8    it and it's really amazing for grown-ups, too.
        When you get      9    , there is a relaxed family dining room serving food.
        That's all. For      10    information, phone 01743-564219. Have a good time! Thank you.
( )1.A.see     
( )2.A.popular 
( )3.A.changes 
( )4.A.Someone 
( )5.A.decide 
( )6.A.return  
( )7.A.clearest
( )8.A.want    
( )9.A.tired   
( )10.A.some   
B. do        
B. busy      
B. programs
B. Anyone      
B. like    
B. arrive   
B. funniest 
B. visit     
B. bored    
B. more   
C. play             
C. crowded          
C. attractions      
C. Everyone              
C. hope              
C. leave               
C. most relaxing 
C. love              
C. thirsty           
C. much             
D. take                
D. open             
D .performances      
D No one             
D. need              
D. travel               
D. most frightening 
D. find              
D. hungry             
D. most             
单项选择题 案例分析题