Step 1: List the known facts from the question stem.
We are told Ram is taller than Shyam (Ram > Shyam), and Jay is shorter than Vikram (Vikram > Jay). Four people are involved: Ram, Shyam, Jay and Vikram.
Step 2: Test Statement I alone.
Statement I says Ram is the tallest. Combined with the stem, Ram is above Shyam and above everyone else too, so Ram is above Vikram and Jay as well. But we still don't know how Shyam, Jay and Vikram compare to each other beyond Vikram > Jay; Shyam could be shorter than Jay, taller than Vikram, or anywhere in between. So the shortest person could be Jay or Shyam depending on where Shyam fits. Statement I alone is not sufficient.
Step 3: Test Statement II alone.
Statement II says Shyam is taller than Vikram (Shyam > Vikram). Combine this with the two stem facts: Ram > Shyam and Shyam > Vikram give Ram > Shyam > Vikram, and we already know Vikram > Jay. Chaining all of these together: Ram > Shyam > Vikram > Jay. This fixes a complete, unambiguous order among all four people, so Jay is definitely the shortest. Statement II alone is sufficient.
Step 4: Conclusion.
Statement II alone answers the question completely, while Statement I alone leaves the answer ambiguous. This matches option (2).