Node that receives the packet to transmit will carrier-sense the medium for 5 units. Any packet which arrives within 5 unit will be sensed and keep the channel busy. Given that Signal speed is 10 meter/time.
Which means in 5 unit of time packet can travel 50 meters in max, that allow Q to successfully avoid the collision.
So, option (A) is correct.
PREVIOUS YEAR SOLVED PAPERS MCQ - GATE 2018
62
Consider the weights and values of items listed below. Note that there is only one unit of each item.
| Item Number | Weight in (kgs) | Value in Rupees) |
| 1 | 10 | 60 |
| 2 | 7 | 28 |
| 3 | 4 | 20 |
| 4 | 2 | 24 |
The task is to pick a subset of these items such that their total weight is not more than 11 kgs and their total value is maximized. Moreover, no item may be split. The total value of items picked by an optimal algorithm is denoted by A greedy algorithm sorts the items by their value-to-weight ratios in descending order and packs them greedily, starting from the first item in the ordered list. The total value of items picked by the greedy algorithm is denoted by Vgreedy.
The value of Vopt − Vgreedy is ______ .
Note – Numerical Type question
| Item No. | Weight | Value | Value/Weight |
| 1 | 10 | 60 | 6 |
| 2 | 7 | 28 | 4 |
| 3 | 4 | 20 | 5 |
| 4 | 2 | 24 | 12 |
| Item No. | Weight | Value | Value/Weight |
| 1 | 2 | 24 | 12 |
| 2 | 10 | 60 | 6 |
| 3 | 4 | 20 | 5 |
| 4 | 7 | 28 | 4 |
Count(1024, 1024) will be called and value of x will be deducted by x/2. ‘x’ will be printed 10 times. On count=10, value of x will become 1.
For every recursively for every y=1023 and count() is called 10times for each y. So, 1023 x 10 = 10230
Answer is 10230.
64
Consider Guwahati (G) and Delhi (D) whose temperatures can be classified as high (H), medium (M) and low (L). Let P(HG) denote the probability that Guwahati has high temperature. Similarly, P(MG) and P(LG) denotes the probability of Guwahati having medium and low temperatures respectively. Similarly, we use P(HD), P(MD) and P(LD) for Delhi.
The following table gives the conditional probabilities for Delhi’s temperature given Guwahati’s temperature.
| HD | MD | LD | |
| HG | 0.40 | 0.48 | 0.12 |
| MG | 0.10 | 0.65 | 0.25 |
| LG | 0.01 | 0.50 | 0.49 |
Consider the first row in the table above. The first entry denotes that if Guwahati has high temperature (HG) then the probability of Delhi also having a high temperature (HD) is 0.40; i.e., P(HD ∣ HG) = 0.40. Similarly, the next two entries are P(MD ∣ HG) = 0.48 and P(LD ∣ HG) = 0.12. Similarly for the other rows.
If it is known that P(HG) = 0.2, P(MG) = 0.5, and P(LG) = 0.3, then the probability (correct to two decimal places) that Guwahati has high temperature given that Delhi has high temperature is _______ .
Note – Numerical Type question.
The condition probability table given is
P(HG) = 0.2
P(MG) = 0.5
P(LG) = 0.3
Drawing the tree diagram for HD we get,
From diagram, P(HG ∩ HD) = 0.2x0.4
P(HD) = 0.2x0.4+0.5x0.1+0.3x0.01 = 0.133
Required probability,
P(HG | HD) = (0.2x0.4)/0.133 = 0.60
| HD | MD | LD | |
| HG | 0.40 | 0.48 | 0.12 |
| MG | 0.10 | 0.65 | 0.25 |
| LG | 0.01 | 0.50 | 0.49 |
From diagram, P(HG ∩ HD) = 0.2x0.4
P(HD) = 0.2x0.4+0.5x0.1+0.3x0.01 = 0.133
Required probability,
P(HG | HD) = (0.2x0.4)/0.133 = 0.60

