1
GATE CSE 2005
MCQ (Single Correct Answer)
+2
-0.6
In a packet switching network, packets are routed from source to destination along a single path having two intermediate nodes. If the message size is 24 bytes and each packet contains a header of 3 bytes, then the optimum packet size is:
A
4
B
6
C
7
D
9
2
GATE CSE 2005
MCQ (Single Correct Answer)
+2
-0.6
Consider a direct mapped cache of size $$32$$ $$KB$$ with block size $$32$$ bytes. The $$CPU$$ generates $$32$$ bit addresses. The number of bits needed for cache indexing and the number of tag bits are respectively
A
$$10, 17$$
B
$$10,22$$
C
$$15,17$$
D
$$5, 17$$
3
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
Increasing the $$RAM$$ of a computer typically improves performance because
A
Virtual memory increases
B
Larger $$RAM$$s are faster
C
Fewer page faults occur
D
Fewer segmentation faults occur
4
GATE CSE 2005
MCQ (Single Correct Answer)
+2
-0.6
Consider a three word machine instruction $$ADD$$ $$A$$ $$\left[ {{R_0}} \right],\,@\,B$$

The first operand (destination) ''$$A$$ $$\left[ {{R_0}} \right]''$$ uses indexed addressing mode with $${{R_0}}$$ as the index register. The second operand (source) $$''@B''$$ used indirect addressing mode. $$A$$ and $$B$$ are memory addresses residing at the second and the third words, respectively. The first word of the instruction specific the opcode, the index register designation and the source and destination addressing modes. During execution of $$ADD$$ instruction, the two operands are added and stored in the destination (first operand).

The number of memory cycles needed during the execution cycle of the instruction is

A
$$3$$
B
$$4$$
C
$$5$$
D
$$6$$