Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 121 to 135 of 627

Q. Which of the following statement is true?

a. the cp command will preserve the meta data of the file

b. the sort command by default sorts in the numeric order

c. the mv command will preserve the meta data of the file

d. the command ps will display the filesystem usage

  • c. the mv command will preserve the meta data of the file

Q. What UNIX command is used to update the modification time of a file?

a. time

b. modify

c. cat

d. touch

  • d. touch

Q. Which of the following time stamps need not exist for a file on traditional unix file system

a. access time

b. modification time

c. creation time

d. change time

  • c. creation time

Q. Which command is used to set limits on file size

a. fsize

b. flimit

c. ulimit

d. usize

  • c. ulimit

Q. Which represents the user home directory

a. /

b. .

c. ..

d. ~

Q. f 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. he file will be moved to/lost+found directory and can be recovered only by administrator’s intervention

  • b. the file cannot be recovered by a user

Q. Executing the ‘cd ..’ command when at the root level causes

a. error message indicating the user can’t access beyond the root level

b. behavior is unix- flavor dependent

c. results in changing to the ‘home’ directory

d. nothing happens

  • d. nothing happens

Q. How do you rename file “new” to file “old”?

a. mv new old

b. move new old

c. cp new old

d. rn new old

  • a. mv new old

Q. What command is used to copy files and directories?

a. copy

b. cp

c. rn

d. cpy

  • b. cp

Q. When mv f1 f2 is executed which file’s inode is freed?

a. f1

b. f2

c. new inode will be used

d. mplementation dependent

  • b. f2

Q. Any file’s attribute information is stored in which structure on the disk

a. inode

b. data blocks

c. file blocks

d. directory file

  • a. inode

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

d. every one can read and write and execute

  • c. every one can read, group including owner can write, owner

Q. Effective user id can be set using following permission

a. 777

b. 2666

c. 4744

d. 1711

  • c. 4744
Subscribe Now

Get All Updates & News