GATE CS 2021 · Set-1 · SQL Queries

MSQ · 1 mark · Problem DBMS-SQL-0060

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 foo.Which of the following operations will necessarily require a full scan of foo for successful completion?
  1. A
    Creation of a new file in foo
  2. B
    Deletion of an existing file from foo
  3. C
    Renaming of an existing file in foo
  4. D
    Opening of an existing file in foo

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionOfficial GATE Answer Key: A, C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/357437/gate-cse-2021-set-1-question-15

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com