Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
9. Program preemption is
A) Forced de allocation of the CPU from a program which is executing on the CPU.
B) Release of CPU by the program after completing its task.
C) Forced allotment of CPU by a program to itself.
D) A program terminating itself due to detection of an error.
Ans: A
B)
C)
D)
Ans: A
A) time since its submission to the time its results become available
B)time duration for which the CPU is allotted to the job
C)total time taken to execute the job
D)time taken for the job to move from assembly phase to completion phase.
Ans: C
15. The Occurrence of event is usually signaled by
A) boot strap program B) Interrupt C) RAM D) Linker
Ans: B
16. If Round Robin is used with a time quantum of 1 second, the turnaround time for
Job 2 will be
C)Multiprogramming
D)Monoprogramming
Ans: C
22.A major problem with priority scheduling is _________.
A )Definite blocking
B )Starvation
C )Low priority
D) None of the above
Ans: B
23.Saving the state of the old process and loading the saved state of the new
process is called ________.
A) Context Switch
B)State
C) Multi programming
D)None of the above
Ans : A
24. In Priority Scheduling a priority number (integer) is associated with each
process. The CPU is allocated to the process with the highest priority (smallest
integer = highest priority). The problem of, Starvation ? low priority processes may
never execute, is resolved by __________.
A) Terminating the process.
B) Aging
C) Mutual Exclusion
D) Semaphore
Ans : B
25. which of the following is not a model of multithreading
A) Many-to-one
B) One-to-one
C) Many-to-many
D)One-to-Many
Ans:D
26. Benefits of multithreading
A) Resource sharing
B) Responsiveness
C) utilization of multipurpose architectures
D)All of the above
Ans: D
27. Which system call is used to create a separate, duplicate process?
A) fork()
B) exec()
C)clone()
D) Both A and B
Ans: A
28. Communication between the user thread library and the kernel is known as
A) Signal handling
B) Scheduler activation
C) Multithreading
D) Synchronization
Ans: B
29. Reason for providing an environment that allows process cooperation
A) Information sharing
B) Computational speed up
C) Modularity
D) All of the above
Ans:D
30. Fundatamental model of interprocess communication
A) Shared memory
B) Message passing
C) both A & B
D) None of the above
Ans: C