Professional Documents
Culture Documents
OS 2nd Internal
OS 2nd Internal
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Questions
Address Binding is :
If binding is done at assembly or load time, then the process _____ be moved to different locations after being swapped out
The minimum number of frames to be allocated to a process is decided by the :
When a page fault occurs before an executing instruction is complete :
Consider a machine in which all memory reference instructions have only one memory address, for them we need at least _
The maximum number of frames per process is defined by :
The algorithm in which we split m frames among n processes, to give everyone an equal share, m/n frames is known as :
CPU fetches the instruction from memory according to the value of
A memory buffer used to accommodate a speed differential is called
Which one of the following is the address generated by CPU?
Memory management technique in which system stores and retrieves data from secondary storage for use in mai
called
The address of a page table in memory is pointed by
Program always deals with
The page table contains
What is compaction?
Operating System maintains the page table for
Physical memory is broken into fixed-sized blocks called ________
Logical memory is broken into blocks of the same size called _________
Every address generated by the CPU is divided into two parts :
The __________ is used as an index into the page table.
The _____ table contains the base address of each page in physical memory.
The size of a page is typically :
With paging there is no ________ fragmentation.
The operating system maintains a ______ table that keeps track of how many frames have been allocated, how m
there, and how many are available.
Paging increases the ______ time.
Smaller page tables are implemented as a set of _______
The page table registers should be built with _______
For larger page tables, they are kept in main memory and a __________ points to the page table.
For every process there is a __________
Time taken in memory access through PTBR is :
Each entry in a Translation lookaside buffer (TLB) consists of :
An ______ uniquely identifies processes and is used to provide address space protection for that process.
Memory protection in a paged environment is accomplished by :
When the valid – invalid bit is set to valid, it means that the associated page
Illegal addresses are trapped using the _____ bit.
When there is a large logical address space, the best way of paging would be
In a paged memory, the page hit ratio is 0.35. The required to access a page in secondary memory is equal to 100 ns. The time req
a page in primary memory is 10 ns. The average time required to access a page is
To obtain better memory utilization, dynamic loading is used. With dynamic loading, a routine is not loaded until it is called
implementing dynamic loading,
In paged memory systems, if the page size is increased, then the internal fragmentation generally
In segmentation, each address is specified by
In paging the user provides only ________ which is partitioned by the hardware into ________ and ______
Each entry in a segment table has a :
For large files, when the index itself becomes too large to be kept in memory :
To avoid deadlock
which file is a sequence of bytes organized into blocks understandable by the system link__
File type can be represented by____
Option1 Option2
going to an address in memory locating an address with the help of
another address
Compile time Load time
Virtual to physical mapper Memory management unit
loading multiple routines dynamically loading a routine only when it is called
can must
the amount of available physical memory operating System
the instruction must be restarted the instruction must be ignored
One Two
the amount of available physical memory operating System
proportional allocation algorithm equal allocation algorithm
program counter status register
stack pointer cache
physical address absolute address
fragmentation paging
stack pointer page table base register
logical address absolute address
base address of each page in physical
page offset
memory
a technique for overcoming internal
a paging technique
fragmentation
each process each thread
frames pages
frames pages
frame bit & page number page number & page offset
frame bit page number
process memory
Power of 1 power of 2
internal external
page mapping
waiting execution
queues stacks
very low speed logic very high speed logic
page table base register page table base pointer
page table copy of page table
extended by a factor of 3 extended by a factor of 2
key value
address space identifieraddress process
address space locator identifier
protection algorithm with each page restricted access rights to users
3.0 ns 68.0 ns
special support from hardware is required special support from operating system is
essential
Never May
instruction set architecture Instructions of services
the instruction must be completed ignoring the page fault Both 2 and 3
Three Four
instruction set architecture Instructions set of services
split allocation algorithm Both 1 and 3
instruction register program status word
accumulator disk buffer
logical address IP address
mapping Segmentations
page register program counter
physical address relative address
page size Page up
a technique for overcoming
a technique for overcoming external fragmentation
fatal error
each instruction each address
backing store Segmentation
backing store Frames
page offset & frame bit frame offset & page offset
page offset frame offset
page frame
power of 4 Power of 7
Internal and External None of these
frame memory
context – switch Context-Frame
counters registers
a large memory space Both 1 and 2
page table register pointer page table base
pointer to page table Pointer to Segment table
slowed by a factor of 3 slowed by a factor of 2
bit value constant
68.5 ns 78.5 ns
special support from both hardware and operating system is user programs can implement
essential dynamic loading without any
special support from hardware or
operating system
no resource can be forcibly removed from a process holding it All of the above
must not exceed the total number of resources available in the must exceed the total number of
system resources available in the system
system calls special programs
not at all prone to deadlocks none of the mentioned
4
2
2
2
1
3
3
3
1
2
1
2
1
2
3
2
2
1
3
1
1
2
2
2
3
2
2
3
3
4
2
1
1
4
1
2
4
3
3
2
3
4
2
1
1
1
1
3
3
1
4
3
1
2
1
3
3
1
2
1
3
2
1
3
1
1
1
4
2
3
3
2
1
1
2
1
2
2
4
4
2
1
2
1
1
3
1
2