Top 250+ Solved Operating System Advanced MCQ Questions Answer
Q. File record length
a. should always be fixed
b. should always be variable
c. depends upon the size of the file
d. should be chosen to match the data character
Q. Disaster recovery
a. is needed by every installation
b. is never needed
c. varies in degree between installations
d. requires off-site computer for immediate use
Q. Wild-card specifies
a. provide an easy way of finding groups of related files
b. are only used when printing the contents of files
c. can be used when writing a file
d. allow several files to be read simultaneously
Q. The allocation map
a. is used to store program data
b. specifies which blocks are used by which file
c. is updated by applications programs
d. allows programs to erase files
Q. The activity of a file
a. is a low percentage of number of records that are added to or deleted from a file
b. is a measure of the percentage of existing records updated during a run
c. refers to how closely the files fit into the allocated space
d. is a measure of the number of records added or deleted from a file compassed with the original number of records
Q. The volatility of a file refers to
a. The number of records added or deleted from a file composed to the original number of records in that file
b. Efficiency with which non-sequential files are processed
c. The extent where the records of the file "are contiguous and in proximity to others
d. Percentage of records that has changed" in a given time period
Q. Which types of file organization aresupported by magnetic tape?
a. random files
b. contiguous sequential file
c. indexed sequential file
d. all of the above
Q. Address Binding is defined as
a. Compiler will typically bind these symbolic addresses to relocatable addressees
b. Each binding is a mapping from one address space to another
c. The linkage editor or loader win in turn bind these relocatable addresses to absolute addresses
d. All of the above
Q. Compile time
a. where the process will reside in memory, then absolute code can be generated
b. where the process will reside in memory, then the compiler must generate relocatable code
c. if the process can be moved during its execution from one memory segment to another,the binding must be delayed until run time
d. all of the above
Q. Load time
a. where the process will reside in memory, then absolute code can be generated
b. where the process will reside in memory, then the compiler must generate relocatable memory
c. if the process can be moved during its execution from one memory segment to another, then binding must be delayed until run time
d. all of the above
Q. Fragmentation of the file system
a. occurs only if the file system is used improperly
b. can always be prevented
c. can be temporarily removed by compaction
d. is the characteristic of all files system
Q. Stub
a. is included in the image for each library routine reference
b. is small piece of code that indicates how to locate the appropriate memory resident library routine
c. how to load the library if the routine is not already present
d. all of the above
Q. Local replacement
a. allows a process to select a replacement frame from the set of all frames
b. requires that each process selects from only its own set of allocated frames
c. both (A) and (B) above
d. none of the above
Q. Thrashing
a. the high paging activity
b. is spending more time in paging than executing
c. both A and B above
d. none of the above
Q. Thrashing can be avoided if
a. the pages, belonging to the working set of the programs are in main memory
b. the speed of CPU is increased
c. the speed of I/O processor is increased
d. all of the above