Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. Files that can store data in the same format as used in program are called
a. binary files
b. source file
c. text file
d. core
Q. The file that stores an integer as a sequence of characters is a
a. text file
b. data file
c. binary file
d. core
Q. Which is the earliest and most widely used shell that came with the UNIX system?
a. c shell
b. korn shell
c. bourne shell
d. smith shell
Q. A pipe a mechanism that allow a stream of data between to be passed between……..
a. reader and writer process
b. reader process
c. writer process
d. none of these
Q. Which command sends the word count of the file infile to the newfile.
a. wc infile >newfile
b. wc <infile >newfile
c. wc infile - newfile
d. wc infile | newfile
Q. Which command is used to remove the read permission of the file 'note' from both the group and others?
a. chmod go+r note
b. chmod go+rw note
c. chmod go-x note
d. chmod go-r, 4-x note
Q. Which of the following commands is used to display the directory attributes rather than its contents?
a. ls -1 -d
b. ls -1
c. ls -x
d. ls -f
Q. Which of the following files will displayed by this command cat *ch*
a. patch
b. catch
c. .ch
d. all of the above
Q. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
a. tty ^c
b. stty intr \\^c
c. stty echoe
d. stty echo \\^a
Q. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
a. cat emp[!0-9]
b. more [emp][!0-9]
c. cat emp[x-z]
d. cat emp[a-z]