# Here's a practice assignment for creating algorithms in App Lab

**URL:** <https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463>\
**Category:** AP Prep\
**Created:** [April 9, 2018, 6:36am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463 "2018-04-09T06:36:09Z")\
**Posts on this page:** 16\
**Page:** 1

<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:** [April 9, 2018, 6:36am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/1 "2018-04-09T06:36:09Z")

</div>

I started the Create Task recently and I have a feeling my students are very unaccustomed to creating algorithms in the absence of guidance. I feel they’ve become too dependent on being walked through everything step-by-step, and I’m sure a lot of their lack of practice is due to my not holding them accountable while they just click through the assignments when the going gets tough.

Anyhow, I thought I’d try some last-minute less-guidance (or no-guidance) practice.

I created an assignment on App Lab with 3 simple tasks. They’re simple, but I have a feeling a lot of my students will get stuck, simply because of things like they are not told to create a variable when one is needed.

Okay, the assignment is basically nearly identical to the first few [code.org](http://code.org) App Lab lessons about variables. 😁

Here are my directions to students:

1. Access the assignment in App Lab via the link: [https://studio.code.org/projects/applab/VtuLy7uOf-\_IUmgmZqjdGQ](https://studio.code.org/projects/applab/VtuLy7uOf-_IUmgmZqjdGQ)
2. Click the “View Code” button
3. Click the “Remix” button
4. Do the 3 tasks given in the code section
5. To submit, click “Share”, then copy the link and submit it to me via (whatever your preferred method as a teacher).

I stole the idea of giving assignments/assessments as an app remix from someone - sorry, I forgot who.

If anyone else uses this, I’d love feedback on how it can be improved.

(Update: See a couple posts down for a few more problems I posted)

---

<div class="post-metadata">

**Author:** ![kaitie\_o\_bryan](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/kaitie_o_bryan/32/2278_2.png) [@kaitie\_o\_bryan](https://forum.code.org/u/kaitie_o_bryan)\
**Post date:** [April 9, 2018, 11:54pm UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/2 "2018-04-09T23:54:16Z")

</div>

I love this!

I, too noticed a bit of floundering when I had students finish up the ColorSleuth App at the end with less guidance, it was rocky. I am thankful I had some extra time to work in a few more group/independent projects that were much more free. I think that helped me see where students had misconceptions (where to put functions/event handlers was a big one!!!).

I love the scaffolding, and some students REALLY need it, but it is difficult to take that away a bit from students! My tasks were much larger for students, but I like these smaller mini-tasks for students - I’ll certainly use this next year!

Thanks for sharing this!

---

<div class="post-metadata">

**Author:** ![jkeays](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jkeays/32/5313_2.png) [@jkeays](https://forum.code.org/u/jkeays)\
**Post date:** [April 13, 2018, 3:02am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/3 "2018-04-13T03:02:03Z")

</div>

I agree with you and @kaitie_o_bryan. I tried out your remix assignment and I thought it was great. You have inspired me to create other problem sets like this throughout Units 3 and 5 for additional “cord cutting.”

Well done!

---

<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:** [April 13, 2018, 4:58am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/4 "2018-04-13T04:58:14Z")

</div>

Here’s a short one (swap the values of two variables - not as intuitive as one thinks it is):

> **[Check out what I made](https://studio.code.org/projects/applab/yP_PooDWurl29aq1XmpCNA)**
>
> I wrote the code myself with Code.org

Another, this time stolen from CS Discoveries Unit 6 😁

> **[Check out what I made](https://studio.code.org/projects/applab/KPDy8ZVMJLOyUvRIkoMa4g)**
>
> I wrote the code myself with Code.org

Here’s a heftier 3-part one, a simple game…

> **[Check out what I made](https://studio.code.org/projects/applab/6fMNyz9Fw6-SKZEOn5hdfw)**
>
> I wrote the code myself with Code.org

This one is actually not that tough logically, but the real task is I ask students to organize their solution to include a parent algorithm with at least two children algorithms, of at least one must have a mathematical and logical concept (totally doable).

> **[Check out what I made](https://studio.code.org/projects/applab/PoY9J90LQnx18JUHuQQYow)**
>
> I wrote the code myself with Code.org

Not sure if any of your students will be scouring the internet for solutions, so if you’d like, send me a PM (personal message) through this forum and I’ll send you solutions.

---

<div class="post-metadata">

**Author:** ![jennifer.woughter](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jennifer.woughter/32/1346_2.png) [@jennifer.woughter](https://forum.code.org/u/jennifer.woughter)\
**Post date:** [April 13, 2018, 12:10pm UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/5 "2018-04-13T12:10:41Z")

</div>

This is a fantastic idea! Thanks so much for sharing. I too will plan to implement this next year!

---

<div class="post-metadata">

**Author:** ![glenn.crane](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@glenn.crane](https://forum.code.org/u/glenn.crane)\
**Post date:** [April 20, 2018, 2:16am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/6 "2018-04-20T02:16:51Z")

</div>

I think it would be great if theses kinds of ‘stretch challenges’ could be added to the curriculum. More open ended and less hand holding.

---

<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:** [April 20, 2018, 6:36am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/7 "2018-04-20T06:36:24Z")

</div>

I think there’s actually several bubbles in the programming lessons that I would consider great challenges for my students and also don’t “give away” the code or give too many hints (often some of the later bubbles in each lesson). I just might not have used them in the same way as these practice problems I made since the [code.org](http://code.org) ones aren’t standalone (instead are one in a series of linked bubbles) so I tend not to pick them out as much.

I think giving my students these separate problems helps them and me break from the lazy/complacent habits/routines we’ve developed when I just let them loose on the bubbles. I don’t closely monitor when many students encounter the bubbles that are good “stretch challenges”, and instead they get away with just clicking “continue” when obviously not solving the problem, or they incorrectly but genuinely think they solved the problem and click “continue”.

In other words, I think there are several “stretch challenge” opportunities built into the curriculum, but I would need to change my current approach and build in clearer expectations and more accountability in order to get more value out of them.

---

<div class="post-metadata">

**Author:** ![nread](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@nread](https://forum.code.org/u/nread)\
**Post date:** [April 27, 2018, 5:33pm UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/8 "2018-04-27T17:33:07Z")

</div>

Thank you so much for this. I think I will incorporate it into my Discoveries final exam!

---

<div class="post-metadata">

**Author:** ![jess.grocott](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jess.grocott](https://forum.code.org/u/jess.grocott)\
**Post date:** [March 25, 2021, 3:06am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/10 "2021-03-25T03:06:21Z")

</div>

Hi Frank,  
Do you have a teacher’s answer section? I’m struggling myself to complete the tasks.  
TIA

---

<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:** [March 25, 2021, 4:15am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/12 "2021-03-25T04:15:04Z")

</div>

Hi @jess.grocott !

Just sent you a PM

---

<div class="post-metadata">

**Author:** ![sorge](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@sorge](https://forum.code.org/u/sorge)\
**Post date:** [June 2, 2022, 1:24pm UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/13 "2022-06-02T13:24:34Z")

</div>

Hi Frank,

Can you send along solutions? Thank you.

---

<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:** [June 2, 2022, 3:10pm UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/14 "2022-06-02T15:10:21Z")

</div>

Hi @sorge ,

Just sent you a PM

---

<div class="post-metadata">

**Author:** ![jviolette](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jviolette/32/7499_2.png) [@jviolette](https://forum.code.org/u/jviolette)\
**Post date:** [December 9, 2022, 12:59am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/15 "2022-12-09T00:59:04Z")

</div>

I would love to take a peek at your solutions as well if you are still willing to share 🙂  
Thank you for sharing these activities.

---

<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:** [December 9, 2022, 2:46am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/16 "2022-12-09T02:46:29Z")

</div>

Hi @jviolette,  
Solutions sent via PM.

---

<div class="post-metadata">

**Author:** ![pbrister](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@pbrister](https://forum.code.org/u/pbrister)\
**Post date:** [August 25, 2023, 6:37am UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/18 "2023-08-25T06:37:07Z")

</div>

this is my first year teaching AP CSP and i  
I would love to take a look at your solutions as well if you are still willing to share  
Thank you for sharing these activities.

---

<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:** [August 25, 2023, 3:54pm UTC](https://forum.code.org/t/heres-a-practice-assignment-for-creating-algorithms-in-app-lab/15463/19 "2023-08-25T15:54:56Z")

</div>

Hi @pbrister ,  
Solutions sent via PM.
