# '16-'17 General Discussion for Lesson 3.6

**URL:** <https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182>\
**Category:** Unit and Lesson Discussion\
**Tags:** csp-unit-3, csp-unit-3-lesson-6\
**Created:** [August 19, 2016, 2:54am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182 "2016-08-19T02:54:43Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![brook](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/brook/32/88_2.png) [@brook](https://forum.code.org/u/brook)\
**Post date:** [August 19, 2016, 2:54am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/1 "2016-08-19T02:54:43Z")

</div>

Use this thread to discuss your questions and comments about **_how to run the lesson._**

---

<div class="post-metadata">

**Author:** ![brook](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/brook/32/88_2.png) [@brook](https://forum.code.org/u/brook)\
**Post date:** [September 28, 2016, 2:33pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/2 "2016-09-28T14:33:15Z")

</div>



---

<div class="post-metadata">

**Author:** ![mkowshik](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@mkowshik](https://forum.code.org/u/mkowshik)\
**Post date:** [December 1, 2016, 2:33am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/3 "2016-12-01T02:33:21Z")

</div>

Hi there, I’m looking for an exemplar/ most efficient 3x3 grid. This is what I wrote with blocks. Got it down to 27 lines (including end brackets on their own line. I want to see other solutions! Please share:

* * *

```
1. turnLeft();
2. turnLeft();
3. turnLeft();
4. drawShape1();
5. drawShape1();
6. drawShape1();
7. drawShape1();
8. drawSide();
9. drawSide();
10. drawSide();
11. drawSide();
12. turnLeft();
13. function drawShape1() {
14. drawSide2();
15. drawSide();
16. drawSide2();
17. }
18. function drawSide() {
19. moveForward();
20. moveForward();
21. moveForward();
22. turnLeft();
23. }
24. function drawSide2() {
25. moveForward();
26. turnLeft();
27. }
```

---

<div class="post-metadata">

**Author:** ![karenma](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/karenma/32/4924_2.png) [@karenma](https://forum.code.org/u/karenma)\
**Post date:** [December 3, 2016, 6:43am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/4 "2016-12-03T06:43:37Z")

</div>

Hi.This is an example from one of my students. Also 27 lines.

 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/7/7dd64d5260c855c62d14d494e7fc5ddc94d2e840.PNG)

---

<div class="post-metadata">

**Author:** ![azavislak](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@azavislak](https://forum.code.org/u/azavislak)\
**Post date:** [December 8, 2016, 7:32pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/5 "2016-12-08T19:32:12Z")

</div>

Here’s one of my student’s interesting solution:

 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/2/28799358812b1af9b51eacef78c14bdd246e6f91.jpg)

---

<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:** [December 8, 2016, 7:48pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/6 "2016-12-08T19:48:23Z")

</div>

Wow 18 lines of code!! Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![ben\_kuehl](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@ben\_kuehl](https://forum.code.org/u/ben_kuehl)\
**Post date:** [May 1, 2017, 2:02pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/7 "2017-05-01T14:02:05Z")

</div>

One thing that would be nice to be able to do in [Code.org](http://Code.org) is actually restrict students from moving ahead. I had several that moved ahead quickly to this challenge on [code.org](http://code.org) and then they didn’t get what the purpose of the worksheet was. They were like I already did it why do I have to do this.

---

<div class="post-metadata">

**Author:** ![baker](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/baker/32/1229_2.png) [@baker](https://forum.code.org/u/baker)\
**Post date:** [May 1, 2017, 4:23pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/8 "2017-05-01T16:23:39Z")

</div>

This ability is under development now (along with a bunch of other cool stuff) with target release for mid-june. Get your hopes up!

-Baker  
CSP Team

---

<div class="post-metadata">

**Author:** ![ben\_kuehl](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@ben\_kuehl](https://forum.code.org/u/ben_kuehl)\
**Post date:** [May 1, 2017, 7:40pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/9 "2017-05-01T19:40:45Z")

</div>

Oh hey thanks for the information Baker that is really cool. Its such a tough situation because on one hand I love that I have some students that just want to keep going and learn more. But on the other hand it is kind of frustrating that they are getting so far ahead.

I am finding it tough to balance this class. Most can really fly through this stuff quick that I was thinking maybe I should make some of this self paced at some point.But I am glad to hear a new feature that might solve this problem is coming.

Keep up the great work this is some fantastic curriculum.

---

<div class="post-metadata">

**Author:** ![brook](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/brook/32/88_2.png) [@brook](https://forum.code.org/u/brook)\
**Post date:** [May 1, 2017, 9:03pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/10 "2017-05-01T21:03:12Z")

</div>

acutally, if i understand your request, @ben_kuehl this feature is already available! to make a lesson hidden from students, you first need to select a section, then you can choose to hide or make visible. see the example below, which starts here: [https://studio.code.org/s/csp5](https://studio.code.org/s/csp5)

 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/e/e96f8722a1b50f6ec7fe5dbd49abf66c4740a878.gif)

---

<div class="post-metadata">

**Author:** ![ben\_kuehl](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@ben\_kuehl](https://forum.code.org/u/ben_kuehl)\
**Post date:** [May 2, 2017, 12:26am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/11 "2017-05-02T00:26:15Z")

</div>

Oh my you are so right. That is awesome. I wish I would have remembered that because I do remember seeing that. The kids who went ahead are not going to be happy with me next class, but I have corrected what is visible and what isn’t.

---

<div class="post-metadata">

**Author:** ![rbarranco](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@rbarranco](https://forum.code.org/u/rbarranco)\
**Post date:** [November 13, 2017, 8:13pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/12 "2017-11-13T20:13:41Z")

</div>

This lesson is a good one to do unplugged on the whiteboard to help students understand the need for writing functions.

To do so, I printed out the cross here four times (fit-to-page, so it’s large enough) to assemble a snowflake, and printed a turtle arrow which I attached to a magnet.

 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/2/271068766353acf58d80f73f5396d24ae66460fd.jpg)  
 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/5/586701008935eb5eef9ad780a315534b9760c9a3.png) ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/d/d63bf8b20dc5a983116922bdca50494f74a11c3f.png)

---

<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:** [November 14, 2017, 1:17am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/13 "2017-11-14T01:17:51Z")

</div>

I LOVE this idea!!! I think sometimes students over use the “guess and check” method for programming, this shows them HOW to think before they press “run”. Thanks for sharing!

---

<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:** [December 8, 2017, 3:20pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/16 "2017-12-08T15:20:05Z")

</div>

15 lines and I’m sure there is a more efficient way.

Here’s a decent one. Asking the students to go back and try it again after they know functions and parameters is a fun challenge.  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex016/uploads/codeorgforum/original/2X/8/845b9f9dc8c7d7b9141488880ab5553c802a532c.png)

---

<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:** [December 8, 2017, 4:16pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/17 "2017-12-08T16:16:59Z")

</div>

Here’s 13 lines and I’m thinking once they know arrays, it could possibly be reduced.  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex016/uploads/codeorgforum/original/2X/8/87c6ff7c4aa6adf9c651aface7afce5c5d4c0989.png)

---

<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:** [December 10, 2017, 12:20am UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/18 "2017-12-10T00:20:51Z")

</div>

I’m giving up for now.

I got 12 lines of code for the 3 by 3 Grid Challenge

Once the students know function, parameters and loops, this is a fun challenge.

Enjoy

![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex016/uploads/codeorgforum/original/2X/1/1ab9da9cd1c1934858fd694d761421381a502d09.png)

---

<div class="post-metadata">

**Author:** ![rlaven](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rlaven](https://forum.code.org/u/rlaven)\
**Post date:** [October 18, 2018, 10:04pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/19 "2018-10-18T22:04:55Z")

</div>

Is there a way to block these discussions and solutions from the public so students can’t Google them? Thx

---

<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 18, 2018, 10:54pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/20 "2018-10-18T22:54:17Z")

</div>

Unfortunately no! This is a public forum. That is why we ask teachers to not share tests and keys on the forum.

---

<div class="post-metadata">

**Author:** ![rlaven](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rlaven](https://forum.code.org/u/rlaven)\
**Post date:** [October 18, 2018, 11:07pm UTC](https://forum.code.org/t/16-17-general-discussion-for-lesson-3-6/5182/21 "2018-10-18T23:07:29Z")

</div>

That’s what I figured. Thx for the response.
