OSG_5
C
A ____ is a group of related records that contains information to be used by specific application programs to generate reports. Field Record group File Directory
C
A computer has four page frames. The time of loading, time of last access, and the R and M bits for each page are as shown below (the times are in clock ticks): Page Loaded Last ref. R M -------------------------------------------------------------------------------------- 0 226 280 0 0 1 160 265 0 1 2 110 270 1 0 3 120 285 1 1 Which page will FIFO replace? 0 1 2 3 C because it will load first. 110<120<160<226 Source: http://www.angelfire.com/blues/chitrungduong/ecs150/hw4sol.txt
C
File is generally defined to be: A basic element of data A collection of related fields A collection of similar records None of the other choices
B
In terms of main memory efficiency the method of "Backing up pages dynamically" in comparison with the method of "Paging to a static swap area" is Better Worse Equal Nearly equal
A
Many computer users and some operating systems call subdirectories ____. Folders Files Volumes Databases
D
The Mach model of Page fault handling with an external pager includes A low-level MMU handler A page fault handler that is part of the kernel An external pager running in user space All of the other choices
C
The absolute pathname of a file in Linux is with respect to the Home directory Login directory Root directory on the system All of the other choices
C
To specify an address in this segmented memory, the _____ form is used [A] <physical address, offset> [B] <process, offset> [C] <segment-number, offset> [D] <virtual address, offset>
D
Where should be put the page replacement algorithm In Mach model of Page fault handling with an external pager? In the low-level MMU handler In the page fault handler that is part of the kernel In the external pager running in user space All of the other choices
C
Which is special file? character special file block special file Both character special file and block special file None of the other choices
C
Which kind of tables is used in the segmentation? Global Descriptor Table (GDT) Local Descriptor Table (LDT ) Both Global Descriptor Table (GDT) and Local Descriptor Table (LDT ) None of the other choices
C
Which of a system call is to allow the system announce that the file is coming and set some of the attributes? OPEN CLOSE CREATE RENAME
D
Which of a system call is to allow the system fetch the attributes and list of disk addresses into main memory for rapid access on later call? OPEN CLOSE SEEK RENAME
B
Which of a system call is to allow the system free up internal table space? OPEN CLOSE SEEK DELETE
C
Which of the following is not file structure? Byte sequence Record sequence Ring Tree
B
Which of the following is not special file? Character special file Stream special file Block special file None of the other choices
B
Which of the following is specified to indicate the directory where the file is located? Extension Path name Root directory Sub-directory
D
Which of the following statements about segmentation is false? There are several linear address spaces The total address space can be more than the size of physical memory Sharing of procedures between different users can be facilitated None of the other choices
B
____ are special files with listings of filenames and their attributes. Databases Directories Programs Data files
D
____ is a specialized WRITE command for existing data files that allows for appending records or for rewriting selected records in their original place in the file. APPEND UPDATE REWRITE MODIFY