You can remember the meaning of 屋子 with this easy mnemonic:
I will never leave my house (屋) and leave my child (子) alone at home.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.