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

GATE 2019

65 questions

MCQ 41 · NAT 241-mark 30 · 2-mark 35

Questions 41–45 of 65

Q41Context Free Language2 marksMCQ−0.67 if wrong
Which one of the following languages over Σ={a,b}\Sigma =\{a,b\} is NOT context-free?

Q42Normal Form2 marksMCQ−0.67 if wrong
Let the set of functional dependencies F={QR→S,R→P,S→Q}F=\{QR\rightarrow S,R\rightarrow P,S\rightarrow Q\} hold on a relation schema X = (PQRS). X is not in BCNF. Suppose X is decomposed into two schemas Y and Z where Y = (PR) and Z = (QRS).
Consider the two statements given below:

I. Both Y and Z are in BCNF
II. Decomposition of X into Y and Z is dependency preserving and lossless.

Which of the above statements is/are correct?

Q43Memory Management2 marksMCQ−0.67 if wrong
Assume that in a certain computer, the virtual addresses are 64 bits long and the physical addresses are 48 bits long. The memory is word addressable. The page size is 8kB and the word size is 4 bytes. The Translation Look-aside Buffer (TLB) in the address translation path has 128 valid entries. At most how many distinct virtual addresses can be translated without any TLB miss?

Q44Undecidability2 marksMCQ−0.67 if wrong
Consider the following sets:

S1: Set of all recursively enumerable languages over the alphabet {0, 1}.
S2: Set of all syntactically valid C programs.
S3: Set of all languages over the alphabet {0, 1}.
S4: Set of all non-regular languages over the alphabet {0, 1}.

Which of the above sets are uncountable?

Q45Set Theory2 marksMCQ−0.67 if wrong
Consider the first order predicate formula:
∀x[∀z  z∣x⇒((z=x)∨(z=1))⇒\forall x[\forall z\; z|x\Rightarrow ((z=x)\vee (z=1))\Rightarrow ∃w(w>x)∧(∀z  z∣w⇒((w=z)∨(z=1)))]\exists w(w\gt x)\wedge (\forall z \; z|w\Rightarrow ((w=z)\vee (z=1)))]
Here 'a|b' denotes that 'a divides b', where a and b are integers. Consider the following sets:

S1: {1, 2, 3, ..., 100}
S2: Set of all positive integers
S3: Set of all integers
Which of the above sets satisfy φ\varphi ?