share knowledge of OS

Tuesday, September 7, 2010

Multiple Choice Questions :Operating Systems/File Systems and Management

1. UNIX uses ls to list files in a directory. The corresponding command in MS
environment is:
a. lf
b. listdir
c. dir
2. A file with extension .txt
a. Is a text file created using vi editor
b. Is a text file created using a notepad
c. Is a text file created using word
3. In the windows environment file extension identifies the application that created
it. If we remove the file extension can we still open the file?
a. Yes
b. No
4. Which of the following files in the current directory are identified by the regular
expression a?b*.
a. afile
b. aab
c. abb
d. abc
e. axbb
f. abxy
5. For some file the access permissions are modified to 764. Which of the following
interpretation are valid:
a. Every one can read, group can execute only and the owner can read and
write.
b. Every one can read and write, but owner alone can execute.
c. Every one can read, group including owner can write, owner alone can
execute
6. The file’s properties in Windows environment include which amongst the
following:
Operating Systems/File Systems and Management Multiple Choice Questions
P.C.P.Bhat/IISc Bangalore M2/V1/June 04/2
a. File owners’ name
b. File size
c. The date of last modification
d. Date of file creation
e. The folder where it is located
7. Which of the following information is contained in inode structure
a. The file size
b. The name of the owner of the file
c. The access permissions for the file
d. All the dates of modification since the file’s creation
e. The number of symbolic links for this file
8. File which are linked have as many inodes as are the links.
a. True
b. False
9. Which directory under the root contains the information on devices
a. /usr/bin
b. /usr/sbin
c. /usr/peripherals/dev
d. /etc/dev
10. A contiguous allocation is the best allocation policy. (True / False)
11. An indexed allocation policy affords faster information retrieval than the chained
allocation policy.
a. True
b. False
12. Absolute path names begin by identifying path from the root.
a. True
b. False

1 comment: