Hyperglycemia, otherwise known as high blood sugar, can be diagnosed with a blood test such as a fasting plasma glucose (FPG) test, an A1C test, or a fructosamine test. Additionally, hyperglycemia can be identified using a glucose monitor or by drinking a beverage and monitoring the body's glucose response—a test referred to as an oral glucose tolerance test (OGTT).
So, out of the options you provided, checking the urine for glucose (option b) would be one way to test for hyperglycemia. However, there are other tests that can be done as well.
Sorry if I took too long to answer.