πŸ’»

Operating System MCQs

1K+ questions with answers

701

When keeping a list of all the links/references to a file, and the list is empty, implies that _____________

a the file has no copies
b the file is deleted
c the file is hidden
d none of the mentioned
Medium
View Details β†’
702

When a cycle exists, the reference count maybe non zero, even when it is no longer possible to refer to a directory or file, due to _______

a the possibility of one hidden reference
b the possibility of two hidden references
c the possibility of self referencing
d none of the mentioned
Medium
View Details β†’
703

A device driver can be thought of like a translator. Its input consists of _____ commands and output consists of _______ instructions.

a high level, low level
b low level, high level
c complex, simple
d low level, complex
Medium
View Details β†’
704

The file organization module knows about _____________

a files
b logical blocks of files
c physical blocks of files
d all of the mentioned
Medium
View Details β†’
705

Metadata includes _____________

a all of the file system structure
b contents of files
c both file system structure and contents of files
d none of the mentioned
Medium
View Details β†’
706

For each file there exists a ___________ that contains information about the file, including ownership, permissions and location of the file contents.

a metadata
b file control block
c process control block
d all of the mentioned
Medium
View Details β†’
707

For processes to request access to file contents, they need _____________

a to run a seperate program
b special interrupts
c to implement the open and close system calls
d none of the mentioned
Medium
View Details β†’
708

During compaction time, other normal system operations _______ be permitted.

a can
b cannot
c is
d none of the mentioned
Medium
View Details β†’
709

In the linked allocation, the directory contains a pointer to which block? I. first block II. last block

a I only
b II only
c Both I and II
d Neither I nor II
Medium
View Details β†’
710

There is no __________ with linked allocation.

a internal fragmentation
b external fragmentation
c starvation
d all of the mentioned
Medium
View Details β†’
711

What is the major disadvantage with a linked allocation?

a internal fragmentation
b external fragmentation
c there is no sequential access
d there is only sequential access
Medium
View Details β†’
712

What if a pointer is lost or damaged in a linked allocation?

a the entire file could get damaged
b only a part of the file would be affected
c there would not be any problems
d none of the mentioned
Medium
View Details β†’
713

FAT stands for _____________

a File Attribute Transport
b File Allocation Table
c Fork At Time
d None of the mentioned
Medium
View Details β†’
714

By using FAT, random access time is __________

a the same
b increased
c decreased
d not affected
Medium
View Details β†’
715

The three major methods of allocating disk space that are in wide use are _____________

a contiguous
b linked
c indexed
d all of the mentioned
Medium
View Details β†’
716

In contiguous allocation _____________

a each file must occupy a set of contiguous blocks on the disk
b each file is a linked list of disk blocks
c all the pointers to scattered blocks are placed together in one location
d none of the mentioned
Medium
View Details β†’
717

In linked allocation _____________

a each file must occupy a set of contiguous blocks on the disk
b each file is a linked list of disk blocks
c all the pointers to scattered blocks are placed together in one location
d none of the mentioned
Medium
View Details β†’
718

In indexed allocation _____________

a each file must occupy a set of contiguous blocks on the disk
b each file is a linked list of disk blocks
c all the pointers to scattered blocks are placed together in one location
d none of the mentioned
Medium
View Details β†’
719

On systems where there are multiple operating system, the decision to load a particular one is done by _____________

a boot loader
b bootstrap
c process control block
d file control block
Medium
View Details β†’
720

The VFS (virtual file system) activates file system specific operations to handle local requests according to their _______

a size
b commands
c timings
d file system types
Medium
View Details β†’
721

Contiguous allocation of a file is defined by _____________

a disk address of the first block & length
b length & size of the block
c size of the block
d total size of the file
Medium
View Details β†’
722

One difficulty of contiguous allocation is _____________

a finding space for a new file
b inefficient
c costly
d time taking
Medium
View Details β†’
723

_______ and ________ are the most common strategies used to select a free hole from the set of available holes.

a First fit, Best fit
b Worst fit, First fit
c Best fit, Worst fit
d None of the mentioned
Medium
View Details β†’
724

The first fit and best fit algorithms suffer from _____________

a internal fragmentation
b external fragmentation
c starvation
d all of the mentioned
Medium
View Details β†’
725

To solve the problem of external fragmentation ________ needs to be done periodically.

a compaction
b check
c formatting
d replacing memory
Medium
View Details β†’
726

If too little space is allocated to a file _____________

a the file will not work
b there will not be any space for the data, as the FCB takes it all
c the file cannot be extended
d the file cannot be opened
Medium
View Details β†’
727

Reliability of files can be increased by _____________

a keeping the files safely in the memory
b making a different partition for the files
c by keeping them in external storage
d by keeping duplicate copies of the file
Medium
View Details β†’
728

Protection is only provided at the _____ level.

a lower
b central
c higher
d none of the mentioned
Medium
View Details β†’
729

What is the main problem with access control lists?

a their maintenance
b their length
c their permissions
d all of the mentioned
Medium
View Details β†’
730

Many systems recognize three classifications of users in connection with each file (to condense the access control list).

a Owner
b Group
c Universe
d All of the mentioned
Medium
View Details β†’
731

All users in a group get _______ access to a file.

a different
b similar
c same
d none of the mentioned
Medium
View Details β†’
732

Universe consists of _____________

a all users that aren’t included in the group or owners
b all users that are not owners
c all users in the system
d none of the mentioned
Medium
View Details β†’
733

To control access the three bits used in UNIX are represented by _____________

a r
b w
c x
d all of the mentioned
Medium
View Details β†’
734

If each access to a file is controlled by a password, then what is the disadvantage?

a user will need to remember a lot of passwords
b it is not reliable
c it is not efficient
d all of the mentioned
Medium
View Details β†’
735

What will happen in a multi level directory structure?

a the same previous techniques will be used as in the other structures
b a mechanism for directory protection will have to applied
c the subdirectories do not need protection once the directory is protected
d none of the mentioned
Medium
View Details β†’
736

In UNIX, the directory protection is handled _________ to the file protection.

a different
b similar
c it is not handled at all
d none of the mentioned
Medium
View Details β†’
737

Disks are segmented into one or more partitions, each containing a file system or ______

a left β€˜raw’
b made into swap space
c made into backup space
d left β€˜ripe’
Medium
View Details β†’
738

What is the mount point?

a an empty directory at which the mounted file system will be attached
b a location where every time file systems are mounted
c is the time when the mounting is done
d none of the mentioned
Medium
View Details β†’
739

When a file system is mounted over a directory that is not empty then _____________

a the system may not allow the mount
b the system must allow the mount
c the system may allow the mount and the directory’s existing files will then be made obscure
d all of the mentioned
Medium
View Details β†’
740

In UNIX, exactly which operations can be executed by group members and other users is definable by _____________

a the group’s head
b the file’s owner
c the file’s permissions
d all of the mentioned
Medium
View Details β†’
741

A process _____ lower the priority of another process if both are owned by the same owner.

a must
b can
c cannot
d none of the mentioned
Medium
View Details β†’
742

In distributed file system ________________ directories are visible from the local machine.

a protected
b local
c private
d remote
Medium
View Details β†’
743

In the world wide web, a ____ is needed to gain access to the remote files, and separate operations are used to transfer files.

a laptop
b plugin
c browser
d player
Medium
View Details β†’
744

The machine containing the files is the _______ and the machine wanting to access the files is the ______

a master, slave
b memory, user
c server, client
d none of the mentioned
Medium
View Details β†’
745

Distributed naming services/Distributed information systems have been devised to _____________

a provide information about all the systems
b provide unified access to the information needed for remote computing
c provide unique names to all systems in a network
d all of the mentioned
Medium
View Details β†’
746

Domain name system provides _____________

a host-name-to-network-address translations for the entire internet
b network-address-to-host-name translations for the entire internet
c binary to hex translations for the entire internet
d all of the mentioned
Medium
View Details β†’
747

To recover from failures in the network operations _____________ information may be maintained.

a ip address
b state
c stateless
d operating system
Medium
View Details β†’
748

The series of accesses between the open and close operations is a _____________

a transaction
b procedure
c program
d file session
Medium
View Details β†’
749

A better way of contiguous allocation to extend the file size is _____________

a adding an extent (another chunk of contiguous space)
b adding an index table to the first contiguous block
c adding pointers into the first contiguous block
d none of the mentioned
Medium
View Details β†’
750

If the extents are too large, then what is the problem that comes in?

a internal fragmentation
b external fragmentation
c starvation
d all of the mentioned
Medium
View Details β†’