• Username: clarson 
  • Section: od5mhx 
  • Course: ICT generic yearlong 2022-23
  • Period: 2

Exercise Instructions

  1. Start with the following code: CodeWorld page (code)
  2. Then, instead of just a dot, show a cloud at each Point. Look at the examples above to see how to show clouds.
  3. Then, modify the code again to show an apple at each Point. Use the function exampleApple for that.
  4. Then, modify the code again to show a coin at each Point.
  5. Try to work smarter, not harder!

Exercise Grades

Total pending grades: 3

The point of this exercise is that student learn how to work smarter.
Encourage students to think before they start replacing dot with tree everywhere, as that is harder, not smarter.
The smarter way to do this is as follows:

  1. Add import Extras.Examples
  2. Remove dot from everywhere using the replace keyboard shortcut (Shift-Ctrl-F), replace: "dot", with: [just press Enter]
  3. Move the list of points to a variable: points = [(0,10),...]
  4. Rewrite the program line as program = drawingOf(combined(distributed(exampleCloud,points)))
  5. Replace exampleCloud with exampleWhatever.

Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest.
Then, have them explain to the class how they did it.
If no student does it the smarter way, you will need to jump in and demonstrate it yourself.
It is important that students understand that the purpose of working smarter is to accomplish a task doing less work.

Questions

Question 1 of 3

Pending grades: 2

Title: Link to your program showing clouds along the outline of a tree.

Answer Score Comment
Submitted link
Student Graded Submitted
Arya Stark [s8wp5ws] 2022-11-08 07:00:36 [ (autopush) ] 2022-10-17 08:50:53
Submitted link
Student Graded Submitted
Arya Stark [s8wp5ws] 2022-11-08 07:00:36 [ (autopush) ] 2022-10-17 08:50:53
Submitted link 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Submitted link 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Submitted link 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Total 0.6 2 empty comments

Question 2 of 3

Pending grades: 0

Title: Link to your program showing apples along the outline of a tree.

Answer Score Comment
Submitted link 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Submitted link 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Submitted link 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42

Question 3 of 3

Pending grades: 1

Title: Link to your program showing coins along the outline of a tree.

Answer Score Comment
Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest.
Student Graded Submitted
Arya Stark [s8wp5ws] 2022-11-08 07:00:36 [ (autopush) ] 2022-10-17 08:50:53
Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42
Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. Monitor students as they work on this and identify some students who do it the way described above. They will probably finish earlier than the rest. 1 Good Job!
Student Graded Submitted
Justin Jones [susq23vs] 2022-11-08 07:00:36 [ (autopush) ] 2022-11-02 07:50:42