Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. When a process creates a new file, the kernel assigns it an ……...
a. used inode
b. unused inode
c. integer number
d. file number
Q. With inode, the kernel contains two data structures………….
a. file table and user file descriptor table
b. file system and kernel
c. file and semaphore
d. none
Q. Mounting a file system results in the loading of
a. boot block
b. super block
c. i-node table
d. all of these
Q. If cat x ,prints garbage ,then x is probably a
a. data file
b. binary file
c. text file
d. source file
Q. An attempt to read from locked file,results in
a. prematured termination
b. a deadlock
c. an indefinite wait
d. none of the above
Q. To allow only one user to work with a particular file at a particular time ,one has to …..
a. semaphore
b. critical region
c. locking
d. dedicated mode
Q. Which of the following are character special files?
a. terminal
b. printer
c. modem
d. tape drive
Q. Which of the following sections of an executable binary file has all uninitialized data items?
a. bss
b. data
c. header
d. symbol
Q. Which of the following files contains information related to password aging?
a. shadow
b. profile
c. password
d. all of these
Q. The first thing that is searched when a command references a file is its
a. i node
b. i node number
c. permission
d. none of the above
Q. Profilers are
a. tools that analyze the run time behavior of a program
b. tools that check c code for cross file consistency
c. tools that keep track of evolving versions of a file
d. none of the above
Q. Which of the following tools can be used to keep track of evolving version of a file?
a. make
b. yacc
c. sccs
d. dv
Q. The size of any block in the unix file system is
a. 512 bytes
b. 1024 bytes
c. 2048 bytes
d. any of the above