UNIX Files System MCQs

By: Prof. Fazal Rehman Shamil
Last modified on April 22nd, 2021

Solved MCQs on UNIX Files System.

A directory file is a_________
(A). the directory that contains data
(B). the directory that contains data and files
(C). the directory that contains files
(D). the directory that contains the details of files and subdirectories of it
(E). None of these
Multiple Choice Question Answer: d


What is the name of Each entry of the directory file that has component(s)?
(A). filename and inode number
(B). inode number
(C). filename
(D). file size
(E). None of these
Multiple Choice Question Answer: a


Which of the following can’t be used in a filename?
(A). ., %
(B). $,^
(C). /, NULL
(D). NULL, $
(E). None of these
Multiple Choice Question Answer: c


In the UNIX the filename isn’t case-sensitive.
(A). True
(B). False
(E). None of these
Multiple Choice Question Answer: b


Filenames starting with a –, we do avoid.
(A). True
(B). False
(E). None of these
Multiple Choice Question Answer: a


The file itself store the file name and file size, in the UNIX.
(A). False
(B). True
(E). None of these
Multiple Choice Question Answer: a


What is the most common file type?
(A). device file
(B). directory file
(C). ordinary file
(D). ordinary file and directory file
(E). None of these
Multiple Choice Question Answer: c


To operate the device the kernel uses the device files.
(A). True
(B). False
(E). None of these
Multiple Choice Question Answer: a


What is the directory called when we log in, the UNIX places us in?
(A). parent
(B). main
(C). home
(D). current
(E). None of these
Multiple Choice Question Answer: c


Everything is treated as a file by UNIX.
(A). False
(B). True
(E). None of these
Multiple Choice Question Answer: b


What represents the root directory?
(A). \
(B). $
(C). *
(D). /
(E). None of these
Multiple Choice Question Answer: d


To store information, a file is called a container.
(A). True
(B). False
(E). None of these
Multiple Choice Question Answer: a


Files are divided into UNIX, in how many broad categories?
(A). 2
(B). 3
(C). 5
(D). 4
(E). None of these
Multiple Choice Question Answer: b


To frame filename extensions no role is imposed by Unix.
(A). True
(B). False
(E). None of these
Multiple Choice Question Answer: a