Not necessarily. You will have to test them in a otherwise working machine to know for sure. One of the computers on my LAN took a lightning hit which fried the power supply and motherboard, but the cpu, ram, and hard disk were fine, and now working in another machine.
If you fry your motherboard does that necessarily mean that your cpu and ram stick is damaged (or fried as well)?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic