# Da Twinky Code AscII code object lesson

**URL:** <https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254>\
**Category:** Unit and Lesson Discussion\
**Tags:** csp-unit-1\
**Created:** [August 29, 2018, 2:25pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254 "2018-08-29T14:25:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dheffelf](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dheffelf](https://forum.code.org/u/dheffelf)\
**Post date:** [August 29, 2018, 2:25pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/1 "2018-08-29T14:25:40Z")

</div>

Made this object lesson it worked great!

 ![DaTwinky](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/9/960fb7d8aa7729214bacfba5efa1d291d95d9640.jpeg)

Stickboy is working undercover to find the location of the evil Dr. Hackencode. His last known location was “anywhere” in China. But your fellow operatives working at “Wu’s China Home” restaurant have finally uncovered the city he is working out of. The can’t tell you directly without blowing your cover so you take your underworld “friends” to “Wu’s”. You have no idea how they are going to relay the name of the city, but instead of fortune cookies you receive the above desert. The waiter ask you to please be sure these are eaten. What city is Dr. Hakencode working out of?

---

<div class="post-metadata">

**Author:** ![biermanl](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/biermanl/32/2408_2.png) [@biermanl](https://forum.code.org/u/biermanl)\
**Post date:** [August 30, 2018, 10:05am UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/2 "2018-08-30T10:05:22Z")

</div>

Love this! About how long did it take your students to figure it out?

---

<div class="post-metadata">

**Author:** ![dheffelf](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dheffelf](https://forum.code.org/u/dheffelf)\
**Post date:** [August 31, 2018, 11:32am UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/3 "2018-08-31T11:32:13Z")

</div>

Well I’ve got some pretty clever students. The first two in 10 minutes. Then about 10 minutes later the rest of the class got it. I gave a clue at the 10 minute mark that I was using abstractions, protocols and standards that they already knew.

---

<div class="post-metadata">

**Author:** ![jreilly2016](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jreilly2016](https://forum.code.org/u/jreilly2016)\
**Post date:** [September 13, 2018, 2:42pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/4 "2018-09-13T14:42:27Z")

</div>

Thanks for sharing. I needed a clever lesson to fill a day where all my seniors were out on retreat. I made a derivative of yours and used it to review a bunch of the concepts and the students loved it. Similar to you my clever ones got it in about 10 mins or so. The majority were about 20-25 mins and then as we all have a few took most the class and some hints to get there. But all got to see how they put their number systems, protocols, and standards together. Thanks again.

---

<div class="post-metadata">

**Author:** ![mkupferschmid](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mkupferschmid](https://forum.code.org/u/mkupferschmid)\
**Post date:** [September 18, 2018, 3:34pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/5 "2018-09-18T15:34:30Z")

</div>

I feel pretty silly right now, but I am not sure what the answer should be for this activity. My students are struggling and I don’t know how to help them. I was hoping they could walk me through it! lol

---

<div class="post-metadata">

**Author:** ![dheffelf](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dheffelf](https://forum.code.org/u/dheffelf)\
**Post date:** [September 20, 2018, 11:25am UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/6 "2018-09-20T11:25:03Z")

</div>

The top is binary to decimal. That orders your packets. The bottom is binary to ASCII. That the letters in the name.

---

<div class="post-metadata">

**Author:** ![rbowman](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@rbowman](https://forum.code.org/u/rbowman)\
**Post date:** [November 13, 2018, 8:22pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/7 "2018-11-13T20:22:12Z")

</div>

I am still trying to decipher your binary twinkie. He brown chocolate chips are bits that are turned on correct or is it vice versa? So should I be reading the top line of every bit as an decimal and the bottom line of every twinkie as ASCII (letters)?

---

<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:** [November 19, 2018, 11:11pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/11 "2018-11-19T23:11:37Z")

</div>

@rbowman - I sent you a message with the solution. Let me know if you have more questions.

---

<div class="post-metadata">

**Author:** ![rbowman](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@rbowman](https://forum.code.org/u/rbowman)\
**Post date:** [November 19, 2018, 11:35pm UTC](https://forum.code.org/t/da-twinky-code-ascii-code-object-lesson/19254/12 "2018-11-19T23:35:13Z")

</div>

I am able to follow it. It such a clever way to teach the binary.  
Thank you for posting that and getting back to me.

Resheeda
