You can remember the meaning of 杯子 with this easy mnemonic:
Why is my glass cup (杯) in the hands of that child (子)?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.