Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. Permission mode on newly created file will be……
a. 0666(octal)
b. 0666(hexadecimal)
c. 0999(octal)
d. 0798(hex)
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
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
Q. File discriptor programs uses………………...
a. to delete file
b. to save file
c. for subsequent references for file
d. none of these
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
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
Q. Which of the following system calls transforms an executable binary file into a process?
a. fork
b. exec
c. ioct1
d. longjmp
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
Q. The command that can be used to restrict incoming messages to a user is………..
a. mesg
b. halt
c. grep
d. sleep
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