Unless it is a very small airport you won't get exact gate until day of departure, and possibly not until an hour before departure.
Terminal is more predictable but not guaranteed.
Try looking up your flights on flightstats.com to get an indication of terminals used.