GATE 2009 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2009

66 questions

MCQ 661-mark 24 · 2-mark 42

Questions 51–55 of 66

Q51Disk Scheduling2 marksMCQ−0.67 if wrong
Consider a disk system with 100 cylinders. The requests to access the cylinders occur in following sequence:

4, 34, 10, 7, 19, 73, 2, 15, 6, 20

Assuming that the head is currently at cylinder 50, what is the time taken to satisfy all requests if it takes 1ms to move from one cylinder to adjacent one and shortest seek time first policy is used?

Q52Memory Management2 marksMCQ−0.67 if wrong
A multilevel page table is preferred in comparison to a single level page table for translating virtual address to physical address because

Q53Memory Management1 markMCQ−0.33 if wrong
The essential content(s) in each entry of a page table is / are

Q54Memory Management1 markMCQ−0.33 if wrong
In which one of the following page replacement policies, Belady's anomaly may occur?

Q55Tuple Calculus2 marksMCQ−0.67 if wrong
Let R and S be relational schemes such that R={a,b,c} and S={c}. Now consider the following queries on the database:
I.πR−S(r)−πR−S(πR−S(r)×S−πR−S,S(r))I.\pi _{R-S}(r)-\pi_{R-S}(\pi_{R-S}(r) \times S -\pi_{R-S,S}(r))
II.{t∣t∈πR−S(r)∧∀u∈s(∃v∈r(u=v[s]∧t=v[R−S]))}II.\{t|t\in \pi _{R-S}(r)\wedge \forall u \in s (\exists v \in r(u=v[s]\wedge t=v[R-S]))\}
III.{t∣t∈πR−S(r)∧∀v∈r(∃u∈s(u=v[s]∧t=v[R−S]))}III.\{t|t\in \pi _{R-S}(r)\wedge \forall v\in r(\exists u\in s(u=v[s]\wedge t=v[R-S]))\}
IV. Select R.a, R.b From R,S Where R.c=S.c

Which of the above queries are equivalent?