The following applies to avast 5:
VPS: the whole AV engine, including all its definitions, signatures, antirootkit module, bahavior shield logic, whitelists, network shield database etc... Updatable on the fly. Updated at least once a day
Program: everything else. The UI, the Shields, the kernel mode drivers etc...