Oil and Natural Gas Corp Ltd provisionally rose 3.6 percent, while Tata Motors Ltd ended up 2.5 percent higher ahead of earnings due on Thursday.
The BSE index provisionally gained 0.54 percent, ending an eight session losing streak that had marked its longest period of consecutive declines since May 2011.
The 50-share NSE index ended up 0.45 percent.