Javatpoint Logo
Javatpoint Logo

GATE 2016 CS Set 2

33) Anarkali digitally signs a message and sends it to Salim. Verification of the signature by Salim requires

  1. Anarkali's public key.
  2. Salim's public key.
  3. Salim's private key.
  4. Anarkali's private key.

Answer: A

Explanation:

We know that in the digital signature, the sender encrypts the message by using her private key and receiver decrypts the message by using the sender's public key. Hence verification of the signature by Salim requires Anarkali's public key. Therefore option (A) will be the right answer.


34) In an Ethernet local area network, which one of the following statements is TRUE?

  1. A station stops to sense the channel once it starts transmitting a frame.
  2. The purpose of the jamming signal is to pad the frames that are smaller than the minimum frame size.
  3. A station continues to transmit the packet even after the collision is detected.
  4. The exponential backoff mechanism reduces the probability of collision on retransmissions.

Answer: D

Explanation:

The exponential backoff mechanism reduces the probability of collision on retransmissions is the true answer. This algorithm does this by selecting the waiting time for each station = k*rtt. Here k will be from 0 to 2n-1. Hence option (D) is the right answer.


35) Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.

  1. HTTP GET request, DNS query, TCP SYN
  2. DNS query, HTTP GET request, TCP SYN
  3. DNS query, TCP SYN, HTTP GET request
  4. TCP SYN, DNS query, HTTP GET request

Answer: C

Explanation:

Step-1: FIrst we send DNS request which converts the domain name into IP address.
Step-2: Then we established a connection with IP by using TCP Syn.
Step-3: Finally HTTP Get Request will be sent to access the webpage.
Therefore option (C) will be the right answer.


36) A binary relation R on N × N is defined as follows: (a, b)R(c, d) if a ≤ c or b ≤ d. Consider the following propositions:

P: R is reflexive
Q: R is transitive

Which one of the following statements is TRUE?

  1. Both P and Q are true.
  2. P is true and Q is false.
  3. P is false and Q is true.
  4. Both P and Q are false.

Answer: B

Explanation:

Given: (a, b)R(c, d) if a ≤ c or b ≤ d

For Reflexive property: True because (a, b)R(a, b)

For Transitive property: False. Example (5, 2)R(1, 5) and (1, 5)R(4, 1) but not (5, 2)R(4, 1)

Hence option (B) is the right answer.


37) Which one of the following well-formed formulae in predicate calculus is NOT valid?

  1. (∀x p(x) ⇒ ∀x q(x)) ⇒ (∃x ¬p(x) ∨ ∀x q(x))
  2. (∃x p(x) ∨ ∃x q(x)) ⇒ ∃x (p(x) ∨ q(x))
  3. ∃x (p(x) ∧ q(x)) ⇒ (∃x p(x) ∧ ∃x q(x))
  4. ∀x (p(x) ∨ q(x)) ⇒ (∀x p(x) ∨ ∀x q(x))

Answer: D

Explanation:

If we take a set of natural numbers, then option D will not be satisfied. Example:
Given: ∀x (p(x) ∨ q(x)) ⇒ (∀x p(x) ∨ ∀x q(x)). Then
For all x ( x is even no or x is odd no ) ⟹ For all x( x is even no ) or For all x ( x is odd no)
According to the set of natural numbers LHS is true, but RHS is not satisfied because not all natural numbers are even or odd.

Therefore option (D) will be the right answer.


38. Consider a set U of 23 different compounds in a Chemistry lab. There is a subset S of U of 9 compounds, each of which reacts with exactly 3 compounds of U. Consider the following statements:

I. Each compound in U \ S reacts with an odd number of compounds.
II. At least one compound in U \ S reacts with an odd number of compounds.
III. Each compound in U \ S reacts with an even number of compounds.

Which one of the above statements is ALWAYS TRUE?

  1. Only I
  2. Only II
  3. Only III
  4. None

Answer: B

Explanation:

Suppose an undirected graph G with each of the 23 different compounds as a vertex, and if two compounds react, then there will be an edge between the corresponding vertices. As there are 9 compounds in S⊆U such that each of the compounds, the graph G will have at least 9 odd vertices. We know that in an undirected graph, there is an even number of odd vertices. Thus, there exist at least one compound in U/S that reacts with an odd number of compounds. Therefore option (B) will be the right answer.


39) The value of the expression 1399 (mod 17), in the range 0 to 16, is ______________.

  1. 4
  2. 3
  3. 5
  4. 6

Answer: A

Explanation:

According to Fermat's Little Theorem, if p is prime and a should not devide p then

ap-1 ? 1 mod p.

From question, we get p = 17 and a = 13

So, 1317-1 ? 1 mod 17 <=> 1316 ? 1 mod 17

∴ 1396 = (1316)6 ? 1 mod 17

Hence, 1399 = 1396 * 133 ? 133 mod 17 ? 2197 mod 17 = 4

Therefore option (A) is the right answer.


40) Suppose the functions F and G can be computed in 5 and 3 nanoseconds by functional units UF and UG, respectively. Given two instances of UF and two instances of UG, it is required to implement the computation F(G(Xi )) for 1 ≤ i ≤ 10. Ignoring all other delays, the minimum time required to complete this computation is ______________ nanoseconds.

  1. 24
  2. 26
  3. 28
  4. 30

Answer: C

Explanation:

According to the question, UF takes 5 ns, and UG takes 3 ns only. Calculations = 10 and we have 2 instances of UF and UG respectively. So, UF can be done in: (10*5) / 2 = 50/2 = 25 ns.
Now, for the starts, UF needs to wait for UG output for 3 ns and rest all are pipelined. Hence there is no more wait happens. So, answer is: 25 + 3 = 28ns

Therefore option (C) is the right answer.


GATE 2016 CS Set 2-1
GATE 2016 CS Set 2-2
GATE 2016 CS Set 2-3
GATE 2016 CS Set 2-4
GATE 2016 CS Set 2-6
GATE 2016 CS Set 2-7
GATE 2016 CS Set 2-8






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA