Upvote:4
(This answer is not as authoritative as I would like, I may delete if someone posts a better answer.)
My answer refers to customs, not to airline regulations about checked/carry-on baggage (which I also very much doubt would be a problem).
The official Canadian web page on "bringing goods to Canada" says
When you move to Canada from another country, you may bring your personal and household goods with you without paying duty. Youβll have to pay duty on any item you bring that hasnβt been used ...
If youβre not sure if you have to pay duty on some items, bring sales receipts and registration documents with you.
(emphasis added). They then go on to list categories of items that you wouldn't have to pay duty on even if they were new (books, linens, clothes, musical instruments, silverware ...).
If your immigration papers/status are otherwise in order, and it's reasonably plausible that the parts are for a used computer that you intend to use for your studies, I would be shocked if border control gave you any trouble at all.
Bringing receipts will (1) support your claim that the computer is used, and (2) in the unlikely event that you're charged duty, establish the value so that you can be charged fairly.
When in doubt, go ahead and declare the items. Very worst case (I would be surprised), customs will charge you duty. Likely worst case, you'll have to wait a few minutes longer while someone gets around to telling you everything is fine and you can go ahead.