You can remember the meaning of 做饭 with this easy mnemonic:
I don't really know how to prepare a meal, and always end up making (做) the same food (饭).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.