Courses‎ > ‎Intro to CS - Half Year‎ > ‎

Platek

32. Due 6/10   - Correct your exams.
                      - Implement part III and IV as NetLogo Programs.
                      - Review the code for the Termite model.

31 . Due 6/7  -  View these videos
                        1. https://www.youtube.com/watch?v=HNwpbNm7gKU
                        2. https://www.youtube.com/watch?v=620omdSZzBs
                        3. https://www.youtube.com/watch?v=pxLfzWDs3HA
                    - Download and review the code for Homework-NetLogo/termites-v1.nlogo
                    -  Describe what happens in the termite model when sliders are set
                       as follows:
                             woodchip-density  : 7%
                             population  : 387
                             turn-radius : 14 degrees

30 . Due 5.30 - Exam #5 - Fri. 5.31 (exam topics limited to NetLogo patch and observer commands)
                     - Review - NetLogo-Labs/ Wooly Willy
                    - Finish the WoolyWillyLab.

29. Due 5.29 - Exam # 5 : 5/31
                     -  Review both versions of the fade procedure:
                       patches-own [ c1 c2  t1 t2 c3]

    to setup
          ca
          ask patches [ set pcolor (rgb 0 0 0) ]
          resize-world -200 200 -200 200
          set-patch-size 1
          import-pcolors-rgb "monkey.jpeg"
          ask patches [ set c1 pcolor ]
          import-pcolors-rgb "darwin.jpeg"
          ask patches [ set c2 pcolor ]
          ask patches [ set pcolor (rgb 0 0 0) ]
end


to fade-v1
  ask patches
  [
    let r  ( alpha * (item 0 c1) + (1 - alpha) * (item 0 c2))
    let g  ( alpha * (item 1 c1) + (1 - alpha) * (item 1 c2))
    let b ( alpha * (item 2 c1) + (1 - alpha) * (item 2 c2))
    set pcolor (rgb r g b)
    ]
end

to fade-v2
  ask patches
  [
     set pcolor (map + (map [i -> i * alpha] c1)
                                (map [i -> i * (1 - alpha)] c2))
   ]
end


                   
28. Due 5/24  - Exam #5 : 5/31
                     - In the ImageProcessing program add the procedure flip
                       that flips the images with respect to the y-axis
27, Due 5/23   - Exam #5 : 5/31
                       - In NetLogo Labs review: selfCa.nlogo and Image.nlogo
26, Due 5/21    - Exam #5 : 5/31
                      - Change of plans!!!
                       Only complete the GameOfLifeLab.
                        When you draw a glider, have the Observer ask the patch located underneath the mouse cursor
                        to ask the other patches to become alive. HINT:: use at-points.

25. Due 5./13  - Submit your Mondrian program  before Tues..
                      - In the Homework-Netlogo/Dice.nlogo program add the following features:
                                - assign a color to each patch based upon the observed value of its latest roll.
                                  For example, if a patch rolled a 1 it is red, a 2 it is yellow, etc..
                     
24. Due 5/07 - Complete task #3 and #4 in checker-board.nlogo.
                        - task#3 - draw a checker-board
                        - task #4 - draw-divisors
                                       - set patch size to 1
                                       - set the range of the world's x and y axis to 0 through 400.
                                       - Color the patches if either coordinate is a divisor of the other. Avoid division by zero.
23. Due 5/03  - Exam 5/6
                     - Complete #9 from list-functions-part-III
                     - In Homework-NetLogo, download the newest version of quads.nlogo,
                     - In the NetLogo Dictionary, look up the commands: distancexy, max-pxcor, max-pycor, min-pycor, min-pxcor.
                     - Modify the quads.nlogo program that adds 2 sliders : x-cor and y-cor. The domain of each should match the dimensions of the world.
                       Then add to the demo procedure, the instructions for each patch to color itself the value of the distance from the 2 new slider values.
                
22. Due 5/02  - Exam 5/6
                     - Complete #8 from list-functions-part-III
                     - In Homework-NetLogo review Quads.nlogo 
21. Due 5/01 - Exam 5/6
                    - Complete #7 from list-functions-part-III
20. Due 4/30  - Exam moved to  5/6
                     - Complete #6 from list-functions-part-III
                     - Download and install NetLogo: https://ccl.northwestern.edu/netlogo/download.shtml
19. Due 4/29 - Complete hw-19
                      Exam 5/3
18.Due 4/18 - Complete #1 and #2 in list-functions-part-III
17.Due 4/17 - Complete #2 and #3 in list-functions-part-II

16. Due 4/16   - Finish list-functions.part-I

15. Due 4/15 - Correct Exams
                    - Finish #3,4,5 from list-functions-part-I
14. Due 4/11 - Complete hw-18.
13. Due 4/10 - Finish Lab-9
12. Due 4/09  - Complete hw-17.

11. Due 4/04 - Exam #3 : 4/05
                    - Complete hw-16.
10. Due 4/02 - Exam #3 : 4/05
                    - Complete Part II of Lab-7.
9. Due 3/22  -  Continue working on hw-11,txt
                   -  Read section 1.2 Procedures and the Processes they Generate
8. Due 3/21 -  - Pardon my absence, I am sick. However, I plan on returning tomorrow.
                     - Review hw-10-ans.txt
                     - Try hw-11.txt
7. Due 3/13  - Exam : 3/15
                     Finish Lab-5  questions #1 - #5 only
                   
6. Due : 3/12 - Test Friday (3/15)
                    - Complete hw-09
             
5. Due: 3/11 - Lab4 (day-of-data.ss is posted in the Labs folder).
4. Due 3/4 - Lab-2
3. Today 2/27 - complete Lab-1 found in the Lab-Scheme Folder listed below.
2. Due 2/26 hw-08
1. Due 2/04  hw-02. (Homework-Scheme).