Cs604 Mcq

Only available on StudyMode
  • Download(s) : 9
  • Published : May 18, 2013
Open Document
Text Preview
QCS604 Operating Systems
MCQz solved, by

Miss Kazmi.
http://vustudents.ning.com

Bounded Buffer is a buffer of ____________ size Variable Fixed P/41

___________ is also called Swapper. Long term Short term Medium term Swap space Shared libraries and kernel modules are stored in _____________ directory. /bin /dev /boot /lib P/23 P/34

__________ displays information about the top processes. Is Cs Top Cd Cooperating processes never share any data, code, memory or state. True False P/2 , 41, 97 P/64

Miss Kazmi
http://vustudents.ning.com

1

First _______ entries in Per Process File Descriptor Table are used as soon as the process is created. 1 2 3 4 When process opens its first file e xplicitly it will get descriptor number _________ 1 2 3 4 Taking the CPU from one process and giving the CPU to another process is termed as Context Switching Dispatching Swapping Tracking __________ scheduler selects the process from the job pool and put them in main memory. Long term Short term Medium term Swapper P/33 P/31 Google

1. Linux OS can support multiple users at a time a) b) True False

2. The Operating system is a layer of software b etween _________ and ___________. a) hardware, software application P/1

Miss Kazmi
http://vustudents.ning.com

2

b) c) d)

Kernel, hardware Dos, Windows Windows, Kernel

3. The major advantage of multi -programming system is a) b) c) d) More than one jobs can be processed at a giv en time CPU utilization can be increased Jobs can be completed quickly All of the options are correct P/7

4. The main characteristic of a Real time system is a) b) c) d) Efficiency Large Virtual Memory Large secondary storage device Usability P/6

5. Command-line interpreter is also called __________ in some operating systems. a) b) c) d) Kernel Shell Signal API P/13

6. I/O instructions are Privileged Instructions. a) b) True False P/8

7. In Linux directory structure, there is ___________ root directory. a) b) c) d) 1 2 3 4 P/22

8. Utilities used for system administration (halt, ifconfig, fdisk, etc.) are stored in _____________ directory.

Miss Kazmi
http://vustudents.ning.com

3

a) b) c) d)

/dev /boot /lib /sbin P/24

9. rm and rmkdir commands are used to _____________ directory. a) b) c) d) Create Move Remove Modify

10. You can use the mv file1 file2command to move ______________ a) b) c) d) e) file1 to file2. file 2 to file 1 this command will not work for moving files None of the option is correct. Both option a and b are correct

11. Taking the CPU from one process and giving the CPU to another process is termed as a) b) c) d) Context Switching Dispatching Swapping Tracking P/31

12. ___________ scheduler is also called Swapper. a) b) c) d) Long term Short term Medium term Swap space

Miss Kazmi
http://vustudents.ning.com

4

13. A Process A that has finished working, a s well as its parent process has also finished its execution. In this state the process A will be called as _________ process. a) b) c) d) Child Thread Zombie Fork

14. Bounded Buffer is a buffer of ____________ size a) b) variable Fixed

15. In ________ communication the process which wants to communicate with the other process must explicitly name the recipient and the sender. a) b) c) d) Direct Indirect Automatic Self P/43

16. In indirect inter pro cess communication, a sender ________ mention the name of the recipient. a) b) does does not

17. The returned code to the child process after successful fork system call execution is a) b) c) d) 1 2 3 0

18. If the fork system call fails, it returns a) 1

Miss Kazmi
http://vustudents.ning.com

5

b) c) d)

-1 2 0

19. When a process opens its first file explicitly it will get descriptor number _________ a) b) c) d) 1 2 3 4 Google

Normally, a process will start out with file descriptors 0, 1 and 2 assigned to stdin, stdout and stderr, and the first file descriptor that you explicitly open will be 3, so...
tracking img