You are on page 1of 4

Operating System Practice Problems for Batch 2012, C-D

1. Mention any two methods implemented to manage free space list in files.
(Ch#10,slide#52,53,54,55)
What are the main factors to be dealt with respect to disk scheduling?
3. What are the several aspects of disk management?
4. What are the advantages of multiprocessors system?
2.

Ch#9 (end slides)

Answer: Multiprocessing is the use of two or more central processing units (CPUs) within a single
computer system. The term also refers to the ability of a system to support more than one
processor and/or the ability to allocate tasks between them.[1] There are many variations on this
basic theme, and the definition of multiprocessing can vary with context, mostly as a function of
how CPUs are defined.
Advantage:
1.increase throughput
2.Economy of scale
3. Increased reliability

5. What does a process control block contain? Ch#02 slide 6


6. What is the main advantage of multiprogramming?
i) It increases CPU utilization.
ii) It decreases total read time needed to execute a job.
iii) It maximizes the total job throughput of a computer

7. Mention any two techniques used to solve the external fragmentation.


External fragmentation is solved by any three methods:compaction:- attacks the problem of external fragmentation by moving all
the allocated memory blocks into single unit by combining all free memory
holes.
paging:-breaking up physical memory into fixed size blocks and than filling
these blocks by logical memory of same size.

8. What is thread cancellation? (Ch#03 slide # 34)


9. What is dispatch latency? (Ch#04 slide # 8)

10. What is a virtual address? (Ch#07 slide # 12)


11. What are the advantages of multiprocessors system?
12. State various states of a process. (Ch#02 slide # 7)
13. What are the common types of thread implementation?
(Ch#03 slide User and Kernel Thread)
14. What is dispatcher? (Ch#04 slide # 8)
Another component that is involved in the CPU-scheduling function is the
dispatcher, which is the module that gives control of the CPU to the process
selected by the short-term scheduler. It receives control in kernel mode as the result
of an interrupt or system call.

15. State the sequence of the utilization of a resource for a process.


16. What do you mean by overlays? (Ch#07 slide # 20,21)
17. What is a lazy swapper? (Ch#08 slide # 5)
18. What does a file control block (FCB) contains? (Ch#10 slide # 27.28)
19. State three major approaches of allocating disk space. (Ch#10 slide # 34- 45)
20. Mention the four necessary conditions required for the occurrence of thedeadlock.

21. Define Command Interpreter?


A command interpreter is the part of a computer operating system that understands
and executes commands that are entered interactively by a human being or from a
program. In some operating systems, the command interpreter is called the shell.

22. What are the benefits of multithreaded programming? ? (Ch#03 slide # 12)
23. What are the two basic models of Inter Process Communication? (Ch#02 slide # 34)
24. What are the necessary conditions of deadlock situation? (Ch#06 slide # 6-7)
25. Define Preemptive Kernel
26. Write the formula for effective access time (Ch#08 slide # 15)
27. Define Buffer?
A buffer is a data area shared by hardware devices or program processes that
operate at different speeds or with different sets of priorities. The buffer allows
each device or process to operate without being held up by the other.

28. What is a System Call? (Ch#03 slide # 32-33)


This may include hardware-related services (for example, accessing a hard disk
drive), creation and execution of new processes, and communication with integral
kernel services such as process scheduling. System calls provide an essential
interface between a process and the operating system.

29.

Name the two fundamental models of inter process communication.

Two models of IPC


Shared memory
Message passing
30. What do you mean by dispatch latency? define above (REPEATED)

(Note:- All chapter no are according to Sir Rehan website) 70 questions left

You might also like