The final episode of CHiPs "Return of the Brat Patrol" which aired in 1983 featured a story line taking place in a School. Both shows were filmed at MGM Studios and CHiPs used the "Fame" school set for the interiors.
They added a couple of plants and a few chairs, along with a few different posters. Also the lockers look dirtier but apart from that it was the same.
This would have been during Fame's Second season and Keith Coogan who appeared in the "Fame" episode "Ending On a High Note" that season also appears in this CHiPs episode.