πŸ’»

Operating System MCQs

1K+ questions with answers

651

By using the specific system call, we can ____________

a open the file
b read the file
c write into the file
d all of the mentioned
Medium
View Details β†’
652

File type can be represented by ____________

a file name
b file extension
c file identifier
d none of the mentioned
Medium
View Details β†’
653

Which file is a sequence of bytes organized into blocks understandable by the system’s linker?

a object file
b source file
c executable file
d text file
Medium
View Details β†’
654

What is the mounting of file system?

a crating of a filesystem
b deleting a filesystem
c attaching portion of the file system into a directory structure
d removing the portion of the file system into a directory structure
Medium
View Details β†’
655

Mapping of network file system protocol to local file system is done by ____________

a network file system
b local file system
c volume manager
d remote mirror
Medium
View Details β†’
656

Which one of the following explains the sequential file access method?

a random access according to the given byte number
b read bytes one at a time, in order
c read/write sequentially by record
d read/write randomly by record
Medium
View Details β†’
657

When will file system fragmentation occur?

a unused space or single file are not contiguous
b used space is not contiguous
c unused space is non-contiguous
d multiple files are non-contiguous
Medium
View Details β†’
658

Management of metadata information is done by ____________

a file-organisation module
b logical file system
c basic file system
d application programs
Medium
View Details β†’
659

A file control block contains the information about ____________

a file ownership
b file permissions
c location of file contents
d all of the mentioned
Medium
View Details β†’
660

Which table contains the information about each mounted volume?

a mount table
b system-wide open-file table
c per-process open-file table
d all of the mentioned
Medium
View Details β†’
661

To create a new file application program calls ____________

a basic file system
b logical file system
c file-organisation module
d none of the mentioned
Medium
View Details β†’
662

What will happens when a process closes the file?

a per-process table entry is not removed
b system wide entry’s open count is decremented
c all of the mentioned
d none of the mentioned
Medium
View Details β†’
663

What is raw disk?

a disk without file system
b empty disk
c disk lacking logical file system
d disk having file system
Medium
View Details β†’
664

In which type of allocation method each file occupy a set of contiguous block on the disk?

a contiguous allocation
b dynamic-storage allocation
c linked allocation
d indexed allocation
Medium
View Details β†’
665

If the block of free-space list is free then bit will ____________

a 1
b 0
c any of 0 or 1
d none of the mentioned
Medium
View Details β†’
666

Which protocol establishes the initial logical connection between a server and a client?

a transmission control protocol
b user datagram protocol
c mount protocol
d datagram congestion control protocol
Medium
View Details β†’
667

Data cannot be written to secondary storage unless written within a ______

a file
b swap space
c directory
d text format
Medium
View Details β†’
668

File attributes consist of ____________

a name
b type
c identifier
d all of the mentioned
Medium
View Details β†’
669

The information about all files is kept in ____________

a swap space
b operating system
c seperate directory structure
d none of the mentioned
Medium
View Details β†’
670

A file is a/an _______ data type.

a abstract
b primitive
c public
d private
Medium
View Details β†’
671

The operating system keeps a small table containing information about all open files called ____________

a system table
b open-file table
c file table
d directory table
Medium
View Details β†’
672

In UNIX, what will the open system call return?

a pointer to the entry in the open file table
b pointer to the entry in the system wide table
c a file to the process calling it
d none of the mentioned
Medium
View Details β†’
673

The open file table has a/an _______ associated with each file.

a file content
b file permission
c open count
d close count
Medium
View Details β†’
674

Which of the following are the two parts of the file name?

a name & identifier
b identifier & type
c extension & name
d type & extension
Medium
View Details β†’
675

The UNIX sytem uses a/an ________ stored at the beginning of a some files to indicate roughly the type of file.

a identifier
b extension
c virtual number
d magic number
Medium
View Details β†’
676

The larger the block size, the ______ the internal fragmentation.

a greater
b lesser
c same
d none of the mentioned
Medium
View Details β†’
677

In the sequential access method, information in the file is processed ____________

a one disk after the other, record access doesnt matter
b one record after the other
c one text document after the other
d none of the mentioned
Medium
View Details β†’
678

Sequential access method ______ on random access devices.

a works well
b doesnt work well
c maybe works well and doesnt work well
d none of the mentioned
Medium
View Details β†’
679

The direct access method is based on a ______ model of a file, as _____ allow random access to any file block.

a magnetic tape, magnetic tapes
b tape, tapes
c disk, disks
d all of the mentioned
Medium
View Details β†’
680

For a direct access file ____________

a there are restrictions on the order of reading and writing
b there are no restrictions on the order of reading and writing
c access is restricted permission wise
d access is not restricted permission wise
Medium
View Details β†’
681

The index contains ____________

a names of all contents of file
b pointers to each page
c pointers to the various blocks
d all of the mentioned
Medium
View Details β†’
682

For large files, when the index itself becomes too large to be kept in memory?

a index is called
b an index is created for the index file
c secondary index files are created
d all of the mentioned
Medium
View Details β†’
683

To organise file systems on disk _______________

a they are split into one or more partitions
b information about files is added to each partition
c they are made on different storage spaces
d all of the mentioned
Medium
View Details β†’
684

The directory can be viewed as a _________ that translates file names into their directory entries.

a symbol table
b partition
c swap space
d cache
Medium
View Details β†’
685

What will happen in the single level directory?

a All files are contained in different directories all at the same level
b All files are contained in the same directory
c Depends on the operating system
d None of the mentioned
Medium
View Details β†’
686

What will happen in the single level directory?

a all directories must have unique names
b all files must have unique names
c all files must have unique owners
d all of the mentioned
Medium
View Details β†’
687

What will happen in the two level directory structure?

a each user has his/her own user file directory
b the system doesn’t its own master file directory
c all of the mentioned
d none of the mentioned
Medium
View Details β†’
688

When a user job starts in a two level directory system, or a user logs in _____________

a the users user file directory is searched
b the system’s master file directory is not searched
c the master file directory is indexed by user name or account number, and each entry points to the UFD for that user
d all of the mentioned
Medium
View Details β†’
689

What is the disadvantage of the two level directory structure?

a it does not solve the name collision problem
b it solves the name collision problem
c it does not isolate users from one another
d it isolates users from one another
Medium
View Details β†’
690

In the tree structured directories _____________

a the tree has the stem directory
b the tree has the leaf directory
c the tree has the root directory
d all of the mentioned
Medium
View Details β†’
691

The current directory contains, most of the files that are _____________

a of current interest to the user
b stored currently in the system
c not used in the system
d not of current interest to the system
Medium
View Details β†’
692

Which of the following are the types of Path names?

a absolute & relative
b local & global
c global & relative
d relative & local
Medium
View Details β†’
693

An absolute path name begins at the _____________

a leaf
b stem
c current directory
d root
Medium
View Details β†’
694

A relative path name begins at the _____________

a leaf
b stem
c current directory
d root
Medium
View Details β†’
695

In a tree structure, when deleting a directory that is not empty?

a The contents of the directory are safe
b The contents of the directory are also deleted
c contents of the directory are not deleted
d none of the mentioned
Medium
View Details β†’
696

When two users keep a subdirectory in their own directories, the structure being referred to is _____________

a tree structure
b cyclic graph directory structure
c two level directory structure
d acyclic graph directory
Medium
View Details β†’
697

A tree structure ______ the sharing of files and directories.

a allows
b may restrict
c restricts
d none of the mentioned
Medium
View Details β†’
698

With a shared file _____________

a actual file exists
b there are two copies of the file
c the changes made by one person are not reflected to the other
d the changes made by one person are reflected to the other
Medium
View Details β†’
699

The operating system _______ the links when traversing directory trees, to preserve the acyclic structure of the system.

a considers
b ignores
c deletes
d none of the mentioned
Medium
View Details β†’
700

The deletion of a link ________ the original file.

a deletes
b affects
c does not affect
d none of the mentioned
Medium
View Details β†’