Process Flashcards
When does the program become process ?
a/ when booting
b/ when closing machine
c/ when user clicks the program
d/ when an excutable file of program is loaded into memory
e/ none of the mentioned
d. when an excutable file of program is loaded into memory
- At a minimum, process execution requires the following resources………………..
a. Memory
b. A set of CPU registers
c. Input
d. Output
e. a & b
e. a & b
- The systems which allow more than one process execution at a time, are called
multiprocessing
- The systems which allow only one process execution at a time, are called
uniprocessing system
- In operating system, each process has its own…………….
a. address space and global variables
b. open file
c. pending alarm, signal, and signal handlers
d. text section
e. all of mentioned
e. all of mentioned
- In Unix, Which system call creates the new process?
a. create
b. fork
c. new
d. Create
b. fork
- In Microsoft Window, Which system call create the new process?
a. create
b. running
c. new
d. CreateProcess
e. none of the mentioned
d. CreateProcess
- Which of the following is not a process state?
a. new
b. running
c. deleting
d. waiting
e. terminated
c. deleting
- What is the ready state of a process?
a. The process is waiting for some event to occur
b. The process is waiting to be assigned
c. Data
d. Bootstrap program
e. Process state
b. The process is waiting to be assigned
- A process stack does not contain….
a .Function
b. Local variable
c. PID of child process
d. Return addressed
e. None of the mentioned
c. PID of child process
- which system call can be used by a parent process to determine the termination of child process?
a. wait
b. fork
c. exit
d. get
e. put
c. exit
- the address of the next instruction to be executed but the current process is provided by the
a. Process
b. Program counter
c. CPU register
d. pipe
e. None
b. Program counter
- Which of the following are CPU scheduling queues?
a. job
b. waiting queues
c. ready queues
d. finish queues
e. devices queues
e. devices queues
- Which of the following are type of scheduler?
a. a job scheduler
b. Device scheduler
c. CPU scheduler
d. Medium-term scheduler
e. None
d. Medium-term scheduler
- If the parent terminated without invoking the wait, the process is called…
a. dead process
b. orphan
c. ghost
d. zombie
e. sibling
b. orphan