Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 151 to 165 of 627

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

  • 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

  • a. will set the suid 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

  • b. the file cannot be recovered by a user

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

  • b. f2

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

  • c. every one can read, group including owner can write, owner alone can 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

  • a. a file is created that points to an existing file

Q. srwxr-xrw- is a

a. internet socket file

b. unix domain socket file

c. symbolic link

d. shared file

  • b. unix domain socket file

Q. Binary or executable files are:

a. regular files

b. device files

c. special files

d. directory files

  • a. regular files

Q. The directory file contains

a. file names & file sizes

b. file names & inode numbers

c. file names & address

d. file names & permissions

  • b. file names & inode numbers

Q. Which directory contain device special files?

a. /etc

b. /etc/dev

c. /root/bin

d. /dev

  • d. /dev

Q. Which of the following is not a valid file type on Linux

a. socket

b. softlink

c. inode

d. fifo

  • c. inode

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

  • b. soft links cannot be created across partitions

Q. Which are the two types of device files?

a. character & block

b. character & socket

c. block & fifo

d. input & output

  • a. character & block
Subscribe Now

Get All Updates & News