|
|
Line 1: |
Line 1: |
− | == Wednesday (12/21/11) == | + | == [[IBCS1 - Archives]] == |
− | '''Agenda:'''
| |
− | * Demo [[E-mail Harvester Assignment]]
| |
− | * Work on [[Pig Latin Translator]]
| |
− | | |
− | == Monday (12/19/11) ==
| |
− | '''Warmup:'''
| |
− | * Define a function named '''getTheIndex(s, ch)''' that '''returns''' the index of the letter in the '''ch''' variable when it looks through the '''s''' variable
| |
− | *# Use a loop (don't forget to initialize the loop counter to 0
| |
− | *# Check if the current letter (using the counter) matches '''ch'''
| |
− | *#* If so, then return the current counter
| |
− | *# Increment your loop counter to go to the next letter
| |
− | *# Outside the loop, return -1 as a failsafe
| |
− | | |
− | '''Agenda:'''
| |
− | * [[E-mail Harvester Assignment]]
| |
− | * [[Pig Latin Translator]]
| |
− | | |
− | == Tuesday - Thursday (12/13/11 - 12/15/11) ==
| |
− | '''Warmup:'''
| |
− | * Initialize a string "Washington-Lee Computer Science" to a variable '''s'''
| |
− | * Write a loop that walks through (traverses) the string '''s'''
| |
− | * Print out each letter in '''s'''
| |
− | | |
− | '''Warmup 2:'''
| |
− | * Without running it on your computer, what does the following source code print at the end?
| |
− | | |
− | <syntaxhighlight lang="Python">
| |
− | newString = ""
| |
− | x = 0
| |
− | while x < 5:
| |
− | newString = newString + "l"
| |
− | newString = newString + "o"
| |
− | x = x + 1
| |
− | print(newString)
| |
− | </syntaxhighlight>
| |
− | | |
− | '''Agenda:'''
| |
− | * Loops and Conditionals with Strings
| |
− | * [[Leet-speak Translator]]
| |
− | * [[E-mail Harvester Assignment]]
| |
− | * [[Pig Latin Translator]]
| |
− | | |
− | == Wednesday - Friday (12/7/11 - 12/8/11) ==
| |
− | '''Agenda:'''
| |
− | * Dual Enrollment Testing
| |
− | * Be sure you complete:
| |
− | ** [[Python String Exercises]] - upload to SchoolWebLockers
| |
− | ** Complete the first 6 [http://codingbat.com/python/String-1 Python->String-1 exercises]
| |
− | | |
− | == Monday (12/5/11) ==
| |
− | '''Warmup:'''
| |
− | * Complete [http://codingbat.com/prob/p107863 Python > Logic-2 > lucky_sum]
| |
− | | |
− | '''Agenda:'''
| |
− | * Dual enrollment forms?
| |
− | * Missing Warmup-1 and Logic-1
| |
− | * Introduction to Python Strings
| |
− | ** [[Media:Strings_Python.ppt]]
| |
− | ** [[Python String Exercises]]
| |
− | ** Complete the first 6 [http://codingbat.com/python/String-1 Python->String-1 exercises]
| |
− | | |
− | == Thursday (12/1/11) ==
| |
− | '''Warmup:'''
| |
− | * Define the following to another high school student:
| |
− | ** variable
| |
− | ** value
| |
− | ** function
| |
− | ** parameter
| |
− | ** Boolean
| |
− | ** conditional
| |
− | ** iteration (looping)
| |
− | | |
− | '''Agenda:'''
| |
− | * Dual enrollment forms?
| |
− | * All of [http://codingbat.com/python/Warmup-1 Python->Warmup-1] and [http://codingbat.com/python/Logic-1 Python->Logic 1] are due by midnight tonight (12/1/11)
| |
− | * Complete [http://codingbat.com/prob/p143951 Python > Logic-2 > lone_sum]
| |
− | * Introduction to Python Strings
| |
− | ** [[Media:Strings_Python.ppt]]
| |
− | ** [[Python String Exercises]]
| |
− | | |
− | == Tuesday (11/29/11) ==
| |
− | '''Warmup:'''
| |
− | * Complete [http://codingbat.com/prob/p100347 Python > Logic-2 > no_teen_sum]
| |
− | | |
− | '''Agenda:'''
| |
− | * CodingBat - make sure you've completed:
| |
− | ** All exercises from [http://codingbat.com/python/Warmup-1 Python->Warmup-1]
| |
− | ** Complete all exercises from [http://codingbat.com/python/Logic-1 Python->Logic 1]
| |
− | * Dual Enrollment Credit
| |
− | *# [http://www.nvcc.edu/novaconnect/student/hdi-apply.htm Complete application]
| |
− | *# NVCC Course - ITP 195
| |
− | *# Exemption from COMPASS test with (AP English 3 or higher OR SAT Reading 550 or higher)
| |
− | | |
− | '''Homework:'''
| |
− | * Complete all exercises from [http://codingbat.com/python/Logic-1 Python->Logic 1] by Thursday (12/1/11)
| |
− | * Complete the NVCC application and turn in a completed Dual Enrollment form. (NVCC ID# and Parent Signature)
| |
− | | |
− | == Wednesday - Friday (11/23/11 - 11/25/11) ==
| |
− | * Thanksgiving Break - Over Thanksgiving Break, try to complete 3 or more exercises from [http://codingbat.com/python/Logic-1 Python->Logic 1]
| |
− | | |
− | == Tuesday (11/22/11) ==
| |
− | '''Agenda:'''
| |
− | * CodingBat
| |
− | *# Go to [http://www.codingbat.com CodingBat]
| |
− | *# Click on '''create account'''
| |
− | *# Make sure you put in your Lastname, Firstname
| |
− | *# Click on '''prefs'''
| |
− | *# Under Teacher Share, use [[Image:BuiEmail.bmp]]
| |
− | * Complete [http://codingbat.com/python/Warmup-1 Python->Warmup-1]
| |
− | * Demo Turtle gaming practice
| |
− | * Over Thanksgiving Break, try to complete 3 or more exercises from [http://codingbat.com/python/Logic-1 Python->Logic 1]
| |
− | | |
− | == Friday (11/18/11) ==
| |
− | '''Agenda:'''
| |
− | * Warmup Quiz
| |
− | * Turtle gaming practice
| |
− | *# Give the window a background image of Washington-Lee by using bgpic("filename")
| |
− | *# Give your player a picture of Mr. Bui's head and program it so that it can move around the screen with the keyboard
| |
− | *# Create a new Turtle() that bounces around the screen. Make it a WL logo.
| |
− | | |
− | == Wednesday (11/16/11) == | |
− | '''Warmup:'''
| |
− | * Define a function named '''printEvens(a, b)''' that takes two parameters
| |
− | *# Inside the function, write a loop that prints out all the even numbers from a up to b
| |
− | * Test your function by making a function call to print the even numbers from 20 to 60
| |
− | | |
− | '''Agenda:'''
| |
− | * Closed-everything quiz on the above warmup on Friday (11/18/11)
| |
− | * Turtle animations
| |
− | * Turtle gaming
| |
− | | |
− | == Monday (11/14/11) ==
| |
− | '''Agenda:'''
| |
− | * [http://www.teamcarney.com/jamtech/ Carney, Inc. - JamTech - Saturday, December 3rd, 2011]
| |
− | * Etch-a-Sketch - Create a program that uses the arrow keys to draw pictures
| |
− | *# Drop the pen down
| |
− | *# Respond to the keyboard arrows to draw
| |
− | *# Respond to the keyboard's "space" key to clear the screen
| |
− | *#* Hint: If you can't remember how to clear the screen, look for the command in the [http://docs.python.org/py3k/library/turtle.html Python Turtle Documentation]
| |
− | | |
− | == Wednesday (11/9/11) ==
| |
− | '''Warmup:'''
| |
− | * What does the following expression evaluate to? ((2**4)-5*4/2)
| |
− | | |
− | '''Agenda:'''
| |
− | * Return and review 1st Quarter Exams
| |
− | * mainloop() & responding to the keyboard
| |
− | * Etch-a-Sketch - Create a program that uses the arrow keys to draw pictures
| |
− | *# Drop the pen down
| |
− | *# Respond to the keyboard arrows to draw
| |
− | *# Respond to the keyboard's "space" key to clear the screen
| |
− | *#* Hint: If you can't remember how to clear the screen, look for the command in the [http://docs.python.org/py3k/library/turtle.html Python Turtle Documentation]
| |
− | | |
− | == Friday (11/4/11) ==
| |
− | '''Warmup:'''
| |
− | * Create a smiley face '''polygon'''
| |
− | * Change the turtle to be the smiley face
| |
− | * Make the turtle move around the screen as the smiley face
| |
− | | |
− | '''Agenda:'''
| |
− | * mainloop()
| |
− | * Responding do the keyboard
| |
− | | |
− | == Wednesday (11/2/11) ==
| |
− | '''Agenda:'''
| |
− | * 1st Quarter Exam: Part 2
| |
− | * Advanced Turtling
| |
− | ** Changing the turtle's look - [[Turtle - Changing Shape]]
| |
− | ** mainloop()
| |
− | ** Responding do the keyboard
| |
− | ** Multiple turtles
| |
− | | |
− | == Archives ==
| |
− | * [[IBCS1 - 1112 - October]]
| |
− | * [[IBCS1 - 1112 - September]]
| |