On This Page
This set of Operating System Architecture Multiple Choice Questions & Answers (MCQs) focuses on Operating System Architecture Set 19
Q1 | The command that can be used to restrict incoming messages to a user is
- halt
- mesg
- grep
- sleep
Q2 | The sort command in UNIX
- used to sort a file
- used to sort the list of files in a directory
- both a and b
- none of the abov
Q3 | Which of the following keys is used to replace a single character with new text?
- s
- s
- c
Q4 | The tail command in UNIX
- can be used to look at the tail or bottom of the file
- can be used to display the list of last 10 files in the current directory
- can be used to display the list of last 15 in the current directory
- none of the above
Q5 | Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
- can be used to look at the tail or bottom of the file
- chmod u x emp[l-3]
- chmod u r ??? emp
- chmod 222 emp?
Q6 | Which command will be used with vi editor to append text at end of line?
- is–x
- is
- is–1
- is–f–x
Q7 | Which command is used to display the device name of the terminal you are using?
- who
- stty
- tty
- ls
Q8 | Which command allows you to view your file 24 lines at a time ?
- more
- cat
- none of the above
- pg
Q9 | The tar command in UNIX
- used to create compressed archives of directories and file
- used to extract directories and files from an archives
- both a and b
- none of the abov
Q10 | Which of the following commands is used to rename a file?
- rename
- remove
- mv
- ren
Q11 | Which of the following calls never returns an error?
- getpid
- ioct1
- fork
- open
Q12 | Which of the following commands is used to count the total number of lines,words and characters contained in a file?
- count p
- wc
- wcount
- count w
Q13 | The cc command makes a total of
- 1 pass
- 2 pass
- 3 pass
- 4 pass
Q14 | Which command will be used with vi editor to move back to the beginning of a word
- b
- e
- a
- w
Q15 | Mounting a file system results in the loading of
- boot block
- super block
- i-node table
- all of thes
Q16 | When a process makes a system call ,its mode changes from
- user to kernel
- kernel to user
- restricted to unrestricted
- unrestricted to restricted
Q17 | Which of the following files contains information related to password aging?
- hadow
- profile
- password
- all of these
Q18 | Which of the following are character special files?
- terminal
- printer
- modem
- tape drive
Q19 | To allow only one user to work with a particular file at a particular time ,one has to
- semaphore
- critical region
- locking
- dedicated mode
Q20 | A popular boot loader used by most Linux distributions to boot Linux is called
- fifo
- lilo
- lifo
- none
Q21 | LILO can also be used to boot other operating systems as well such as ……..
- ms-dos
- windows 98
- windows nt
- all of these
Q22 | LILO can be installed to either ……..of Linux root partition.
- mbr
- to the boot record
- both a and b
- none
Q23 | What is LILO ?
- list in list out
- last in last out
- linux loader
- none
Q24 | LILO’s configuration file is
- /etc/lilo.conf
- lilo.config
- etc/lilo.config
- none
Q25 | Other boot loaders which can be used to load Linux exist:
- grub
- loadlin
- both a and b
- none