You will not be informed of the gate number if you are taking the boarding pass in advance i.e. online. In such cases, you will have to get it from the counter or may be at the kiosks installed in some airports. Another way is to look for the gate number in the display boards which are installed in the lounges.