Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for file-system
18
votes
5
answers
1
GATE CSE 2019 | Question: 42
The index node (inode) of a Unix -like file system has $12$ direct, one single-indirect and one double-indirect pointers. The disk block size is $4$ kB, and the disk block address is $32$-bits long. The maximum possible file size is (rounded off to $1$ decimal place) ____ GB
The index node (inode) of a Unix -like file system has $12$ direct, one single-indirect and one double-indirect pointers. The disk block size is $4$ kB, and the disk bloc...
Arjun
23.0k
views
Arjun
asked
Feb 7, 2019
Operating System
gatecse-2019
numerical-answers
operating-system
file-system
2-marks
+
–
56
votes
6
answers
2
GATE CSE 2014 Set 2 | Question: 20
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is $4$ bytes in size. Given a $100 \times 10^6$ bytes disk on which the file system is stored and data block size is $10^3$ bytes, the maximum size of a file that can be stored on this disk in units of $10^6$ bytes is _________.
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is $4$ bytes in size. Given a $100 \times 10^6$ bytes disk o...
go_editor
20.8k
views
go_editor
asked
Sep 28, 2014
Operating System
gatecse-2014-set2
operating-system
disk
numerical-answers
normal
file-system
+
–
14
votes
2
answers
3
GATE CSE 2023 | Question: 52
Consider a database of fixed-length records, stored as an ordered file. The database has $25,000$ records, with each record being $100$ bytes, of which the primary key occupies $15$ bytes. The data file is block-aligned in that each data ... required to identify the block in the data file that may contain a record with the key, in the worst case, is _____________.
Consider a database of fixed-length records, stored as an ordered file. The database has $25,000$ records, with each record being $100$ bytes, of which the primary key oc...
admin
11.9k
views
admin
asked
Feb 15, 2023
Databases
gatecse-2023
databases
file-system
indexing
numerical-answers
2-marks
+
–
30
votes
3
answers
4
GATE CSE 2022 | Question: 53
Consider two files systems $\text{A}$ and $\text{B}$, that use contiguous allocation and linked allocation, respectively. A file of size $100$ blocks is already stored in $\text{A}$ and also in $\text{B}$. Now, consider inserting a new block in the middle of ... $\text{B}$ are $n_{A}$ and $n_{B}$, respectively, then the value of $n_{A} + n_{B}$ is__________________.
Consider two files systems $\text{A}$ and $\text{B}$, that use contiguous allocation and linked allocation, respectively. A file of size $100$ blocks is already stored in...
Arjun
9.8k
views
Arjun
asked
Feb 15, 2022
Operating System
gatecse-2022
numerical-answers
operating-system
file-system
2-marks
+
–
41
votes
3
answers
5
GATE CSE 2017 Set 2 | Question: 08
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
In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed?ContiguousLinkedIndexed$1$ and $3$ only$2$ on...
khushtak
13.1k
views
khushtak
asked
Feb 14, 2017
Operating System
gatecse-2017-set2
operating-system
file-system
normal
+
–
31
votes
6
answers
6
GATE CSE 2002 | Question: 2.22
In the index allocation scheme of blocks to a file, the maximum possible size of the file depends on the size of the blocks, and the size of the address of the blocks. the number of blocks used for the index, and the size of the blocks. the size of the blocks, the number of blocks used for the index, and the size of the address of the blocks. None of the above
In the index allocation scheme of blocks to a file, the maximum possible size of the file depends onthe size of the blocks, and the size of the address of the blocks.the ...
Kathleen
14.6k
views
Kathleen
asked
Sep 15, 2014
Operating System
gatecse-2002
operating-system
normal
file-system
+
–
19
votes
2
answers
7
GATE CSE 2021 Set 1 | Question: 15
Consider a linear list based directory implementation in a file system. Each directory is a list of nodes, where each node contains the file name along with the file metadata, such as the list of pointers to the data blocks. Consider a given directory ... $\textsf{foo}$ Renaming of an existing file in $\textsf{foo}$ Opening of an existing file in $\textsf{foo}$
Consider a linear list based directory implementation in a file system. Each directory is a list of nodes, where each node contains the file name along with the file meta...
Arjun
8.5k
views
Arjun
asked
Feb 18, 2021
Operating System
gatecse-2021-set1
multiple-selects
operating-system
file-system
1-mark
+
–
31
votes
6
answers
8
GATE IT 2004 | Question: 67
In a particular Unix OS, each data block is of size $1024$ bytes, each node has $10$ direct data block addresses and three additional addresses: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can ... following is approximately the maximum size of a file in the file system? $512$ MB $2$ GB $8$ GB $16$ GB
In a particular Unix OS, each data block is of size $1024$ bytes, each node has $10$ direct data block addresses and three additional addresses: one for single indirect b...
Ishrat Jahan
9.3k
views
Ishrat Jahan
asked
Nov 2, 2014
Operating System
gateit-2004
operating-system
file-system
normal
+
–
5
votes
1
answer
9
GO Classes Test Series 2024 | Mock GATE | Test 13 | Question: 20
Suppose we have a multi-level index file system, and this file system has $512$ Bytes blocks, inodes with $3$ direct, $1$ single-indirect, $2$ double-indirect, and $1$ triple-indirect pointer, and $64$-bit block ... inode requires the first single-indirect block number be used? $1536$ Bytes $1537$ Bytes $512$ Bytes $1500$ Bytes
Suppose we have a multi-level index file system, and this file system has $512$ Bytes blocks, inodes with $3$ direct, $1$ single-indirect, $2$ double-indirect, and $1$ tr...
GO Classes
570
views
GO Classes
asked
Jan 28
Operating System
goclasses2024-mockgate-13
goclasses
operating-system
file-system
1-mark
+
–
0
votes
0
answers
10
File organisation and indexing (DBMS)
Suryadip
106
views
Suryadip
asked
Mar 9
Databases
databases
indexing
file-system
+
–
1
votes
1
answer
11
Made Easy
Amy and Bob are working on a project vehicle rental system, they have a file consisting of 10000 records, having block size 1024 bytes, record size 100 bytes. Search key size 9 bytes, pointer 7 bytes. They want to implement single level indexing. ... dense index, however Amy suggested to implement sparse index. How many blocks are saved by Amy considering only 1st level index ________?
Amy and Bob are working on a project vehicle rental system, they have a file consisting of 10000 records, having block size 1024 bytes, record size 100 bytes. Search key ...
suvasish114
462
views
suvasish114
asked
Dec 9, 2023
Databases
indexing
databases
file-system
made-easy-test-series
+
–
0
votes
1
answer
12
Ace Test Series
Consider six files: F1, F2, F3, F4, F5, F6 with corresponding sizes 100, 200, 70, 40, 250 and 50 respectively. the files are to be stored on a sequential device in such a way that as to optimize access time. In what order should the files be stored ?? A) ... approximate average access time of a record from one of the six files on the sequential device?? A) 131 B) 198 C) 286 D) 433
Consider six files: F1, F2, F3, F4, F5, F6 with corresponding sizes 100, 200, 70, 40, 250 and 50 respectively. the files are to be stored on a sequential device in such a...
none30
384
views
none30
asked
Apr 12, 2023
Operating System
ace-test-series
operating-system
file-organization
+
–
2
votes
1
answer
13
unacademy aimt 2023 mock 1
A floppy disk has 40 cylinders. When storing a file on the floppy disk, the operating system (probably the floppy device driver) often attempts to put the blocks of the file in cylinders that are close to one another (if this can be ... seconds per cylinder moved, the rotational latency is 20 milli-seconds on average, and the transfer time is 15 milliseconds per block?
A floppy disk has 40 cylinders. When storing a file on the floppy disk, the operating system (probably the floppy device driver) often attempts to put the blocks of the f...
sat0503
429
views
sat0503
asked
Dec 4, 2022
Operating System
operating-system
file-system
normal
unacademy-test-series
+
–
0
votes
0
answers
14
Operating System
Which of the following is correct? 1)In acyclic-graph directory, a file can have two different relative path name, but not two different absolute path name. 2)A dangling pointer possible for a file in tree-structured directories. 3)If Access Control List (ACL) ... directory, then size of a directory entry (with attributes) will be variable. 4)None of the above Answer given is 3
Which of the following is correct?1)In acyclic-graph directory, a file can have two different relative path name, but not two different absolute path name.2)A dangling po...
Overflow04
480
views
Overflow04
asked
Dec 16, 2022
Operating System
operating-system
test-series
file-system
+
–
0
votes
0
answers
15
File System, Operating System
In case of Indexed Allocation Technique in File System of OS does the last address of the index file actually points to the address of the next Index file. If so then should we remove 1 from the total number of addresses possible in ... concept where this last address of the Index file is also considered while calculating the File Size. Can someone please clarify?
In case of Indexed Allocation Technique in File System of OS does the last address of the index file actually points to the address of the next Index file. If so then sho...
royS96
342
views
royS96
asked
Oct 24, 2022
Operating System
operating-system
file-system
made-easy-test-series
+
–
0
votes
0
answers
16
Best Open Video Playlist for File Systems Topic | Operating Systems
Please list out the best free available video playlist for File Systems from Operating Systems as an answer here (only one playlist per answer). We'll then select the best playlist and add to GO classroom video lists. ... standard ones are more likely to be selected as best. For the full list of selected videos please see here
Please list out the best free available video playlist for File Systems from Operating Systems as an answer here (only one playlist per answer). We'll then select the bes...
makhdoom ghaya
242
views
makhdoom ghaya
asked
Aug 20, 2022
Study Resources
go-classroom
missing-videos
free-videos
video-links
file-system
+
–
1
votes
1
answer
17
File handling in C
I'm trying to use the fseek() and ftell() function to find the length of the file 'test.txt' which is present in the same directory as the file 'file.c'. file.c #include <stdio.h> int main() { FILE *fp; ... run it, I'm getting the 'Segmentation fault (core dumped)' error abd the execution terminates. What's going wrong in here?
I'm trying to use the fseek() and ftell() function to find the length of the file 'test.txt' which is present in the same directory as the file 'file.c'.file.c#include <s...
Mizuki
1.2k
views
Mizuki
asked
Aug 30, 2018
Programming in C
programming-in-c
file-system
programming
+
–
0
votes
0
answers
18
What is stream in c programming ?
What is stream in c programming ? as i read file io in c programming so thats where i read “stream” word so what stream means ? thank you
What is stream in c programming ? as i read file io in c programming so thats where i read “stream” word so what stream means ? thank you
ykrishnay
385
views
ykrishnay
asked
May 20, 2022
Programming in C
programming-in-c
file-system
+
–
1
votes
2
answers
19
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 24 (Page No. 334)
Free disk space can be kept track of using a free list or a bitmap. Disk addresses require $D$ bits. For a disk with $B$ blocks, $F$ of which are free, state the condition under which the free list uses less space ... For $D$ having the value $16$ bits, express your answer as a percentage of the disk space that must be free.
Free disk space can be kept track of using a free list or a bitmap. Disk addresses require $D$ bits. For a disk with $B$ blocks, $F$ of which are free, state the conditio...
admin
1.1k
views
admin
asked
Oct 27, 2019
Operating System
tanenbaum
operating-system
file-system
memory-management
descriptive
+
–
2
votes
1
answer
20
Applied Test Series
A disk drive has 5000 cylinders, numbered 0 to 4999. The drive is serving a request at cylinder 143 currently and the previous request was at 125. The disk I/O queue, in FIFO order, is 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 ... the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests, for SCAN?
A disk drive has 5000 cylinders, numbered 0 to 4999. The drive is serving arequest at cylinder 143 currently and the previous request was at 125. The disk I/O queue, ...
LRU
4.3k
views
LRU
asked
Dec 28, 2021
Operating System
test-series
operating-system
disk-scheduling
file-system
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register