Operating System Architecture Set 2

On This Page

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

Q1 | Programs like shell and editors (ed and vi) interact with the kernal by invoking
  • system calls
  • systems hardware
  • n/w program
  • interfacing hardware
Q2 | Internal or external command is checked using
  • ls
  • tty
  • etc
  • type
Q3 | The standard name for executable files produced by c compiler is
  • b.out
  • c.out
  • a.out
  • d.out
Q4 |        script is run for successful login
  • /etc/profile
  • /etc/str
  • /etc/strtms
  • /etc/.conf
Q5 | The root node in the file system is write as
  • /
  • \\
  • /..
  • ../
Q6 |        interacts with inner part of kernel
  • interface
  • shell
  • terminal
  • compiler
Q7 |        is used to stop a process
  • kill
  • remove
  • clear
  • overt
Q8 | directory attributes are displayed by
  • ls-l-a
  • ls-l-b
  • ls-l-c
  • ls-l-d
Q9 | The x in the cat x command is
  • binary file
  • data file
  • text file
  • source file
Q10 | what is the run level for shut down and reboot respectively
  • 0 and 6
  • 1 and 6
  • 0 and 4
  • 1 and 4
Q11 | The text formatting program traff
  • expects to find new line character at the end of each line of text
  • expects to find last character at the end of each line of text
  • expects to find each line of text
  • expects to neglect each line of text
Q12 | The system acctcom accounting program
  • expects to find variable length records
  • expects to find fixed length record
  • expects to sort the records
  • expects to merge the records
Q13 | permission to access the file is controlled by
  • n/w structure
  • directory structure
  • access permissions
  • file structure
Q14 | To the user,the unix system treats devices as if they are
  • devices
  • interfaces
  • hardware
  • files
Q15 | Two invocations copy copy.c newcopy.c copy copy newcopy
  • 1st is carrect
  • 2nd is carrect
  • both carrect
  • both wrong
Q16 | In processing environment of unix
  • a program is an executable file and process is an instance of the program in execution
  • a process is an executable file and program is a instance of the process in execution
  • a process and program are both same
  • all above are carrect
Q17 | The fork system call
  • creates a new program
  • creates a new interface
  • creates a new hardware
  • creates a new process
Q18 | What command do you have to use to go to parent directory
  • cd-,
  • cd -
  • cd/up
  • cd..
Q19 | The command used to display a specified file
  • mkdir
  • chmod
  • cat
  • compress
Q20 | root in unix system is represented by
  • %
  • \\
  • $
  • /
Q21 | what does cd.. Do ?
  • not a valid unix command
  • logs out of the computer
  • changes the working directory to login directory
  • " " " " " the parent of current working directory
Q22 | What does command LS do
  • opening a file
  • display contents of a file
  • display of file & folders, present in the folder where you are
  • shows a calender
Q23 | Why is PWD used
  • show current user
  • show present working directory
  • to display error messages
  • to copy files
Q24 | Which is the carrect command to list files& folders in unix
  • list
  • ls
  • dir
  • list files
Q25 | How can you display a list of files including hidden files
  • find all
  • ls-a
  • ls-b
  • all answers a,b,c