-
1. CPU fetches the instruction from memory according to the value of ____________
- program counter
- status register
- instruction register
- program status word
Show Answer
Answer : Option ( a ) 2. A memory buffer used to accommodate a speed differential is called ____________
- stack pointer
- cache
- accumulator
- disk buffer
Show Answer
Answer : Option ( b )3. Which one of the following is the address generated by CPU?
- Physical address
- Absolute address
- Logical address
- Trial address
Show Answer
Answer : Option ( c )4. Run time mapping from virtual to physical address is done by ____________
- Memory management unit
- CPU
- Address translator
- ALU
Show Answer
Answer : Option ( a )5. Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called?
- Fragmentation
- Paging
- Mapping
- None of the mentioned
Show Answer
Answer : Option ( b )6. Program always deals with ___________
- logical address
- absolute address
- physical address
- relative address
Show Answer
Answer : Option ( a )7. The page table contains ____________
- base address of each page in physical memory
- page offset
- page size
- None of the mentioned
Show Answer
Answer : Option ( a )8. What is compaction?
- A technique for overcoming internal fragmentation
- A paging technique
- A technique for overcoming external fragmentation
- A technique for overcoming fatal error
Show Answer
Answer : Option ( c )9. Operating System maintains the page table for ____________
- each process
- each thread
- each instruction
- each address
Show Answer
Answer : Option ( a )10. The ___________ swaps processes in and out of the memory.
- Memory manager
- CPU
- HDD
- User
Show Answer
Answer : Option ( a )11. The address loaded into the memory address register of the memory is referred to as ____________
- physical address
- logical address
- neither physical nor logical
- Both A and B
Show Answer
Answer : Option ( a )12. The base register is also known as the ____________
- basic register
- regular register
- relocation register
- delocation register
Show Answer
Answer : Option ( c )13. Generally the size of a process is limited to the size of ____________
- physical memory
- external storage
- secondary storage
- None of the mentioned
Show Answer
Answer : Option ( a )14. The main memory accommodates ____________
- operating system
- CPU
- keyboard
- None of the mentioned
Show Answer
Answer : Option ( a )15. In contiguous memory allocation ____________
- each process is contained in a single contiguous section of memory
- all processes are contained in a single contiguous section of memory
- the memory space is contiguous
- None of the mentioned
Show Answer
Answer : Option ( a )16. With relocation and limit registers, each logical address must be _______ the limit register.
- less than
- equal to
- greater than
- None of the mentioned
Show Answer
Answer : Option ( a )17. When memory is divided into several fixed sized partitions, each partition may contain ________
- exactly one process
- at least one process
- multiple processes at once
- None of the mentioned
Show Answer
Answer : Option ( a )18. In fixed size partition, the degree of multiprogramming is bounded by ___________
- the CPU utilization
- the memory size
- the number of partitions
- None of the mentioned
Show Answer
Answer : Option ( c )19. The first fit, best fit and worst fit are strategies to select a ______
- process from a queue to put in memory
- free hole from a set of available holes
- processor to run the next process
- All of the mentioned
Show Answer
Answer : Option ( b )20. A solution to the problem of external fragmentation is ____________
- larger memory space
- smaller memory space
- compaction
- None of the mentioned
Show Answer
Answer : Option ( c )21. __________ is generally faster than _________ and _________
- First fit, best fit, worst fit
- Best fit, first fit, worst fit
- Worst fit, best fit, first fit
- None of the mentioned
Show Answer
Answer : Option ( a )22. External fragmentation exists when?
- The total memory is insufficient to satisfy a request
- Enough total memory exists to satisfy a request but it is not contiguous
- A request cannot be satisfied even when the total memory is free
- None of the mentionedd
Show Answer
Answer : Option ( b )23. External fragmentation will not occur when?
- First fit is used
- Best fit is used
- Worst fit is used
- No matter which algorithm is used, it will always occur
Show Answer
Answer : Option ( d )24. Physical memory is broken into fixed-sized blocks called ________
- frames
- pages
- sectors
- files
Show Answer
Answer : Option ( a )25. Logical memory is broken into blocks of the same size called _________
- frames
- pages
- sectors
- files
Show Answer
Answer : Option ( b )26. Every address generated by the CPU is divided into two parts. They are ____________
- frame bit & page number
- page number & page offset
- page offset & frame bit
- frame offset & page offset
Show Answer
Answer : Option ( b )27. The __________ is used as an index into the page table.
- frame bit
- page number
- page offset
- frame offset
Show Answer
Answer : Option ( b )28. The _____ table contains the base address of each page in physical memory.
- process
- memory
- page
- frame
Show Answer
Answer : Option ( c )29. With paging there is no ________ fragmentation.
- internal
- external
- either type of
- None of the mentioned
Show Answer
Answer : Option ( b )30. The operating system maintains a ______ table that keeps track of how many frames have been allocated, how many are there, and how many are available.
- page
- mapping
- frame
- memory
Show Answer
Answer : Option ( c )31. Paging increases the ______ time.
- waiting
- execution
- context – switch
- All of the mentioned
Show Answer
Answer : Option ( c )32. For every process there is a __________
- page table
- copy of page table
- pointer to page table
- All of the mentioned
Show Answer
Answer : Option ( a )33. If a page number is not found in the TLB, then it is known as a ____________
- TLB miss
- Buffer miss
- TLB hit
- All of the mentioned
Show Answer
Answer : Option ( a )34. Each entry in a translation lookaside buffer (TLB) consists of ____________
- key
- value
- bit value
- constant
Show Answer
Answer : Option ( a )35. The percentage of times a page number is found in the TLB is known as ____________
- miss ratio
- hit ratio
- miss percent
- None of the mentioned
Show Answer
Answer : Option ( b )36. When there is a large logical address space, the best way of paging would be ____________
- not to page
- a two level paging algorithm
- the page table itself
- All of the mentioned
Show Answer
Answer : Option ( b )37. In segmentation, each address is specified by ____________
- a segment number & offset
- an offset & value
- a value & segment number
- a key & value
Show Answer
Answer : Option ( a )38. In paging the user provides only ________ which is partitioned by the hardware into ________ and ______
- one address, page number, offset
- one offset, page number, address
- page number, offset, address
- None of the mentioned
Show Answer
Answer : Option ( a )39. The segment base contains the ____________
- starting logical address of the process
- starting physical address of the segment in memory
- segment length
- None of the mentioned
Show Answer
Answer : Option ( b )40. The segment limit contains the ____________
- starting logical address of the process
- starting physical address of the segment in memory
- segment length
- None of the mentioned
Show Answer
Answer : Option ( c )41. The offset ‘d’ of the logical address must be ____________
- greater than segment limit
- between 0 and segment limit
- between 0 and the segment number
- greater than the segment number
Show Answer
Answer : Option ( b )42. The protection bit is 0/1 based on ____________
- write only
- read only
- read – write
- None of the mentioned
Show Answer
Answer : Option ( c )43. RAM stands for _________
- random always memory
- rarely access memory
- read access memory
- random access memory
Show Answer
Answer : Option ( d )44. ROM stands for ____________
- Random Only Memory
- Read Only Memory
- Read Own Memory
- None of the mentioned
Show Answer
Answer : Option ( b )45. RAM is ______________ memory
- volatile
- non volatile
- Both A and B
- None of the mentioned
Show Answer
Answer : Option ( a )46. ROM is ______________ memory
- volatile
- non volatile
- Both A and B
- None of the mentioned
Show Answer
Answer : Option ( b )47. Full form of BIOS is ___________
- Best Input Output System
- Best Input Output Star
- Basic Input Output Star
- Basic Input Output System
Show Answer
Answer : Option ( d )48. Erasable Programmable Read-Only Memory (EPROM), is a special type of PROM that can be erased by exposing it to __________
- ultraviolet light
- sun light
- electrical charge
- None of the mentioned
Show Answer
Answer : Option ( a )49. Electrically Erasable Programmable Read-Only Memory (EEPROM), is a special type of PROM that can be erased by exposing it to an ______________
- ultraviolet light
- sun light
- electrical charge
- None of the mentioned
Show Answer
Answer : Option ( c )50. Which type of memory is fastest?
- RAM
- Cache memory
- ROM
- HDD
Show Answer
Answer : Option ( b )51. Which type of memory is fastest?
- RAM
- Cache memory
- ROM
- Register
Show Answer
Answer : Option ( d )52. __________starts from the starting location of the memory and first available hole that is large enough to hold the process is selected for allocation.
- First fit
- Best fit
- Next fit
- Worst fit
Show Answer
Answer : Option ( a )53. ______________ memory allocation method avoids memory allocation always from the beginning of the memory space.
- First fit
- Best fit
- Next fit
- Worst fit
Show Answer
Answer : Option ( c )54. In which memory allocation method entire memory is searched and the smallest hole, which is large enough to hold the process, is selected for allocation.
- First fit
- Best fit
- Next fit
- Worst fit
Show Answer
Answer : Option ( b )55. Memory loss is less in ___________ memory allocation method
- first fit
- best fit
- next fit
- worst fit
Show Answer
Answer : Option ( b )56. In which memory allocation method entire memory is searched and the largest hole, which is largest enough to hold the process, is selected for allocation.
- First fit
- Best fit
- Next fit
- Worst fit
Show Answer
Answer : Option ( d )57. The set of pages that a process is currently using is known as _________
- working set
- current set
- using set
- None of the mentioned
Show Answer
Answer : Option ( a )58. Full form of TLB is _________
- Transfer Lookaside Buffer
- Translation Lookinside Buffer
- Translation Lookaside Buffer
- None of the mentioned
Show Answer
Answer : Option ( c )59. In a optimal page replacement algorithm, when a page is to be replaced, which of the following pages is chosen?
- Oldest page
- Newest page
- Frequently occurred page in the future
- Not frequently occurred page in the future
Show Answer
Answer : Option ( d )60. Consider a reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 of frame size 3. Calculate the number of page faults using optimal page replacement algorithm.
- 10
- 9
- 8
- 7
Show Answer
Answer : Option ( b )61. Consider a reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 of frame size 4. Calculate the number of page faults using optimal page replacement algorithm.
- 7
- 9
- 8
- 6
Show Answer
Answer : Option ( c )62. Consider a reference string 1,2,3,2,1,5,2,1,6,2,5,6,3,1,3,6,1,2,4,3 of frame size 3. Calculate the number of page faults using optimal page replacement algorithm.
- 12
- 16
- 14
- 15
Show Answer
Answer : Option ( c )63. In a FIFO algorithm, when a page is to be replaced, which of the following page is chosen?
- Oldest page
- Newest page
- Frequently occurred page in the future
- Not frequently occurred page in the future
Show Answer
Answer : Option ( a )64. Consider a reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 of frame size 3. Using FIFO algorithm, determine the number of page faults.
- 12
- 16
- 14
- 15
Show Answer
Answer : Option ( d )65. Consider a reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 of frame size 4. Using FIFO algorithm, determine the number of page faults.
- 12
- 16
- 10
- 14
Show Answer
Answer : Option ( c )66. A page fault occurs
- when the page is not in the memory
- when the page is in the memory
- when the process enters the blocked state
- when the process is in the ready state
Show Answer
Answer : Option ( a )67. Reference bit is used for
- implementing LRU page replacement algorithm
- implementing NRU algorithm
- implementing optimal algorithm
- All of the mentioned
Show Answer
Answer : Option ( b )68. The LRU algorithm ______
- pages out pages that have been used recently
- pages out pages that have not been used recently
- pages out pages that have been least used recently
- pages out the first page in a given area
Show Answer
Answer : Option ( c )69. Operating system supports different page replacement policy. From the given below option which is not a valid page replacement policy?
- Least Recently Used
- First in first out
- Round robin
- Optimal page replacement policy
Show Answer
Answer : Option ( c )70. In which of the following page replacement policies Belady’s anomaly occurs?
- Most recently used
- LRU
- FIFO
- Optimal page replacement policy
Show Answer
Answer : Option ( c )71. The optimal page replacement algorithm will select the page that
- has been used least number of times
- has been used most number of times
- has been used for the longest time in the past
- will not be used for the longest time in future
Show Answer
Answer : Option ( d )72. We have a process that has been allocated 3 page frames and initially none of the pages of the process are available in the memory. The following sequence of page references (reference string) is made by the process : 1, 2, 1, 3, 7, 4, 5, 6, 3, 1 How many page faults will occur for the above reference string with the Least Recently Used(LRU) Page Replacement Policy in comparison to an Optimal Page Replacement policy?
- 3
- 2
- 1
- 0
Show Answer
Answer : Option ( b )73. We have a process that has been allocated 3 page frames and initially none of the pages of the process are available in the memory. The following sequence of page references (reference string) is made by the process : 1, 2, 1, 3, 7, 4, 5, 6, 3, 1. If Optimal Page Replacement policy is used, _______ page faults will occur for the above reference string.
- 7
- 8
- 9
- 6
Show Answer
Answer : Option ( a )74. ‘LRU’ page replacement policy is
- Last Replaced Unit
- Last Restored Unit
- Least Recently Used
- Least Required Unit
Show Answer
Answer : Option ( c )75. Which amongst the following is not a valid page replacement policy ?
- LRU policy (Least Recently Used)
- FIFO policy (First in first out)
- RU policy (Recurrently used)
- Optimal page replacement policy
Show Answer
Answer : Option ( c )76. Virtual memory uses disk space as an extension of _________
- secondary storage
- main memory
- tertiary storage
- None of the mentioned
Show Answer
Answer : Option ( b )77. 1byte=____ bits
- 2
- 4
- 8
- 10
Show Answer
Answer : Option ( c )78. GB stans for
- Gigabyte
- Gigabit
- Greaterbyte
- Gbyte
Show Answer
Answer : Option ( a )79. 1 KB = __________ Bytes
- 8
- 1000
- 1024
- 256
Show Answer
Answer : Option ( c )80. What is bigger GigaByte (GB), TeraByte (TB), Kilobyte (KB), Megabyte (MB)?
- Kilobyte (KB)
- GigaByte (GB)
- Megabyte (MB)
- TeraByte (TB)
Show Answer
Answer : Option ( d )81. The computer is beeping constantly after you’ve booted it. What’s a likely problem?
- CPU
- HDD
- RAM
- Power Supply
Show Answer
Answer : Option ( c )82. Which of the following components is read-only?
- RAM
- ROM
- HDD
- File
Show Answer
Answer : Option ( b )83. What are programs stored on ROM chips called?
- Applications
- Drivers
- Firmware
- Software
Show Answer
Answer : Option ( c )84. When the user loads a program, where is it copied before it is run?
- BIOS
- Hard Drive
- RAM
- ROM
Show Answer
Answer : Option ( c )85. What unit is used to measure the capacity of RAM?
- Hertz
- Meg
- Byte
- Cycle
Show Answer
Answer : Option ( c )
Memory Management | Operating System
May 05, 202223 minute read
0