Synagogues and batei midrash (Torah study halls) require bedikat ĥametz on the night of the fourteenth, because people sometimes eat ĥametz in them. This is true even of synagogues where people generally do not eat, for children sometimes enter them with ĥametz (SA 433:10). However, when it comes to saying a berakha over this search, there is some uncertainty. Therefore, it is best that the person responsible for searching the beit knesset first search his own home, and when saying the berakha there, intend to include the synagogue.
Boys or girls living in a dormitory and paying for this facility have the status of tenants, and if a kezayit of ĥametz remains in their room during Pesaĥ they violate bal yera’eh and bal yimatzei. Therefore, they are obligated to search their rooms before Pesaĥ, and if they will be staying there during Pesaĥ, they are required to search on the night of the fourteenth with a berakha. If they leave the dormitory a number of days before Pesaĥ, they are required to search on the night before they leave, without reciting a berakha.
The responsibility for searching the rest of the rooms and halls in the yeshiva belongs to the yeshiva administration. It is also possible for them to sell the rooms to a gentile and thus exempt themselves from the obligation to search.
One who buys or begins renting a home before Pesaĥ must search it even if he has not yet occupied it, because the previous resident may have left some ĥametz there. Since the house is in his possession, this ĥametz will cause him to violate bal yera’eh and bal yimatzei. If he owns another house where he will be fulfilling the mitzva of bedikat ĥametz, he can sell or rent out the new home to a gentile and thus exempt himself from the obligation to search it (see section 11 of this chapter above).