Does Google log in/out automatically log in Gmail, if I registered the same Google ID and Gmail ID? And vice versa,i.e. Gmail log in/out auto log in/out Google ID as well?
Yes it does. Logging into almost any of Google's properties will log you into all of them. The workings of this are covered in this similar question.
Yes it would do that refer to this one