Process Flashcards

1
Q

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

A

d. when an excutable file of program is loaded into memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. At a minimum, process execution requires the following resources………………..

a. Memory
b. A set of CPU registers
c. Input
d. Output
e. a & b

A

e. a & b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. The systems which allow more than one process execution at a time, are called
A

multiprocessing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. The systems which allow only one process execution at a time, are called
A

uniprocessing system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. 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

A

e. all of mentioned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. In Unix, Which system call creates the new process?
    a. create
    b. fork
    c. new
    d. Create
A

b. fork

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. In Microsoft Window, Which system call create the new process?

a. create
b. running
c. new
d. CreateProcess
e. none of the mentioned

A

d. CreateProcess

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Which of the following is not a process state?

a. new
b. running
c. deleting
d. waiting
e. terminated

A

c. deleting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. 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

A

b. The process is waiting to be assigned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. A process stack does not contain….

a .Function
b. Local variable
c. PID of child process
d. Return addressed
e. None of the mentioned

A

c. PID of child process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. 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

A

c. exit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. 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

A

b. Program counter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. Which of the following are CPU scheduling queues?

a. job
b. waiting queues
c. ready queues
d. finish queues
e. devices queues

A

e. devices queues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Which of the following are type of scheduler?

a. a job scheduler
b. Device scheduler
c. CPU scheduler
d. Medium-term scheduler
e. None

A

d. Medium-term scheduler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. If the parent terminated without invoking the wait, the process is called…
    a. dead process
    b. orphan
    c. ghost
    d. zombie
    e. sibling
A

b. orphan

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. If no parent waiting, the process is called a……

a. dead process
b. orphan
c. ghost
d. zombie
e. sibling

A

d. zombie

17
Q

10 A Process control block (PCB) does not contain which of the following ?

a. code
b. stack
c. data
d. boostrap program
e. process state

A

d. boostrap program