61
82.9k

270+ Operating System Advanced Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Common Topics in Competitive and Entrance exams .

201.

An attached processor

A. is used one only a few computers
B. causes all processor to function equally
C. is more difficult to implement than a co- processor
D. is used only for limited, specific functions
Answer» D. is used only for limited, specific functions
202.

Situations where two or more processes are reading or writing some shared data and the final result depends on who runs precisely which are called

A. race condition
B. critical sections
C. mutual exclusions
D. message passing
Answer» A. race condition
203.

Producer consumer problem can be solved using

A. Semaphores
B. Event counters
C. Monitors
D. All of the above
Answer» D. All of the above
204.

The strategy of allowing process that are logically run able to be temporarily suspended is called

A. preemptive scheduling
B. non preemptive scheduling
C. shortest job first
D. first come first served
Answer» A. preemptive scheduling
205.

Moving process from main memory to disk is called

A. Scheduling
B. Cache
C. Swapping
D. Spooling
Answer» C. Swapping
206.

Banker’s algorithm for resource allocation deals with

A. deadlock prevention
B. deadlock avoidance
C. deadlock recovery
D. mutual exclusion
Answer» B. deadlock avoidance
207.

The dispatcher

A. actually schedules the tasks into the processor
B. is always very small and simple
C. puts tasks in wait
D. None of these
Answer» A. actually schedules the tasks into the processor
208.

Processor-bound tasks

A. use the processor more often
B. use more processor time
C. use less processor time
D. always take longer to execute
Answer» B. use more processor time
209.

The following resources can cause deadlocks

A. Read only files
B. Shared programs
C. Printers
D. All of the above Complex scheduling algorithms
Answer» C. Printers
210.

The intensive jobs

A. use less processor time than most jobs
B. you are constrained by their I/O requirements
C. run more quickly than processor- intensive jobs
D. should all be executed at the same time
Answer» B. you are constrained by their I/O requirements
211.

The FIFO algorithm

A. executes first the job that last entered the queue
B. executes first the job that first entered the queue
C. executes first the job with the least processor needs
D. executes first the job that has been in the queue the longest
Answer» B. executes first the job that first entered the queue
212.

Check pointing a job

A. allows it to be completed successfully
B. allows it to continue executing later
C. prepares it for finishing
D. occurs only when there is an error in it
Answer» B. allows it to continue executing later
213.

Windows is an

A. operating system
B. operating environment
C. user interface
D. programming platform
Answer» C. user interface
214.

Following is/are operating system used in computers

A. MS-DOS
B. OS/2
C. UNIX
D. All of the above
Answer» D. All of the above
215.

The following operating system writes through catches?

A. UNIX
B. DOS
C. ULTRIX
D. XENIX
Answer» B. DOS
216.

Which is/are the most important features of Microsoft windows program?

A. Windows
B. Pull-down menus
C. Icons
D. All of the above
Answer» D. All of the above
217.

Multiprocessing models have

A. symmetric multiprocessing model
B. asymmetric multiprocessing model
C. both (A) and (B) above
D. None of these
Answer» C. both (A) and (B) above
218.

Real-time systems are

A. primarily used on mainframe computers
B. used for monitoring events as they occur
C. used for program development
D. used for real-time interactive users.
Answer» B. used for monitoring events as they occur
219.

Multiprogramming systems

A. are easier to develop than single programming systems
B. execute each job faster
C. execute more jobs in the same time period
D. are used only one large mainframe computers
Answer» C. execute more jobs in the same time period
220.

Virtual memory is

A. simple to implement
B. used on all major commercial operating systems
C. less efficient in utilization of memory
D. useful when fast I/O devices are not available
Answer» C. less efficient in utilization of memory
221.

Memory management is

A. not used in modern operating systems
B. replaced with virtual memory on current systems
C. not used on multiprogramming systems
D. critical for even the simplest operating systems
Answer» B. replaced with virtual memory on current systems
222.

Scheduling is

A. allowing job to use the processor
B. making proper use of processor
C. Both A and B
D. None of these
Answer» C. Both A and B
223.

Following is true for Multiprocessing

A. It makes the operating system simpler
B. It allows multiple processes to run simultaneously
C. It allows the same computer to have multiple processors
D. None of these
Answer» C. It allows the same computer to have multiple processors
224.

A monitor program is a program that

A. interprets the interrupt calls
B. restores the status of the CPU after a function call
C. interprets the input from a keyboard and converts the input into its binary equivalent
D. checks the status of the I/O devices
Answer» C. interprets the input from a keyboard and converts the input into its binary equivalent
225.

The process scheduler in the processor management unit

A. gives all jobs to the job scheduler
B. selects a job to run
C. selects a process to run
D. co-ordinates the process synchronization
Answer» C. selects a process to run
226.

Round robin is a

A. kind of magnetic drum
B. process scheduling policy
C. process synchronization policy
D. memory allocation policy
Answer» B. process scheduling policy
227.

Which is the correct definition of a valid process transition in an operating system?

A. Wake up: ready ? running
B. Dispatch: ready? running
C. Block: ready ? running
D. Timer runout : ready ? blocked
Answer» B. Dispatch: ready? running
228.

A critical section is a program segment

A. which should run in a certain specified amount of time
B. which avoids deadlocks
C. where shared resources are accessed
D. which must be enclosed by a pair of semaphore operations.
Answer» C. where shared resources are accessed
229.

Which of the following is an example of a spooled device?

A. A line printer used to print the output of a number of jobs
B. A terminal used to enter input data to a running program
C. A secondary storage device in a virtual memory system
D. A graphic display device
Answer» A. A line printer used to print the output of a number of jobs
230.

A solution to the Dining Philosophers Problem which avoids deadlock is

A. ensure that all philosophers pick up the left fork before the right fork.
B. ensure that all philosophers pick up the right fork before the left fork.
C. ensure that one particular philosopher picks up the left fork before the right fork, and all other philosophers pick up the right fork before the left fork.
D. none of the above
Answer» C. ensure that one particular philosopher picks up the left fork before the right fork, and all other philosophers pick up the right fork before the left fork.
231.

Locality of reference implies that the page reference being made by a process

A. will always be to the page used in the previous page reference
B. is likely to be to one of the pages used in the last few page references
C. will always be to one of the pages existing in memory
D. will always lead to a page fault
Answer» B. is likely to be to one of the pages used in the last few page references
232.

The correct matching for the following pairs is - (A) Disk sucheduling, (1) Round robin, (B) Batch processing, (2) SCAN ,(C) Time sharing, (3) LIFO, (D) Interrupt processing, (4) FIFO,

A. A-2, B-4, C-1, D-3
B. A-1, B-2, C-3, D-4
C. A-2, B-1, C-4, D-3
D. None of these
Answer» A. A-2, B-4, C-1, D-3
233.

Shared sub-directories and files are example of

A. cyclic graph directory
B. tree structured direction
C. one level directory
D. none of these
Answer» A. cyclic graph directory
234.

The lowest level of I/O control consists of

A. device drivers
B. interrupt handlers
C. both A and B above
D. none of the above
Answer» C. both A and B above
235.

Which type of design problem in file system

A. how the file system should look to the user
B. algorithm and data structure must be created to map the logical file system onto the secondary storage device
C. Both A and B above
D. none of the above
Answer» C. Both A and B above
236.

Of the following which is the methods for allocating disks

A. Contiguous
B. Linked
C. Indexed
D. All of the above
Answer» B. Linked
237.

External fragmentation solved by which allocation?

A. contiguous allocation
B. linked allocation
C. index allocation
D. both B and C
Answer» D. both B and C
238.

Which O/I are best method for allocating?

A. Contiguous
B. Linked
C. Index
D. All of the above
Answer» B. Linked
239.

The most efficient data set organization is

A. a sequential file
B. an ISAM file
C. variable depending upon the usage of the data set
D. a partitioned data set
Answer» C. variable depending upon the usage of the data set
240.

A partitioned data set is most used for

A. storing program data
B. storing ISAM files
C. a program or source library
D. storing backup information
Answer» C. a program or source library
241.

Fragmentation of the file system

A. can always be prevented
B. occurs only if the file system is used improperly
C. can be temporarily removed by compaction
D. is a characteristic of all file systems
Answer» C. can be temporarily removed by compaction
242.

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
Answer» C. depends upon the size of the file
243.

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
Answer» C. varies in degree between installations
244.

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
Answer» A. provide an easy way of finding groups of related files
245.

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
Answer» B. specifies which blocks are used by which file
246.

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
Answer» A. is a low percentage of number of records that are added to or deleted from a file
247.

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
Answer» A. The number of records added or deleted from a file composed to the original number of records in that file
248.

Which types of file organization are supported by magnetic tape?

A. random files
B. contiguous sequential file
C. indexed sequential file
D. all of the above
Answer» B. contiguous sequential file
249.

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
Answer» D. All of the above
250.

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
Answer» A. where the process will reside in memory, then absolute code can be generated

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.