Operating System Architecture Set 17

On This Page

This set of Operating System Architecture Multiple Choice Questions & Answers (MCQs) focuses on Operating System Architecture Set 17

Q1 | The administrative information of a file is stored in
  • vnode
  • dnode
  • inode
  • snode
Q2 | The -t option to ls is used for
  • sort according to time
  • sor according to date
  • sort according to name
  • sort according to size
Q3 | The systems internal name to file is
  • id
  • i-number
  • pid
  • pid_t
Q4 | The first tow bytes in each directory entry are
  • connection between id and name
  • connection between name of file and its contents
  • connection between if and its contents
  • connection betweeen id and contents
Q5 | The rm command removes
  • directory entries
  • removes inodes
  • removes names
  • removes files
Q6 | primary parts oc c comipler is in
  • /dev
  • /lib
  • /bin
  • /etc
Q7 | The basic program such as who and ed resids in
  • /dev
  • /lib
  • /bin
  • /etc
Q8 | various administrative fils such as password file in
  • /dev
  • /lib
  • /bin
  • /etc
Q9 | Short lived files created during execution are stored in
  • /tmp
  • /lib
  • /bin
  • /etc
Q10 | which of following features of UNIX may be used for IPC
  • signals
  • ipes
  • semaphores
  • all of these
Q11 | In a system 5 peole are currently using VI editor, then no. of currosonding rocesses will be
  • 1
  • 5
  • 2
Q12 | the command echo welcome >/dev/tty
  • echoes welcome in all the gtermonals that are switched on
  • echoes welcome in all the terminals which are logged on
  • echoes welcomes only in terminal in which it is run
  • a&c
Q13 | dev/nul
  • it is a file
  • has write operation for all
  • built in dest bin
  • all of these
Q14 | The advantage of binary files over text file is
  • it is compact
  • it can be accessed faster.
  • they are more reliable
  • all of these
Q15 | UNIX uses ls to list files in a directory. The corresponding command in MS environment is
  • lf
  • listdir
  • dir
  • none of these
Q16 | For some file the access permissions are modified to 764. Which of the following interpretation is valid:
  • every one can read, group can execute only and the owner can read and write.
  • every one can read and write, but owner alone can execute.
  • every one can read, group including owner can write, owner alone can execute
  • none of these
Q17 | Which directory under the root contains the information on devices
  • /usr/bin
  • /dev
  • /usr/peripherals/de v
  • /etc/dev
Q18 | Which option makes the command to ask the user for confirmation before removing each file
  • rm-i
  • rm-r
  • rm-f
  • rm-rf
Q19 | which opttion deletes all files in the current directory and all its subdirectories
  • rm-i
  • rm-r
  • rm-f
  • rm-rf
Q20 | which option is used for forcing removal operation
  • rm-i
  • rm-r
  • rm-f
  • rm-rf
Q21 | which option in used for deleting everything in current directory and below.
  • rm-i
  • rm-r
  • rm-f
  • rm-rf
Q22 | which command is used for renaming a file
  • mv
  • cp
  • rm
  • cv
Q23 | which command is used for displaying contents of a file
  • mv
  • cp
  • rm
  • cv
Q24 | which command is used for copying a file
  • mv
  • cp
  • rm
  • cv
Q25 | Which command is used to determine a type of file
  • infile
  • file
  • wc
  • cp