The President, himself a graduate of Agra University, urged the students to see the convocation not as the end of a journey but the commencement of a new phase of responsibility and learning.
He also said that many people had contributed to their education - their parents, teachers, family members, and others in government and society.
"These people had contributed to giving the graduating students an opportunity that millions in our country are unable to get. Therefore, it was the duty of the graduating students to pay back society in some way, and work for the cause of humanity," he added.
The President noted that the Dr Bhimrao Ambedkar University has adopted a primary school, taken responsibility for education of underprivileged children in a model school, run cornea transplant programmes and organised blood donation camps.
The president appreciated such efforts and said they were commendable.
"Such efforts made students sensitive and responsible towards society," he said.
The President expressed confidence that Agra University would continue to play a meaningful role in preparing our younger generation for the challenges of the 21st century.
"The sky is the limit," he said.
"Whatever target you set, you must strive hard to achieve it. Along with your progress, you must take along people who are left behind," he said.
The president congratulated NSA chief Ajit Doval and scientist woman Tessy Thomas, who were given honorary degrees by the varsity.
Uttar Pradesh governor Ram Naik, who was present on the occasion, said he was happy to note that most medal-winners - 96 out of 114 - were women.
A new dress code had been prescribed for the convocation for graduates and the faculty. The men wore dhotis and kurtas, and women, white saris with red borders.
(With Inputs from PTI)
Click here for more Education News
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.