Assignment 5 Os
Assignment 5 Os
Assignment 5 Os
Enroll:190303105559
Div:CSE_3B8_B
ASSIGNMENT-5
OPERATING SYSTEM
2. Virtual memory is
A. Large secondary memory
B. Large main memory
C. Illusion of large main memory
D. None of the above
Answer: 15,13
7. during operation a process creates data structure within the memory already
allocated to it by the kernel, this function is actually performed by the
A. Runtime library
B. Dynamic library
C. Static library
D. Load time library
12. The Technique of memory compaction and reuse of memory can be applied to
overcome the problem of
A. Internal fragmentation
B. External fragmentation
C. Page Faults
D. Swapping
15. The technique of memory compaction and reuse of memory can be applied to
overcome the problem of
A. Internal fragmentation
B. External fragmentation
C. Page Faults
D. Swapping
16. Memory management technique in which system stores and retrieves data from
secondary storage for use in main memory is called
A. fragmentation
B. paging
C. mapping
D. none of the mentioned
Answer: paging
17.Consider a virtual memory system with FIFO page replacement policy. For an
arbitrary page access pattern, increasing the number of page frames in main
memory will?
A. Always decrease the number of page faults
B. Always increase the number of page faults
C. Sometimes increase the number of page faults
D. Never affect the number of page faults
21.To convert linear addresses into physical addresses, the mechanism that the
paging unit uses is
A. linear conversion mechanism
B. one level table mechanism
C. physical conversion mechanism
D. two level table mechanism
Answer: two level table mechanism
Q-2 : Fill in the Blanks
Answer: Dynamic
4. With relocation and limit registers, each logical address must be _______ the limit
register.
5. In ,a program may be too big to fit into a partition, so the programmer must
design the program with the use of overlays so that only portion of the program needed to
be in main memory at any time.
8. For larger page tables, they are kept in main memory and a __________ points to the
page table.
11. A multilevel page table is preferred in comparison to a single level page table for
Answer: paging
15.The address of a page table in memory is pointed by ____________
Keywords: Compile time refers to the time duration in which the programming
code is converted to the machine code (i.e binary code) and usually occurs
before runtime.
5. CPU fetches the instruction from memory according the value of?
6. Define Compaction.
Keyword: process in which the free space is collected in a large memory
chunk to make some space available for processes.
7. State the main difference between logical from physical address space.
Keywords: computer hardware unit having all memory references passed through
itself, primarily performing the translation of virtual memory addresses to physical
addresses.
9. What is the difference between internal and external fragmentation when does it
occur?
Keywords.Loading the entire program into the main memory before start of
the program execution is called as static loading. Loading the program into
the main memory on demand is called as dynamic loading. ... Program
execution will be faster. Program execution will be slower.
3. What is swapping.
12. What is paging? How it is used? Explain with advantages and disadvantages.