Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. Which of the following commands is used to count the total number of lines,words and characters contained in a file?
a. count p
b. wcount
c. wc
d. count w
Q. Which of the following commands is used for an automatic remainder service?
a. write
b. calender
c. mail
d. mesg
Q. The Unix command used to find out the number of characters in a file is
a. nc
b. wc
c. chcnt
d. c
Q. Which set option is used with vi editor to display line numbers on screen?
a. nm
b. nu
c. ic
d. li
Q. The advantage of binary files over text files is that
a. it is compact
b. it can be accessed faster
c. many commands assume the named file to be a binary file
d. they are more reliable
Q. Command compares two files byte by byte and displays the first mismatch.
a. cmp
b. comp
c. cmap
d. none of these
Q. When the read system call encounters EOF,it returns
a. some positive integer
b. some negative integer
Q. Which of the following system calls,does not return control to the calling point, on termination?
a. fork
b. exec
c. ioct1
d. longjmp