# Abstraction and Algorithm From the same

**URL:** <https://forum.code.org/t/abstraction-and-algorithm-from-the-same/26289>\
**Category:** AP Prep\
**Created:** [April 11, 2019, 6:50pm UTC](https://forum.code.org/t/abstraction-and-algorithm-from-the-same/26289 "2019-04-11T18:50:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron.galit](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/aaron.galit/32/2392_2.png) [@aaron.galit](https://forum.code.org/u/aaron.galit)\
**Post date:** [April 11, 2019, 6:50pm UTC](https://forum.code.org/t/abstraction-and-algorithm-from-the-same/26289/1 "2019-04-11T18:50:34Z")

</div>

Good day, all. Can a student’s abstraction for the PT be a function from the algorithm they submit? Thanks for any guidance you can provide.

---

<div class="post-metadata">

**Author:** ![jhall9](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jhall9](https://forum.code.org/u/jhall9)\
**Post date:** [April 11, 2019, 7:57pm UTC](https://forum.code.org/t/abstraction-and-algorithm-from-the-same/26289/2 "2019-04-11T19:57:32Z")

</div>

I tell my students they can be the same but you talk about the code differently.

---

<div class="post-metadata">

**Author:** ![aaron.galit](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/aaron.galit/32/2392_2.png) [@aaron.galit](https://forum.code.org/u/aaron.galit)\
**Post date:** [April 11, 2019, 8:03pm UTC](https://forum.code.org/t/abstraction-and-algorithm-from-the-same/26289/3 "2019-04-11T20:03:26Z")

</div>

Thank you so much for your input. That helps a lot.

---

<div class="post-metadata">

**Author:** ![kimberly\_l\_gustin](https://avatars.discourse-cdn.com/v4/letter/k/d6d6ee/32.png) [@kimberly\_l\_gustin](https://forum.code.org/u/kimberly_l_gustin)\
**Post date:** [April 26, 2019, 1:17pm UTC](https://forum.code.org/t/abstraction-and-algorithm-from-the-same/26289/4 "2019-04-26T13:17:50Z")

</div>

Mine keep asking me the same question! I found the samples A and B on the college board site which scored an 8/8 to be the most help visually for them. Thank goodness I found them today! I will keep looking though. As far as I could tell, there was no rule against it.
