Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. The main memory accommodates
a. operating system
b. cpu
c. user processes
d. all of the mentioned
Q. What is the operating system?
a. in the low memory
b. in the high memory
c. either low or high memory (depending on the location of interrupt vector)
d. none of the mentioned
Q. In contiguous memory allocation
a. each process is contained in a single contiguous section of memory
b. all processes are contained in a single contiguous section of memory
c. the memory space is contiguous
d. none of the mentioned
Q. The relocation register helps in
a. providing more address space to processes
b. a different address space to processes
c. to protect the address spaces of processes
d. none of the mentioned
Q. The operating system and the other processes are protected from being modified by an already running process because
a. they are in different memory spaces
b. they are in different logical addresses
c. they have a protection algorithm
d. every address generated by the cpu is being checked against the relocation and limit registers
Q. Transient operating system code is code that
a. is not easily accessible
b. comes and goes as needed
c. stays in the memory always
d. never enters the memory space
Q. Using transient code, the size of the operating system during program execution.
a. increases
b. decreases
c. changes
d. maintains
Q. In fixed size partition, the degree of multiprogramming is bounded by
a. the number of partitions
b. the cpu utilization
c. the memory size
d. all of the mentioned
Q. The first fit, best fit and worst fit are strategies to select a
a. process from a queue to put in memory
b. processor to run the next process
c. free hole from a set of available holes
d. all of the mentioned
Q. In internal fragmentation, memory is internal to a partition and
a. is being used
b. is not being used
c. is always used
d. none of the mentioned
Q. A solution to the problem of external fragmentation is
a. compaction
b. larger memory space
c. smaller memory space
d. none of the mentioned
Q. Another solution to the problem of external fragmentation problem is to
a. permit the logical address space of a process to be noncontiguous
b. permit smaller processes to be allocated memory at last
c. permit larger processes to be allocated memory at last
d. all of the mentioned
Q. If relocation is static and is done at assembly or load time, compaction
a. cannot be done
b. must be done
c. must not be done
d. can be done
Q. The disadvantage of moving all process to one end of memory and all holes to the other direction, producing one large hole of available memory is
a. the cost incurred
b. the memory used
c. the cpu used
d. all of the mentioned
Q. External fragmentation will not occur when?
a. first fit is used
b. best fit is used
c. worst fit is used
d. no matter which algorithm is used, it will always occur