McGraw-Hill Education is buying Aleks Corp. for an undisclosed amount, its first deal since it was spun off from McGraw Hill Companies.

Aleks develops adaptive learning technology for the K-12 and higher education markets. The company uses artificial intelligence to try to determine what students already know, and then instructs the students on a topic. 

The deal strengthens the buyer’s position in the adaptive technology market and is expected to close in the third quarter.

McGraw-Hill Education was purchased by funds of Apollo Global Management LLC (NYSE: APO) in March. McGraw Hill Companies was renamed McGraw Hill Financial (NYSE: MHFI) after the deal. The education unit acquired Area9 Aps, a Denmark-based adaptive learning company, in January. 

For more coverage on the education sector, see "With Dealmakers, School is Still in Session."