GATE 2025 (Session 1)
65 questions
MCQ 30 · MSQ 13 · NAT 221-mark 30 · 2-mark 35
Questions 56–60 of 65
Suppose a 5-bit message is transmitted from a source to a destination through a noisy channel. The probability that a bit of the message gets flipped during transmission is 0.01. Flipping of each bit is independent of one another. The probability that the message is delivered error-free to the destination is _________. (rounded off to three decimal places)
Answer: 0.949 to 0.952
The message has bits. Each bit is flipped on its own with probability . So each bit stays correct with probability . The message reaches the destination error-free only if every bit stays correct:
Answer: 0.951
Answer: 0.951
Suppose a message of size 15000 bytes is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has a defined maximum transmission unit (MTU) as shown in the figure, including IP header. The number of fragments that will be delivered to the destination is _________. (Answer in integer)
Answer: 7
Assume the standard IPv4 header of bytes (no options). So the original datagram is bytes.
At Router-1 (MTU ): the maximum data in one fragment bytes. But the data in a fragment must be a multiple of bytes, so each non-last fragment can carry bytes of data.
Here the data is bytes and . So there are full fragments of bytes ( bytes in all), plus a final fragment of bytes. After Router-1 there are 4 fragments in total.
At Router-2 (MTU ): every fragment bigger than bytes must be split again. The small fragment with bytes of data (total size bytes) is not bigger, so it passes straight through unchanged.
The maximum data in a new sub-fragment . It is rounded down to a multiple of , which gives bytes.
Each of the big fragments (data bytes) splits into one sub-fragment of bytes, plus a final sub-fragment of bytes. So each gives sub-fragments, and the total is sub-fragments.
The total number of fragments reaching the destination (from the split large fragments) (the small fragment that passed through) .
Answer: 7
At Router-1 (MTU ): the maximum data in one fragment bytes. But the data in a fragment must be a multiple of bytes, so each non-last fragment can carry bytes of data.
Here the data is bytes and . So there are full fragments of bytes ( bytes in all), plus a final fragment of bytes. After Router-1 there are 4 fragments in total.
At Router-2 (MTU ): every fragment bigger than bytes must be split again. The small fragment with bytes of data (total size bytes) is not bigger, so it passes straight through unchanged.
The maximum data in a new sub-fragment . It is rounded down to a multiple of , which gives bytes.
Each of the big fragments (data bytes) splits into one sub-fragment of bytes, plus a final sub-fragment of bytes. So each gives sub-fragments, and the total is sub-fragments.
The total number of fragments reaching the destination (from the split large fragments) (the small fragment that passed through) .
Answer: 7
Consider a probability distribution given by the density function .
The probability that lies between 2 and 3, i.e., is _________. (rounded off to three decimal places)
The probability that lies between 2 and 3, i.e., is _________. (rounded off to three decimal places)
Answer: 0.3 to 0.302
Begin by getting the constant from the normalization condition :
Value of the constant:
Required probability:
Answer: 0.302
Value of the constant:
Required probability:
Answer: 0.302
Consider a finite state machine (FSM) with one input and one output , represented by the given state transition table. The minimum number of states required to realize this FSM is _________. (Answer in integer)
Answer: 5
Start by grouping the states by their output pattern. States with outputs are . States with are . State with is . State with is . This gives four starting groups.
Next, split the group by looking at which group each next state belongs to. States and both go to (group of , group of ) on . States and both go to (group of , group of ). So this group splits into and .
Check again with the new finer partition . In each group, the next states now match. For example, and both go to on and into on . Also and both go to on and into on . So the partition is stable and no more splitting happens.
The final equivalence classes are , which makes classes.
Answer: 5
Next, split the group by looking at which group each next state belongs to. States and both go to (group of , group of ) on . States and both go to (group of , group of ). So this group splits into and .
Check again with the new finer partition . In each group, the next states now match. For example, and both go to on and into on . Also and both go to on and into on . So the partition is stable and no more splitting happens.
The final equivalence classes are , which makes classes.
Answer: 5
Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is _________. (Answer in integer)
Answer: 7 to 8
The four D flip-flops are in a chain: . The output feeds . This is a -bit twisted-ring (Johnson) counter. On each clock pulse the bits shift right by one place and enters at .
Write the state as . Starting from :
This cycle has distinct states.
The other states form a second cycle, for example from :
This also has distinct states. So whatever the initial state is, the circuit goes through distinct states (the initial one included) before it returns to it. In general, a Johnson counter with flip-flops has states in a cycle.
Answer: 8
Write the state as . Starting from :
This cycle has distinct states.
The other states form a second cycle, for example from :
This also has distinct states. So whatever the initial state is, the circuit goes through distinct states (the initial one included) before it returns to it. In general, a Johnson counter with flip-flops has states in a cycle.
Answer: 8