Introducton To Programming - Parkland    

Last Modified:
Monday, 20-Nov-2017 12:13:48 CST

CIS122: Outline Fall 17




Week 1 - Aug. 21
Week 2 - Aug. 28
Week 3 - Sept. 5
Sept. 4 -Labor Day
Week 4 - Sept. 11
Week 5 - Sept. 18
Week 6 - Sept. 25
Week 7 - Oct. 2 Week 8 - Oct. 9
Week 9 - Oct. 16
Week 10 - Oct. 23
Week 11 - Oct. 30 Week 12 - Nov. 6
Week 13 - Nov. 13
Week 14 - Nov. 20
Thanksgiving Break
Begins Wed. 5pm

Week 15 - Nov. 27 Week 16 - Dec. 4

Week 1: Aug. 21


Links, Reading, Class Overview:

Introduction to Class, Grading Policies, Basic Programming and Encoding Chapter 2 Notes:

Software You Will Need on Your Personal Machine
Videos:

Labs and Assignments:

Week 2: Aug. 28


Links, Reading, Class Overview:



Chapter Two Notes:
Video:

Labs:

Week 3: Sept. 5
Sept. 4 -Labor Day


Links, Reading, Class Overview:

Quiz 1 - Ch 2 Day 2 Quiz on Chapter 2 - multiple guess.
Video:

Labs:

Week 4: Sept. 11


Links, Reading, Class Overview:

Early In Week
  • Continue On in Chapter 3 pp. 49-55
Second Part of Week
  • Quiz on material covered so far second day of NEXT week. Beginning of class Chapter 2 and 3 material. You will be writing a program and uploading it to your account on shaula.csit.parkland.edu
  • Continue On in Chapter 3 pp. 54-59
  • Read and do the programs in Chapter 3 pp. 58 to the end.
  • We will be starting Ch. 4 Next week.

Video:

Labs:

Week 5: Sept. 18


Links, Reading, Class Overview:

  • See Append A.4 p. 484-5 OPERATORS AND REPRESENTATION FUNCTIONS
  • Section 3.3: Taking strings apart by words "Structured text lists"
  • This Week day 2 there will be a quiz on Chapter 3 you will be writing a small program.
  • Begin Ch 4

Video:

Labs:

Week 6: Sept. 25


Links, Reading, Class Overview:


Show Quiz Correction:
Chapter 4:
  • Ch 4 pp.74-81: How images are encoded and the color scheme common in viewing and manipulating .jpg files.
  • Ch 4 pp.81-89: Methods used to query and manipulate images
    • makePicture(file) Format/create an image object out of a file name
    • image_object=makePicture(pickAFile()) pick and create an image object/variable in one operation
    • getWidth(image_object) and getHeight(image_object) p.81 AFTER makePicture(file_path)
    • getPixel(image_object,x,y) p. 81 get one pixel
    • getPixels(image_object) Create an array of an image
    • print getX(pixel)
    • print getY(pixel)
    • getRed(pixel) setRed(pixel,0-255) p. 82
    • getColor setColor makeColor
    • repaint(image_object)
    • pickAColor() pallet to pick a color
    • writePictureTo(image_object,"F:/file.jpg") could use the r in front of the "F
Continue on Ch 4

Video:

Labs:

Week 7: Oct. 2


Links, Reading, Class Overview:

  • Finish Ch 4
  • Quiz next week Ch 4

Files:

Video:

Labs:

Week 8: Oct. 9


Links, Reading, Class Overview:

  • Quiz 3 Chapter 4 is the SECOND day of this week.
  • Begin Ch 5. pp. 114-117
  • Operators and Representation Functions A.4 p. 484
  • There will be a quiz on Ch 4 day 2 of this week
  • Exam 1: Will be in Week 10 . Ch 4,5
    You will be writing and submitting a program in a timed test.
  • Ch 5
  • Appendix A.4 - Operators and Representation Functions.
  • Color Distance calculation p. 115
  • getX() getY() distance()
  • The quiz covers Ch 4. Be sure that you study: Multiple arguments passed by the user, and writing a file to disk, as well as all the other techniques for modifying image colors in Chapter 4

Week 10: Midterm Exam Ch 4-5

Video:

Labs:

Week 9: Oct. 16


Links, Reading, Class Overview:

Beginning of Week
  • Week 10 Day 2 - Midterm Exam Ch 4-5
  • Review prog46-7 in Ch4
  • Begin to refine your programs and post images to web
  • Chapter 5 continued

Video:

Labs:
  • Lab 12: In Class Place 5 of your best images in the directory linked to in this web page. I will get you started in class on the second class meeting of the week.
    MW Class Lab 12
    TR Class Lab 12

Week 10: Oct. 23


Links, Reading, Class Overview:


Video:

Labs:
  • Lab 13 Assigned - Practice programs for Ch 6: Modify by Pixel.

  • Week 11: Oct. 30


    Links, Reading, Class Overview:


    Video:

    Labs:

    Week 12: Nov. 6


    Links, Reading, Class Overview:

    • 6.3 Copying and transforming images into blank canvas:
      Page 158-165
    • Programs 70-73
    • see p. 483 looping set number of times
    • makeEmptyPicture() accepts between 0 and 3 arguments
    • Chapter 8.6 p. 250 - The scope of a variable
    • Using Double Nested for loops and range() to stretch or shrink an image (Thursday class. Will show to Monday class next week)

    Video:

    Labs:
  • Project 3 Create a complex collage

  • Week 13: Nov. 13


    Links, Reading, Class Overview:

    Continue on Chapter 6
    • Handling multiple files using setMediaPath() p. 141, 156, 275
    • Writing multiple files into a single canvas
    • 9 images of the same size


    Chapter 11 - Manipulating text, String methods and structured lists.
    • Chapter 11
      Second part of week: String Methods pp. 311-317 reading and writing to files pp. 317-321
    • Programming Summary p. 333

    NOTE ERROR in book:
    There is an error in the book in the while loop in Program 138. p.323 The correct way to go through a file is:
    while fileobject <> "":
    Note the double set of double tics is needed which indicate:
    "while "blankline" The "" with nothing between them indicate the null string.

    String Methods: p. 313-314
    • .startswith(string) Note the Methods do not have the same capitalization as the functions.
    • .endswith(string)
    • .find(string) Reports an index number
    • Other string methods: .title() .upper() .lower() .swapcase() .isalpha() .isdigit()
    • .replace(search_string,replace_string)

    List Methods: p. 315 These are methods that are only for a list not just a string by itself.
    • .append(string_to_append_to_a_list)
    • .remove(string_item_in_list)
    • .sort()
    • .reverse()
    • .count()
    • .max() .min()


    requestString("Please enter the word etc.") See the index on p. 496 for requestString() and also raw_input() which are 2 ways to interactively getting user input in string form.

    Note:
    We do not cover 11.3.3-5 processing information from the web
    Day 2 is and open lab day.
    I will not be taking roll on Day 2.

    Video:

    Labs:

    Week 14: Nov. 20
    Thanksgiving Break
    Begins Wed. 5pm


    Links, Reading, Class Overview:


    First part of week: Chapter 11: String Methods continued and open lab for day 2

    Video:

    Labs:

    Week 15: Nov. 27


    Links, Reading, Class Overview:

    Day 1 - Chapter 17: Object Oriented Programming
    • Ch 17 pp. 447-454
    • Using Robotic Turtles to explore Object Oriented Programming
    • Back Inside cover of book. Methods for Communicating with Turtles.
    Day 1 - Chapter 17: Object Oriented Programming
    • Create Project X in Class
    • Sean Not here on Wednesday. Wednesday Ken Urban will be here and give some lecture and open lab working on Proj3.
    • Ch 17 pp. 459-464
    • Practice Programs Ch 17 Through Program 206
    • See p. 82 for writePictureTo
    • Using Robotic Turtles to drop objects
    • Using robotic turtles to draw randomly
    Day 2 - Chapter 17: SubClasses in Object Oriented Programming
    • Ch 17 pp. 454-459
    • Creating Subclasses (objects with special functionality)
    Day 2 - Chapter 17: Object Oriented Programming.
    • Work on Proj3 and other labs.

    Video:

    Labs:

    Week 16: Dec. 4


    Links, Reading, Class Overview:

    Day 1 - Chapter 17: Object Oriented Programming
    • Ch 17 pp. 459-464
    • Practice Programs Ch 17 Through Program 206
    • See p. 82 for writePictureTo
    • Using Robotic Turtles to drop objects
    Day 2 - Prepare for Final / OPEN Lab
    Review Concepts for Final Exam Spring 17
    Be prepared to:
    • Handle one or more command line arguments to your main function that are file paths/names..
    • Know how to make an empty picture based upon the size of an image. For instance make a picture that is 3 times the size of a known image in both X and Y dimensions so that you could write 9 images into the resulting image
    • Know how to make a turtle do a random drawing and draw patterns of your own choice.
    • Know how to write an image into a picture to the exact place that you want.
    • Know how to write an image into a picture transparently (blending).
    • Know how to write an image into a picture while mirroring it.
    • Know how to make a turtle drop images into a picture.
    • Know how to write an image out to disk.

    Video:

    Labs:

    Final: Finals Week
    Dec. 11-15





    Sean's Finals Schedule

    | Top |