I learned the same way you did, and have not seen anything recently to the contrary, in any reputable source. The second way you showed looks wrong. I would ask the person who advised you for a reference ("citation needed").
This page says,
A direct quotation is set off from the
rest of the sentence by commas. Do not
use a period to end a sentence quoted
within another sentence.
This page does not address the question directly, but does show by example that it endorses the style you learned in school, not the one you heard about recently.
Update in response to edited question:
Yes, it's correct that it depends on what follows: the period at the end of the quoted sentence is changed to a comma only if the containing sentence continues after the end of the quote (e.g. with a dialogue tag like "said Tom"). If the containing sentence ends with the quote, both are terminated by the same period, which is inside the quotation marks.
Btw, your example
"The car is on the road," said Tom
is missing a final period (after Tom
). I think this was just a typo, but I thought it worth mentioning in case that was actually part of your "Is this correct?" question.
"Where can I find you?" is generally a safe way to ask.
If you prefer to be specific, "Where do you sit?" or "Where's your desk?" would be fine in an office with an open plan.
If the offices have dividers, you might want to ask, "Where's your cubicle?"
If actual walls, "Where's your room?" might make more sense.
Best Answer
"Drive safely" is the formally correct phrase.
Saying "drive safe" sounds casual and informal; however, many people do it. This is because, in general, people sometimes use the adjective form as an adverb (usually this means not adding -ly) in casual speech. It is not recommended in any formal situations.
"Do good" is a different kind of issue, because the form depends on the meaning you want to convey.
If "do good" means "do the right/good thing", then "do good" is the formally correct phrase.
If "do good" means "perform correctly/at a high level", then "do well" is the formally correct phrase. (But, as mentioned above, casually you could also say "do good" here.)