• 沒有找到結果。

练习7 (第10、11章)

N/A
N/A
Protected

Academic year: 2021

Share "练习7 (第10、11章)"

Copied!
5
0
0

加載中.... (立即查看全文)

全文

(1)

Name: 张 海

 

#1 Points possible: 3

Operating system for which the NTFS file system was developed _______.

LINUX UNIX DOS

WINDOWS NT

#2 Points possible: 3

A file should be _______ before it is accessed.

named opened established backed up

#3 Points possible: 3

A file system uses a two-level indexed allocation scheme. If the size of each block is 1KB, and the block address is 4 bytes, then the

maximum length of a file this system can support is approximately _____ .

16MB 64MB 128MB 256MB

(2)

#4 Points possible: 3

A file’s absolute path name starts from __________ .

current directory root directory home directory multi-level directory

#5 Points possible: 3

Commonly, In memory the file control block of a file does not contain_________.

the access rights the timestamp the file size the file name

#6 Points possible: 3

Consider a file has 100 data blocks. Assume that the file control block, the index block(s) are all in memory. Which of the following actions does not require any I/O operations?

moving the last block to the beginning, if contiguous allocation method is used

moving the last block to the beginning, if indexed allocation method is used

moving the last block to the beginning, if linked allocation method is used

moving the first block to the end, if linked allocation method is used

#7 Points possible: 3

File access is protected by _____.

(3)

both user access rights and file attributes both user priority and file attributes both file attributes and user password

#8 Points possible: 3

The system design the structure File Control Block (FCB) to manage the files. Commonly, File control block is created on disk when the _____ system call is invoked.

fork open read write

#9 Points possible: 3

Files on the hard disk are accessed as units of _______ .

blocks tracks records cylinders

#10 Points possible: 3

In order to solve name collision, the file system normally adopts _________.

pathnames indexing

tree-like directory structures conventional naming methods

(4)

#11 Points possible: 3

Which file allocation method does not allow direct access efficiently?

Contiguous allocation Linked allocation Indexed allocation Hashed allocation

#12 Points possible: 3

In a file system, the basic operation in a “Open” system call is ________.

reading file contents from outer storage into memory reading file control information from outer storage into memory

reading file’s FAT table from outer storage into memory reading disk block from disk into memory

#13 Points possible: 3

Which allows supporting multiple file systems?

ext2 ext3 VFS NTFS

#14 Points possible: 3

Which of the following acronyms has no relationship with file systems?

ext3

(5)

ext4 SDT

#15 Points possible: 3

Which of the following allocation method is not fit for the file’s dynamic increasing ?

Contiguous allocation Linked allocation Indexed allocation Hashed allocation

參考文獻

相關文件

– Each time a file is opened, the content of the directory entry of the file is moved into the table.. • File Handle (file descriptor, file control block): an index into the table

The performance guarantees of real-time garbage collectors and the free-page replenishment mechanism are based on a constant α, i.e., a lower-bound on the number of free pages that

Let us consider the numbers of sectors read and written over flash memory when n records are inserted: Because BFTL adopts the node translation table to collect index units of a

Tei-Wei Kuo, Embedded System and Wireless Networking Lab, National Taiwan University.. Real-Time

– Transfers operating system from mass storage to main memory. – Executes jump to

The tool to convert user programs from MIPS’s COFF into Nachos’s NOFF format (NOFF: Nachos Object File Format).. Building directories for different

• The memory storage unit holds instructions and data for a running program.. • A bus is a group of wires that transfer data from one part to another (data,

I love reading these story books with their exciting stories and funny pictures.. The Berenstain Bears are