No, you don't need to define what is a C* algebra, but you should show that you have put some effort into the problem (what you have tried, where you are stuck, ...), and/or provide some context (where did the problem come from, why do you think it's true). If that wasn't provided in the first example, it doesn't mean that it shouldn't have been. —
Robert Israel 2 hours ago