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 41–45 of 65

Q41Probability Theory2 marksMCQ−0.67 if wrong
For any discrete random variable X, with probability mass function
P(X=j)=pj,pj≥0,j∈{0,....N}P(X=j)=p_{j}, p_{j}\geq 0, j \in \{0,....N\} and ∑j=0Npj=1\sum_{j=0}^{N}p_{j}=1, define the polynomial function gx(z)=∑j=0Npjzjg_{x}(z)=\sum_{j=0}^{N}p_{j}z^{j}. For a certain discrete random variable Y, there exists a scalar β∈\beta \in[0,1] such that gY(z)=(1−β+βz)Ng_{Y}(z)=(1-\beta +\beta z)^{N}. The expectation of Y is

Q42Context Free Grammar2 marksMCQ−0.67 if wrong
Consider the following expression grammar G:
E→\rightarrowE-T|T
T→\rightarrowT+F|F
F→\rightarrow(E)|id
Which of the following grammars is not left recursive, but is equivalent to G?

Q43Deadlock2 marksMCQ−0.67 if wrong
A system shares 9 tape drives. The current allocation and maximum requirement of tape drives for three processes are shown below:
Process Current Allocation Maximum Requirement P137 P216 P335
Which of the following best describes current state of the system ?

Q45Physical Layer2 marksMCQ−0.67 if wrong
Consider two hosts X and Y, connected by a single direct link of rate 10610^{6} bits/sec . The distance between the two hosts is 10,000 km and the propagation speed along the link is 2x10810^{8} m/sec . Host X sends a file of 50,000 bytes as one large message to host Y continuously. Let the transmission and propagation delays be p milliseconds and q milliseconds, respectively . Then the values of p and q are