Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. The program contained in boot block, that loads kernel into memory is called
a. disk bootstrap program
b. master boot program
c. shell program
d. none of the above
Q. The state of the file system is contained in
a. boot block
b. a special block created by book block
c. super block
d. none of the above
Q. Which file gets executed when we use the passwd command
a. /etc/passwd
b. /etc/pwd
c. /bin/passwd
d. /passwd
Q. The command cal j 1997 would give the output as
a. the calendar of jan,june and july 1997
b. only calendar of jan 1997
c. an error
d. none of the above
Q. To see the last access time of various files in a file system the command is
a. is-iu
b. is-i
c. is-acc
d. is-mt
Q. To ascertain what are the contents of the file in your the system the best way would be
a. do a cat command on each file and find its contents
b. use the command cat*
c. use the command file*
d. none of the above
Q. Which of these is not a command of Unix related with DOS
a. dosdir a:proj
b. doscopy trial a:/
c. doscp/home/pro j/prg a:/
d. dosls
Q. A user creates a link to a file file1 using the following command “ln file1 file2”. Which of the following is not true?
a. file1 and file2 have the same inode numbers
b. the number of links for file1 is displayed as 1
c. the number of links for file1 is displayed as 2
d. the number of links for file2 is displayed as 2
Q. If two files on same partition point to the same inode structure they are called
a. soft links
b. hard links
c. alias
d. special files
Q. Deleting a soft-link
a. deletes the destination file
b. deletes both the softlink and the destination file
c. deletes just the softlink
d. backup of the destination is automatically created
Q. Creation of hardlinks that point across partitions
a. is allowed only to root user
b. can be done by all users
c. he effects are unspecified
d. is not allowed
Q. Which command is used to change permissions of files and directories?
a. mv
b. chgrp
c. chmod
d. set