问题 问答题

文件存储空间的管理有哪几种常用的方法试比较各种方法的优缺点。

答案

参考答案:常用的文件存储空间管理方法有空闲表法,空闲链表法和位示图法。
· 空闲表法属于连续分配方式,它具有较高的分配速度,可以减少访问磁盘的I/O频率,而且文件的访问速度也可以提高,缺点是存储空间的利用率受到影响,对于大型文件,难以找到合适的连续空间。
· 空闲链表法可以克服空闲表的不足,但分配和回收时访问磁盘较频繁。
· 位示图的主要优点是方便地找到一组相邻接的空闲盘块,而且由于位示图较小,可以整个保存在内存中,分配和回收较快.缺点是当磁盘容量较大时,整个位示图进入内存需要占用较大的内存空间。

实验题
阅读理解

Please be advised that Nairobi like any other large city has a security and crime problem. However, if you observe the following simple guidelines you will have a trouble-free stay here:

1. Do not wear a money belt. This makes you an instant target.

2. Cameras of all kinds are a favourite with snatchers. Feel free to use them within the Starehe Campus and the hotel grounds but not in the streets.

3. Ladies’ handbags are also a regular snatch. Avoid carrying one, and if you must, be alert and hold on to it tightly.

4. Jewellery and even glasses with valuable frames are also often targeted. Bear this in mind.

5. When in a vehicle keep the doors always locked, and the windows only slightly open — especially at traffic lights, junctions and in slow moving traffic.

6. Beware of street children, their begging often quickly transforms into something more unpleasant.

7. Stay with the main party all the time, and avoid wandering off on your own.

8. Finally, the best defence is to be alert at all times and conscious of your environment. Should you have any problem or need help at any hour of the day or night, call any of the following and they will do their best for you:

Office fixed, home fixed and mobile phones

● Kenndy Hongo 763856 761221 763182 761294

● Fred Okono 761221 764988 604490

● Edwin Otieno 761221 761642 763011 701279

64. This selection must be delivered by _______.

A. the Nairobe city government

B. the police of the Nairobe Airport

C. the organizer of the seminar (研讨会)

D. Kennedy Hong, a detective

65. After reading this notice, visitors to Nairobe might gain an impression that _______.

A. Fred Okono and his fellow workmates are very kind and helpful

B. Nairobe is a large city which is very developed

C. the crime problem is very serious in the city of Nairobe

D. they should not have paid a visit to Nairobe, and should buy a ticket back immediately

66. The notice tells us that _______.

A. something unpleasant could happen to you if you use a camera during the seminar

B. ladies must not wear a handbag or any jewellery

C. in the hotels of Nairobe, it might be dangerous to stay in a single room

D. everything will be OK if you always watch out and are clear about the surroundings