GATE 2014 (Session 3) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2014 (Session 3)

65 questions

MCQ 47 · NAT 181-mark 30 · 2-mark 35

Questions 26–30 of 65

Q26Undecidability1 markMCQ−0.33 if wrong
Let Σ\Sigma be a finite non-empty alphabet and let 2Σ∗2^{\Sigma^{*}} be the power set of Σ∗\Sigma^{*} . Which one of the following is TRUE?

Q27Intermediate Code Generation1 markMCQ−0.33 if wrong
One of the purposes of using intermediate code in compilers is to

Q28Runtime Environment1 markMCQ−0.33 if wrong
Which of the following statements are CORRECT?
1) Static allocation of all data areas by a compiler makes it impossible to implement recursion.
2) Automatic garbage collection is essential to implement recursion.
3) Dynamic allocation of activation records is essential to implement recursion.
4) Both heap and stack are essential to implement recursion.

Q29Software Engineering1 markMCQ−0.33 if wrong
In the context of modular software design, which one of the following combinations is desirable?

Q30Memory Management1 markNAT
A system uses 3 page frames for storing process pages in main memory. It uses the Least Recently Used (LRU) page replacement policy. Assume that all the page frames are initially empty. What is the total number of page faults that will occur while processing the page reference string given below? 4, 7, 6, 1, 7, 6, 1, 2, 7, 2