The location sensor object is used to communicate with the global positioning satellite receiver (GPS) in your phone/tablet. When the LocationSensor communicates with the built-in GPS receiver, the GPS can determine the location of your device. The sensor can also work with network/wifi location services. Finding a location using the network uses very different techniques to determine a location. Location means, the device's present latitude and longitude or it can mean your street address.
Confirm, by using the Tablet's model number and googling for its specifications that the tablets in question do indeed have both a GPS receiver and an Orientation Sensor.
Also, if the student's are each coding their own versions of the tutorial, some of them might have left out a step. Without a copy of the code, it is not really possible to debug the issue more than this.
Please do check: is there a GPS? is there an Orientation sensor? Is each student's code correct? ..and please do read the Location Sensor tutorial to get a better understanding on how the Locatiion Sensor works.
Regards,
Steve