






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
computer science operating system
Typology: Summaries
1 / 10
This page cannot be seen from the preview
Don't miss anything!







What is compaction? a) a technique for overcoming internal fragmentation b) a paging technique c) a technique for overcoming external fragmentation d) none of the above
One of the following statements is true about fragmentation: a) Allocation into fixed partitions incurs zero internal fragmentation, but terrible external fragmentation. b) Due to increasing page table sizes, the smaller the pages, the larger the internal fragmentation problem is. c) Internal fragmentation denotes the unused memory within the address space of the process. d) External fragmentation means that the process’s address space is divided into many small fragments spread throughout the physical memory.
External fragmentation exists when: a) Enough total memory exists to satisfy a request but it is not contiguous. b) The total memory is insufficient to satisfy a request. c) A request cannot be satisfied even when the total memory is free. d) None of the above.
One of the following statements is true about TLB: a) TLB allows all page table entries to be accessed directly on the CPU, without incurring memory-access penalty. b) TLB caches frequently accessed memory locations, eliminating the need for page tables c) A TLB miss means that page fault has occurred. d) TLB is an associative memory caching the frequently used page table entries.
Which of the following is NOT considered a file attribute? a) File Name b) File Size c) File Data Pointer d) File Protection bits
One of the following statements is true: a) Disc cylinder consists of all tracks on the same platter. b) All blocks of the cylinder can be read without moving the disc head. c) As the inner tracks are shorter then the outer tracks, the hard disk spins faster when reading the inner tracks, to maintain constant linear velocity. d) The latency and transfer rate of the hard disk is primarily determined by the I/O bus used.
Which of the following is true about compaction?
a) It can be done at assembly, load, or execution time. b) It is used to solve the problem of internal fragmentation. c) It cannot shuffle memory contents. d) It is possible only if relocation is dynamic and done at execution time.
Which of the following allocation methods ensures that only one access is needed to get a disk block using direct access? a) linked allocation b) indexed allocation c) hashed allocation d) contiguous allocation
One of the following is true about hard disks: a) A sector consists of one or many contiguous blocks b) Data is transferred in units of tracks c) The seek time is usually less than the rotational delay d) Data is transferred in units of blocks
One of the following is true about the chained (linked list) file allocation method: a) It provides a good support for direct access files b) It provides a good support for indexed files c) It provides a good support for sequential files d) It does not provide a good support for any type of files
The free-space list can be implemented using a bit vector approach. Which of the following is a drawback of this technique? a) To traverse the list, each block must be read on the disk b) It is not feasible to keep the entire list in main memory for large disks c) The technique is more complicated than most other techniques d) This technique is not feasible for small disks
The SSTF scheduling algorithm ____. a) services the request with the maximum seek time b) services the request with the minimum seek time c) chooses to service the request furthest from the current head position d) None of the above
Which statement is true for disk-scheduling algorithms? a) SCAN and C-SCAN perform better for systems that place a heavy load on disk b) performance does not depend on the number and types of requests c) SSTF is sometimes called the elevator algorithm d) C-LOOK scheduling is a form of SJF scheduling; may cause starvation of some requests
41. All of the above