Operating System Architecture Set 3

On This Page

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

Q1 | Which command makes an empty directory
  • mkdirectory
  • makedirectory
  • mkdir
  • newdir
Q2 | Why is man command used
  • to shut down
  • search all files
  • deleting files
  • getting help command on format
Q3 | Which of the following features of unix may be used for interprocess communication
  • signals
  • pipes
  • semaphores
  • all of these
Q4 | In a system,if 5 people are currently using the vi editor,then the number of corresponding processes will be
  • 1
  • 5
  • 2
Q5 | The command echo welcome >/dev/tty
  • echoes welcome in all the terminals that are switched on
  • echoes welcome in all the " that are logged on
  • echoes welcome only in the terminal in which it is run
  • both (a) and ( c)
Q6 | /dev/null
  • is a file
  • has write permission for all
  • is the unix builtin dustbin
  • all of these
Q7 | The advantage of binary files over text files is that
  • it is compact
  • it can be accessed faster
  • they are more reliable
  • all of these
Q8 | The permission bits of a filenoname,can be set to - rws - - * - - * by the command
  • chmod 711 noname
  • chmod go -rw noname
  • chmod 2711 noname
  • none of above
Q9 | /bin/passwork has the user execution permission set to 's' because
  • this facility assigns to the user, permissions of the program owner temporarily
  • it should allow users who don\t have write permission to/etc/passwd to write to it
  • /etc/passwd is write protected
  • all of these
Q10 | If are does not want anyone else to read or write to a file named datfile,except through a program in a file filex,then he may use
  • chmod u+s filex; chmod go -rw datfile
  • chmod 4711 filex; chmod go -rw datfile
  • chmod 4711 datfile; chmod go - rw filex
  • both a & b
Q11 | Writing a c program that accepts input from keyboard,rather than from a file is advantageous because
  • keyboard is a file that is already open
  • it can be used in a pipe,if it writes to stdout
  • both a & b
  • non of above
Q12 | Consider the following program main ( ){ printf ("Aayush won a football match on\n"); system ("date");printf("In Berlin"); } if a.out is the executable code corresponding to the above source code,then the command a.out >out f
  • redirects the output of date to a file out f
  • displays the output of date on the screen
  • prints everything on screen
  • prints the two messages on the screen
Q13 | The Hardware at centre of UNIX system provides………….
  • basic services
  • operating system with basic services
  • kernel service
  • none of these
Q14 | Operating System is also called as ……….
  • system kernel
  • kernel
  • both a and b
  • none of these
Q15 | Program such as Shell and editors interact with kernel by invoking ……….
  • process
  • thread
  • system calls
  • none of these
Q16 | …………responsible for exchanging data between kernel and programs
  • system calls
  • thread
  • process
  • none of these
Q17 | what is a.out ?
  • system user program
  • private user program
  • local program
  • none of these
Q18 | How many system calls in system V
  • 32
  • 64
  • 128
  • 16
Q19 | Out of 64 system calls in system V how many are frequently used…
  • 64
  • 32
  • 16
  • 128
Q20 | Non leaf node of the file system structure is…………..
  • leaf node of file
  • directory of file
  • regular file
  • path name
Q21 | Full path name starts with …..
  • dot
  • slash
  • double slash
  • non of these
Q22 | Text formatting program troff find…………. character at the end of each line
  • newline
  • slash
  • dot
  • none of these
Q23 | System accounting program acctcom find……….
  • variable length record
  • fixed length record
  • no record
  • none of these
Q24 | Directories are …….
  • fixed files
  • regular files
  • variable files
  • none of these
Q25 | System treats the data in a directory as a……………..
  • byte stream
  • bit stream
  • stream
  • none of these