GATE 2017 (Session 2) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2017 (Session 2)

65 questions

MCQ 45 · NAT 201-mark 30 · 2-mark 35

Questions 16–20 of 65

Q16Context Free Grammar1 markMCQ−0.33 if wrong
Which of the following statements about parser is/are CORRECT?
I. Canonical LR is more powerful than SLR.
II. SLR is more powerful than LALR
III. SLR is more powerful than Canonical LR.

Q17Thread1 markMCQ−0.33 if wrong
Which of the following is/are shared by all the threads in a process ?
I. Program counter
II. Stack
III. Address space
IV. Registers

Q18File Systems1 markMCQ−0.33 if wrong
In a file allocation system, which of the following allocation schemes(s) can be used if no external fragmentation is allowed?
I. Contiguous
II. Linked
III. Indexed

Q19Network Layer Protocol1 markMCQ−0.33 if wrong
Consider the following statements about the routing protocols, Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an IPv4 network.

I. RIP uses distance vector routing
II. RIP packets are sent using UDP
III. OSPF packets are sent using TCP
IV. OSPF operation is based on link-state routing

Which of the statements above are CORRECT?

Q20Definite and Improper Integrals1 markMCQ−0.33 if wrong
If f(x)=Rsin(πx2)+S,f′(12)=2f(x)=R sin(\frac{\pi x}{2})+S,f'(\frac{1}{2})=\sqrt{2} and ∫01f(x)dx=2Rπ\int_{0}^{1}f(x)dx=\frac{2R}{\pi }, then the constants R and S are, respectively