Create Create Performance Task: Same code sample for algorithm and abstraction?

Can a student use the same code sample for both their example of algorithm and abstraction for the written response? I would think that as long as the code reflects both, satisfies the requirements of the scoring guide, and that the student clearly articulates which parts of the code relate to algorithm and abstraction, respectively, then they should be ok. Is this a safe assumption? Thoughts? Thanks.

Yes. That should be okay.