Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 481 to 495 of 627

Q. Unix system treats devices as a ……..

a. hardware

b. file

c. byte

d. none of these

  • b. file

Q. Permission mode on newly created file will be……

a. 0666(octal)

b. 0666(hexadecimal)

c. 0999(octal)

d. 0798(hex)

  • a. 0666(octal)

Q. Permission mode 0666(octal) means…………

a. allowing all users acess to file for writing

b. allowing all users acess to file for reading

c. restrict to read and write

d. allowing all users access to file for reading writing

  • d. allowing all users access to file for reading writing

Q. The open and create system calls returns an integer called a ……….

a. file number

b. file discriptor

c. file variable

d. none of these

  • b. file discriptor

Q. File discriptor programs uses………………...

a. to delete file

b. to save file

c. for subsequent references for file

d. none of these

  • c. for subsequent references for file

Q. The read system calls return 0 when………..

a. it reaches middle of file

b. it reaches end of the file

c. file is empty

d. none of these

  • b. it reaches end of the file

Q. When a process makes a system call ,its mode changes from………

a. user to kernel

b. kernel to user

c. restricted to unrestricted

d. unrestricted to restricted

  • a. user to kernel

Q. The child process invoke …….to execute program copy .

a. fork

b. execl

c. wait

d. printf

  • b. execl

Q. Which of the following file names can be found in more than one directory?

a. passwd

b. bin

c. date

d. none of the above

  • a. passwd

Q. The sort command in UNIX ….

a. used to sort a file

b. used to sort the list of files in a directory

c. both a and b

d. none of the above

  • a. used to sort a file

Q. Which command is used to remove a directory?

a. rd

b. rmdir

c. dldir

d. rdir

  • b. rmdir
Subscribe Now

Get All Updates & News