On This Page
This set of Operating System Architecture Multiple Choice Questions & Answers (MCQs) focuses on Operating System Architecture Set 5
Q1 | Which command is used to extract specific columns from the file?
- cut
- grep
- past
- cat
Q2 | Which command is used with vi editor to move the cursor to the left?
- i
- k
- j
- h
Q3 | Which command is used to create a directory?
- crdir
- mkdir
- md
- cr
Q4 | Which of the following changes permission to deny write permission to group and others?
- chmod go-w filex
- chmod go w filex
- chmod go=w file
- none of the above
Q5 | Which command is used with vi editor to delete a single character?
- z
- y
- a
- x
Q6 | The tar command in UNIX
- used to create compressed archives of directories and files
- used to extract directories and files from an archives
- both a and b
- none of the above
Q7 | Which command is used to sort the lines of data in a file in reverse order
- sort
- sh
- st
- sort -r
Q8 | Which of the following commands is used to rename a file?
- rename
- mv
- remove
- ren
Q9 | Which command is used to display a file contents in octal form?
- cd
- of
- od
- oct
Q10 | Which of the following commands is used to count the total number of lines,words and characters contained in a file?
- count p
- wcount
- wc
- count w
Q11 | The cc command makes a total of
- 1 pass
- 2 pass
- 4 pass
- 5 pass
Q12 | Which of the following commands is used for an automatic remainder service?
- write
- calender
- mesg
Q13 | The Unix command used to find out the number of characters in a file is
- nc
- wc
- chcnt
- c
Q14 | In a system ,if 5 people are currently using vi editor ,then the number of corresponding processes will be
- 1
- 5
- 3
Q15 | Which set option is used with vi editor to display line numbers on screen?
- nm
- nu
- ic
- li
Q16 | Which command will be used with vi editor to move back to the beginning of a word?
- b
- e
- a
- w
Q17 | Which of the following are not system calls?
- chmod
- open
- lseek
- getc
Q18 | The advantage of binary files over text files is that
- it is compact
- it can be accessed faster
- many commands assume the named file to be a binary file
- they are more reliable
Q19 | The cat command is used to
- print a file
- display a file
- capture a file
- copy a file
Q20 | Command compares two files byte by byte and displays the first mismatch.
- cmp
- comp
- cmap
- none of these
Q21 | Which of the following system calls,does not return control to the calling point, on termination?
- fork
- exec
- ioct1
- longjmp
Q22 | Which command is used to display the characteristics of a process?
- pid
- ps
- du
- au
Q23 | Which command is used to display and create files?
- cat
- ed
- vi
- lyrix
Q24 | Files that can store data in the same format as used in program are called
- binary files
- source file
- text file
- core