1
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
The grammar $$A \to AA\,|\,\left( A \right)\,|\,\varepsilon $$
is not suitable for predictive-parsing because the grammar is
A
ambiguous
B
left-recursive
C
right-recursive
D
an operator-grammar
2
GATE CSE 2005
MCQ (Single Correct Answer)
+2
-0.6
Suppose that two parties A and B wish to setup a common secret key (D - H key) between themselves using the Diffie-Hellman key exchange technique. They agree on 7 as the modulus and 3 as the primitive root. Party A chooses 2 and party B chooses 5 as their respective secrets. Their D - H key is
A
3
B
4
C
5
D
6
3
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be
A
255.255.0.0
B
255.255.64.0
C
255.255.128.0
D
255.255.252.0
4
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
Packets of the same session may be routed through different paths in
A
TCP, but not UDP
B
TCP and UDP
C
UDP, but not TCP
D
Neither TCP, nor UDP