56 56 votes In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed? Contiguous Linked Indexed $1$ and $3$ only $2$ only $3$ only $2$ and $3$ only Operating System gatecse-2017-set2 operating-system file-system normal + – khushtak 21.3k views answer comment Share Follow Print See all 5 Comments 5 5 Comments reply Show 2 previous comments Arnav Singh_01 commented Nov 19, 2024 reply Follow flag @usher Just my opinion , I think we can prefer Linked FAT as both don't have External fragmentation but we have to consider Internal Fragmentation which can be more in Indexed FAT where index block as well as last file block can have Internal fragmentation , while in Linked FAT only last block of file can have Internal Fragmentation. 1 1 replyShare js__ commented Oct 21, 2025 reply Follow flag option D indexed & linked https://www.geeksforgeeks.org/operating-systems/file-allocation-methods/ 1 1 replyShare oogway69 commented Jan 2 i edited by oogway69 Jan 26 reply Follow flag Contiguous Allocation : Internal Fragmentation ✅ External Fragmentation ✅ Linked Allocation : Internal Fragmentation ✅ External Fragmentation ❌ Indexed Allocation : Internal Fragmentation ✅ External Fragmentation ❌ 6 6 replyShare Please log in or register to add a comment.
Best answer 55 55 votes Answer: D) Both Linked and Indexed allocation free from external fragmentation Refer: Galvin Reference: https://webservices.ignou.ac.in/virtualcampus/adit/course/cst101/block4/unit4/cst101-bl4-u4-06.htm Aboveallplayer answered Feb 14, 2017 • edited Jan 14, 2023 by shadymademe Aboveallplayer comment Share Follow See all 5 Comments 5 5 Comments reply zeeshanmohnavi commented Dec 6, 2018 reply Follow flag The link is marked unsafe by Chrome. Is there any other link where I can get more information about this topic? 0 0 replyShare Peeyush Pandey commented Jan 2, 2019 reply Follow flag In galvin, allocation methods in file system chapter 11. 0 0 replyShare VIDYADHAR SHELKE 1 commented Nov 21, 2019 reply Follow flag @srestha@Bikram plz let me know if i am wrong Internal Fragmentation 1) It occurs when memory is divided into fixed-sized partitions. 2) it occurs contiguous & non contiguous allocation 3)non contiguous allocation avoid external fragmentation. External Fragmentation 1)It occurs when memory is divided into variable-sized partitions based on size of process. 2) it does not occur when memory allocated in non contiguous manner. 0 0 replyShare srestha commented Nov 21, 2019 reply Follow flag Plz search Wikipedia for it. 1 1 replyShare KartikGawande commented Nov 13, 2022 reply Follow flag Internal fragmentation happens when the unusable memory is within an allocated memory area.external fragmentaion happens when the unusable memory is not within an allocated memory area but its still unusable. Source 2 2 replyShare Please log in or register to add a comment.
19 19 votes Option D: Both Indexed and Linked file allocation schemes do not suffer from external fragmentation, Whereas Contiguous allocation suffer from external fragmentation & Internal fragmentation may exist in the last disk block of a file. Smriti012 answered Feb 14, 2017 Smriti012 comment Share Follow See all 4 Comments 4 4 Comments reply vishalshrm539 commented Dec 30, 2017 reply Follow flag Internal Fragmentation will be there in all the allocations. 15 15 replyShare hem chandra joshi commented Jan 22, 2018 reply Follow flag in dynamic memory allocation, memory pools drastically cut internal fragmentation by spreading the space overhead over a larger number of objects. 0 0 replyShare jatin khachane 1 commented Dec 1, 2018 reply Follow flag @hem chandra joshi @vishalshrm539 IF we have a file of size 1020 B and block size is 512 B Then every allocation technique will give Internal fragmentation as last block wil be partially filled So all techniques suffer from Internal fragmentation is right ??? 0 0 replyShare vishalshrm539 commented Dec 1, 2018 reply Follow flag Yes, all will suffer from internal fragmentation given File size is not a multiple of Block size. 2 2 replyShare Please log in or register to add a comment.
5 5 votes Contiguous: It's possible to have external fragmentation, as to store a file we need continous data blocks which might not be available. Linked: No ext. fragmentation,as we can link data blocks by using a pointer to next data block in each data block. Indexed: No ext. fragmentation,as in index table we store a files all data blocks addresses,without requiring to access data block to get to random data block. Option D ashishtomarx answered Apr 4, 2024 ashishtomarx comment Share Follow 0 reply Please log in or register to add a comment.
3 3 votes The correct answer is: D. 2 and 3 onlyExplanation:In file allocation systems, external fragmentation occurs when free storage space is broken into small pieces and is scattered throughout the disk, making it difficult to allocate contiguous space to new files.1. Contiguous AllocationDescription: Allocates a single continuous block of space for a file.External Fragmentation: Yes. As files are created and deleted, gaps of free space arise that may be too small for new files.Conclusion: Not suitable when no external fragmentation is allowed.2. Linked AllocationDescription: Each file is a linked list of disk blocks, which can be scattered anywhere on the disk.External Fragmentation: No. Any free block can be used; there's no need for contiguous space.Conclusion: Suitable.3. Indexed AllocationDescription: Maintains an index block with pointers to all blocks of the file.External Fragmentation: No. Like linked allocation, blocks can be scattered.Conclusion: Suitable. i.kshitij answered Jun 22, 2025 i.kshitij comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote About Every Allocation SchemeContiguous Allocation : Internal Fragmentation ✅ External Fragmentation ✅Linked Allocation : Internal Fragmentation ✅ External Fragmentation ❌Indexed Allocation : Internal Fragmentation ✅ External Fragmentation ❌ oogway69 answered Jan 2 oogway69 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes option D indexed & linked https://www.geeksforgeeks.org/operating-systems/file-allocation-methods/ js__ answered Oct 21, 2025 js__ comment Share Follow 0 reply Please log in or register to add a comment.