Saturday 20 October 2018

IT OS PROCESSES 1

1. The systems which allows only one process execution at a time, are called
a) uniprogramming systems
b) uniprocessing systems
c) unitasking systems
d) none of the mentioned

2. In operating system, each process has its own
a) address space and global variables
b) open files
c) pending alarms, signals and signal handlers
d) all of the mentioned

3. In Unix, Which system call creates the new process?
a) fork
b) create
c) new
d) none of the mentioned

4. A process can be terminated due to
a) normal exit
b) fatal error
c) killed by another process
d) all of the mentioned

5. What is the ready state of a process?
a) when process is scheduled to run after some execution
b) when process is unable to run until some task has been completed
c) when process is using the CPU
d) none of the mentioned

Answer:
1. b
Explanation: Those systems which allows more than one process execution at a time, are called multiprogramming systems. Uniprocessing means only one processor.
2. d
3. a
4. d
5. a
Explanation: When process is unable to run until some task has been completed, the process is in blocked state and if process is using the CPU, it is in running state.

6. What is interprocess communication?
a) communication within the process
b) communication between two process
c) communication between two threads of same process
d) none of the mentioned

7. A set of processes is deadlock if
a) each process is blocked and will remain so forever
b) each process is terminated
c) all processes are trying to kill each other
d) none of the mentioned

8. A process stack does not contain
a) Function parameters
b) Local variables
c) Return addresses
d) PID of child process

9. Which system call returns the process identifier of a terminated child?
a) wait
b) exit
c) fork
d) get

10. The address of the next instruction to be executed by the current process is provided by the
a) CPU registers
b) Program counter
c) Process stack
d) Pipe

Answer:
6. b
7. a
8. d
9. a


10. b

No comments:

Post a Comment