# List in Create task requirement and code.org data

**URL:** <https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633>\
**Category:** AP Prep\
**Created:** [October 29, 2020, 8:47pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633 "2020-10-29T20:47:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalamillo](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@lalamillo](https://forum.code.org/u/lalamillo)\
**Post date:** [October 29, 2020, 8:47pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/1 "2020-10-29T20:47:05Z")

</div>

Can students use the [code.org](http://code.org) created data lists for their create task? Or does the create task require them to create their own list? I am wondering since the students must submit code **The first program code segment must show how data have been stored in the list.**  
Could they submit the code with the var and the getcolumns from the [code.org](http://code.org) data? Is that acceptable? Or do they need to show how they create another list?

---

<div class="post-metadata">

**Author:** ![bhatnagars](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bhatnagars/32/4919_2.png) [@bhatnagars](https://forum.code.org/u/bhatnagars)\
**Post date:** [October 29, 2020, 9:45pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/2 "2020-10-29T21:45:27Z")

</div>

I don’t think it matters how the list is being populated.

---

<div class="post-metadata">

**Author:** ![rossiai](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rossiai/32/7776_2.png) [@rossiai](https://forum.code.org/u/rossiai)\
**Post date:** [January 23, 2021, 8:36pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/3 "2021-01-23T20:36:20Z")

</div>

Good Morning:

I am going to star introducing the Create PT Task this Monday. I just want to make sure that students are able to use the tables provided in [Code.org](http://Code.org) (Data tab) to create their lists… or Do the students need to create their own tables so they can extract different lists and traverse them if needed?

---

<div class="post-metadata">

**Author:** ![frank\_w\_lee](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/frank_w_lee/32/4895_2.png) [@frank\_w\_lee](https://forum.code.org/u/frank_w_lee)\
**Post date:** [January 24, 2021, 11:18pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/4 "2021-01-24T23:18:25Z")

</div>

Hi @lalamillo and @rossiai ,

I’m not sure what the question is exactly around existing tables/lists, but here seems to be the relevant requirement…

From the [Course and Exam Description](https://apcentral.collegeboard.org/pdf/ap-computer-science-principles-course-and-exam-description.pdf?course=ap-computer-science-principles)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/0/0775d8ed676577ae8a357d5b44b92a691ca0a46d.png)

and the [scoring guidelines](https://apcentral.collegeboard.org/pdf/ap-computer-science-principles-2021-create-performance-task-scoring-guidelines.pdf)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/8/83ed6b3a5fb0e5f2e1025234611263ff04ff45b3.png)

They ask that the student refer to code that “shows how data has been stored”.

It sounds like you’re asking about using existing data in a table to populate the list - the “collection” requirement being fulfilled by the list. That sounds fine - as long as your “collection” didn’t magically come pre-populated (otherwise the student would not have code that shows how the data is stored).

That’s my interpretation but you may be safer asking College Board via their community forum.

---

<div class="post-metadata">

**Author:** ![rossiai](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rossiai/32/7776_2.png) [@rossiai](https://forum.code.org/u/rossiai)\
**Post date:** [January 25, 2021, 5:46pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/5 "2021-01-25T17:46:24Z")

</div>

Hi, Frank. Throughout the different lessons, kids have created lists using tables from the data tab. I want to know if this if accepted for the Create Task.

Think of the Forecaster App… Students create lists using the weather table. Is this okay for the Create Task?

 ![Screen Shot 2021-01-25 at 9.44.04 AM](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/b/be54a773e584cadb20f96f39ed81bff1fb6809e4.png)

---

<div class="post-metadata">

**Author:** ![rossiai](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rossiai/32/7776_2.png) [@rossiai](https://forum.code.org/u/rossiai)\
**Post date:** [January 25, 2021, 6:25pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/6 "2021-01-25T18:25:56Z")

</div>

Hi, Frank. Throughout the different lessons, kids have created lists using tables from the data tab. I want to know if this if accepted for the Create Task.  
Think of the Forecaster App… Students create lists using the weather table. Is this okay for the Create Task?

 ![Screen Shot 2021-01-25 at 9.44.04 AM.png](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/b/be54a773e584cadb20f96f39ed81bff1fb6809e4.png)

---

<div class="post-metadata">

**Author:** ![gjschmidt](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/gjschmidt/32/4922_2.png) [@gjschmidt](https://forum.code.org/u/gjschmidt)\
**Post date:** [January 25, 2021, 10:35pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/7 "2021-01-25T22:35:34Z")

</div>

I don’t know if anyone here can answer for the College Board but my take (and sincere hope) is the same as Frank’s. I think that using getColumn should be an acceptable way to initialize a list. This has been asked a couple of times on the [College Board CSP Forum](https://apcommunity.collegeboard.org/web/apcsp) but I have yet to see a definitive answer. If I ever see one I will post it here.

---

<div class="post-metadata">

**Author:** ![rossiai](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rossiai/32/7776_2.png) [@rossiai](https://forum.code.org/u/rossiai)\
**Post date:** [January 26, 2021, 6:43pm UTC](https://forum.code.org/t/list-in-create-task-requirement-and-code-org-data/33633/8 "2021-01-26T18:43:24Z")

</div>

Thank so much for your answer. 💜💜

I also posted the question at the College Board Community. If I get an answer I will also share.

PS: The [Code.org](http://Code.org) sample with a 6/6 score uses a table to initialize a list…

 ![Screen Shot 2021-01-26 at 10.43.06 AM](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/b/b4b94c7be0b2d7fbead652b0a640ceb442c30dd8.jpeg)
