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

GATE 2006

191 questions

MCQ 1911-mark 191

Questions 156–160 of 191

Q156Memory Management1 markMCQ−0.33 if wrong
In the working-set strategy, which of the following is done by the operating system to prevent thrashing?

I. It initiates another process if there are enough extra frames.
II. It selects a process to suspend if the sum of the sizes of the working-sets exceeds the total number of available frames.

Q157Memory Management1 markMCQ−0.33 if wrong
A computer system supports 32-bit virtual addresses as well as 32-bit physical addresses, Since the virtual address space is of the same size as the physical address space, the operating system designers decide to get rid of the virtual entirely. Which one of the following is true?

Q158Relational Schema1 markMCQ−0.33 if wrong
The following functional dependencies are given:

AB→CD,AF→D,DE→F,C→G,F→E,G→AAB\rightarrow CD,AF\rightarrow D,DE\rightarrow F,C\rightarrow G,F\rightarrow E,G\rightarrow A

Which one of the following options is false?

Q159Relational Algebra1 markMCQ−0.33 if wrong
Consider the relations r1(P, Q, R) and r2(R, S, T) with primary keys P and R respectively. The relation r1r_{1} contains 2000 tuples and r2r_{2} contains 2500 tuples. The maximum size of the join r1⋈r2r_{1} \Join r_{2} is :

Q160Relational Algebra1 markMCQ−0.33 if wrong
Consider the relation enrolled (student, course) in which (student, course) is the primary key, and the relation paid (student, amount) where student is the primary key. Assume no null values and no foreign keys or integrity constraints. Assume that amounts 6000, 7000,8000,9000 and 10000 were each paid by 20% of the students. Consider these query plans (Plan 1 on left, Plan 2 on right) to "list all courses taken by students who have paid more than x."
Enrolled Paid Probe index on student Sequential scan, select amount >x Indexed nested loop join Project on course Enrolled Paid Probe index on student Sequential scan Indexed nested loop join Select on amount >x Project on course
A disk seek takes 4 ms, disk data transfer bandwidth is 300 MB/s and checking a tuple to see if amount is greater than x takes 10μ\mus . Which of the following statements is correct?