Operating Systems - Unit-5
AOrganize and manage files on storage devices
BIncrease CPU speed
CManage only processes
DReplace virtual memory
Correct AnswerA. Organize and manage files on storage devices
ASequential access
BDirect access
CIndexed access
DRandom-only access
Correct AnswerA. Sequential access
AOnly sequential reading
BAccess to a particular block without reading all previous blocks
COnly writing at the end
DOnly directory access
Correct AnswerB. Access to a particular block without reading all previous blocks
AOrganize and locate files
BSchedule processes
CManage page faults
DManage CPU registers
Correct AnswerA. Organize and locate files
AThere is one directory for all files
BEvery file has multiple directories
CDirectories cannot contain files
DEach user must have a separate root directory
Correct AnswerA. There is one directory for all files
AHierarchical organization of files and directories
BOnly one directory
CNo subdirectories
DOnly sequential access
Correct AnswerA. Hierarchical organization of files and directories
AControl access to files
BIncrease disk capacity
CIncrease CPU speed
DManage page replacement
Correct AnswerA. Control access to files
ARead, write and execute
BRun, wait and exit
CRead, wait and execute
DRestore, write and expand
Correct AnswerA. Read, write and execute
AContiguous allocation
BPriority allocation
CSemaphore allocation
DThread allocation
Correct AnswerA. Contiguous allocation
AConsecutive disk blocks
BRandom CPU registers
COnly one byte
DOnly directory blocks
Correct AnswerA. Consecutive disk blocks
AFast sequential and direct access
BNo need for file names
CNo fragmentation in all cases
DNo need for free-space management
Correct AnswerA. Fast sequential and direct access
AA linked list of disk blocks
BOne contiguous memory segment
COnly one index block
DA page table
Correct AnswerA. A linked list of disk blocks
APoor direct access
BIt cannot store large files
CIt cannot use disk blocks
DIt requires contiguous blocks
Correct AnswerA. Poor direct access
AAn index block containing pointers to file blocks
BOnly contiguous blocks
COnly directory entries
DOnly page tables
Correct AnswerA. An index block containing pointers to file blocks
ATrack unused disk blocks
BTrack CPU registers
CManage process priorities
DReplace page tables
Correct AnswerA. Track unused disk blocks
ABits to indicate free or allocated blocks
BFiles to represent processes
CPages to represent users
DSemaphores to represent blocks
Correct AnswerA. Bits to indicate free or allocated blocks
AOpen a file and obtain a file descriptor
BDelete a file
CCreate a process
DAllocate a page
Correct AnswerA. Open a file and obtain a file descriptor
ACreate a new file
BRead a process state
CClose a file
DReplace a page
Correct AnswerA. Create a new file
ARead data from an open file
BChange file permissions only
CCreate a directory only
DTerminate a process
Correct AnswerA. Read data from an open file
AWrite data to an open file
BLoad a page into memory
COpen a directory
DSchedule a process
Correct AnswerA. Write data to an open file
AClose an open file and release its file descriptor
BCreate a file
CRead file metadata
DAllocate disk blocks
Correct AnswerA. Close an open file and release its file descriptor
AChange the current file offset
BCreate a directory
CClose a process
DDelete page tables
Correct AnswerA. Change the current file offset
AFile metadata
BCPU priority
CPage frame number
DProcess stack
Correct AnswerA. File metadata
ADevice-specific control operations
BCreating page tables
CCPU scheduling
DProcess termination
Correct AnswerA. Device-specific control operations
AAn integer used by a process to identify an open file
BA physical disk block
CA page number
DA directory name
Correct AnswerA. An integer used by a process to identify an open file
AA file descriptor
BA process priority
CA page number
DA disk sector size
Correct AnswerA. A file descriptor
AFile offset
BPage table
CDirectory pointer
DProcess pointer
Correct AnswerA. File offset
Alseek()
Bstat()
Cclose()
Dioctl()
Correct AnswerA. lseek()
AContiguous allocation
BLinked allocation
CIndexed allocation
DPriority allocation
Correct AnswerD. Priority allocation
Aopen()
Bread()
Cioctl()
Dstat()
Correct AnswerC. ioctl()