Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. What does chmod +t do?
a. wrong syntax
b. set effective userid for filename
c. set effective groupid for filename
d. set the sticky bit
Q. The command chmod 4777 a.out
a. will set the suid bit of out
b. will set the suid bit of a.out only if the command is issued by root
c. is not a valid command
d. will set the sticky bit of a.out
Q. If a file is removed in Unix using ‘rm’ then
a. the file can be recovered by a normal user
b. the file cannot be recovered by a user
c. the file can be fully recovered provided the sytem is not rebooted
d. the file will be moved to/lost+found directory and can be recovered only by administrator’s
Q. When mv f1 f2 is executed which file’s inode is freed?
a. f1
b. f2
c. new inode will be used
d. new inode will be used
Q. . The file permission 764 means:
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
d. every one can read and write and execute
Q. When you use the ln command, which of the following occurs?
a. a file is created that points to an existing file
b. a file is created that is a copy of an existing file
c. a file is moved from one location to another
d. a file is renamed
Q. srwxr-xrw- is a
a. internet socket file
b. unix domain socket file
c. symbolic link
d. shared file
Q. Binary or executable files are:
a. regular files
b. device files
c. special files
d. directory files
Q. The directory file contains
a. file names & file sizes
b. file names & inode numbers
c. file names & address
d. file names & permissions
Q. Which of the following is not correct statement regarding file types?
a. hard links share same inode number
b. soft links cannot be created across partitions
c. socket files are unix domain sockets
d. character file is a special file
Q. Which are the two types of device files?
a. character & block
b. character & socket
c. block & fifo
d. input & output