Sitting in a hot classroom at Lucknow University, Ankita Singh, 19, turned on a laptop and signed in. As she waited for the desktop to load, the screen flashed red. It lasted for all of two seconds, but the two faces that appeared on the screen were unmistakable: Akhilesh Yadav, the chief minister of Uttar Pradesh, and his father, Mulayam Singh Yadav, who is the Samajwadi Party president and also a candidate for prime minister.
Another student in the classroom, Abhay Rajvanshi, 20, said the Samajwadi Party, the regional party that governs the state of Uttar Pradesh, distributed the laptops in September to fulfill a campaign promise after it won the 2012 state assembly elections.
“If I am getting a laptop, then they think — and I also think — that I have to support this political party, because this political party has given me some gift,” Mr. Rajvanshi said.