Methods, systems, and computer program products for automatically associating data with a resource as metadata based on a characteristic of the resource are disclosed. The stacked gate region includes a substrate, at least one trench, an oxide layer, at least one floating gate layer and the at least one polysilicon structure. The interlayer insulating film has a substrate contact hole partially exposing a silicon carbide substrate in a region in contact with the gate insulating film. The CV output is controlled within the(at least one segment in response to the sampling.