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

GATE 2011

81 questions

MCQ 811-mark 40 · 2-mark 41

Questions 46–50 of 81

Q46Thread1 markMCQ−0.33 if wrong
Let the time taken to switch between user and kernel modes of execution be t1 while the time taken to switch between two processes be t2. Which of the following is TRUE?

Q47CPU Scheduling2 marksMCQ−0.67 if wrong
Consider the following table of arrival time and burst time for three processes P0, P1 and P2.
Process Arrival time Burst Time P0 0 ms 9 ms P1 1 ms 4 ms P2 2 ms 9 ms
The pre-emptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of processes. What is the average waiting time for the three processes?

Q48Memory Management1 markMCQ−0.33 if wrong
Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 10610^{6} memory accesses, what is the effective access time for the memory?

Q49Relational Schema1 markMCQ−0.33 if wrong
Consider a relational table with a single record for each registered student with the following attributes.

1. Registration_Number: Unique registration number for each registered student
2. UID: Unique Identity number, unique at the national level for each citizen
3. BankAccount_Number: Unique account number at the bank. A student can have multiple accounts or joint accounts. This attributes stores the primary account number
4. Name: Name of the Student
5. Hostel_Room: Room number of the hostel

Which of the following options is INCORRECT?

Q50Relational Algebra2 marksMCQ−0.67 if wrong
Consider a relational table r with sufficient number of records, having attributes A1,A2,...,AnA_{1}, A_{2},..., A_{n} and let 1≤p≤n1\leq p\leq n . Two queries Q1 and Q2 are given below.

Q1:πA1....An(σAp=c(r))Q1:\pi _{A_{1}....A_{n}}(\sigma _{A_{p}=c}(r)) where c is a constant
Q2:πA1....An(σc1≤Ap≤c2(r))Q2:\pi _{A1....A_{n}}(\sigma _{c_{1}\leq A_{p}\leq c_{2}}(r)) where c1c_{1} and c2c_{2} are constants

The database can be configured to do ordered indexing on ApA_{p} or hashing on ApA_{p}.

Which of the following statements is TRUE?