Difference between revisions of "Computer Science"

From WLCS
(Created page with "== Thursday (6/17/10) == * Final Exam Review ** Multiple-choice exam ** Python-based ** Triumph of the Nerds questions == Tuesday (6/15/10) == * Triumph of the Nerds Review == ...")
 
 
Line 1: Line 1:
== Thursday (6/17/10) ==
 
* Final Exam Review
 
** Multiple-choice exam
 
** Python-based
 
** Triumph of the Nerds questions
 
 
== Tuesday (6/15/10) ==
 
* Triumph of the Nerds Review
 
 
== Monday - Friday (6/7/10 - 6/11/10) ==
 
* Triumph of the Nerds Documentary
 
 
== Thursday - Wednesday (5/27/10 - 6/2/10) ==
 
* Introduction to Binary
 
** [[Media:Binary.ppt]]
 
** [[Media:Binary2.ppt]]
 
* Binary Games
 
** [http://britton.disted.camosun.bc.ca/binary.swf Binary Game #1]
 
** [http://forums.cisco.com/CertCom/game/binary_game_page.htm Binary Game #2]
 
 
== Friday - Tuesday (5/21/10 - 5/25/10) ==
 
* If you are a senior, please complete the [https://spreadsheets.google.com/viewform?hl=en&formkey=cmpucDFrRDJUekY5VEphYzE2V25ZSVE6MA..#gid=0 Graduating Senior Survey]
 
* Complete and demo [[Advanced Python List Exercises]]
 
 
== Wednesday (5/19/10) ==
 
'''Warmup:'''
 
* Create a new file named '''advancedListEx.py'''
 
* '''import random''' at the top b/c we will be creating random numbers
 
* Create an empty list named randomNumbers (an empty list is just brackets [])
 
* Write a loop that runs 10 times (HINT: write a loop that prints out 0 to 10)
 
** Inside the loop, generate a random number using '''random.randint(0,100)''' and store it in a variable named r
 
** Append r to randomNumbers
 
** Don't forget to increment your loop's counter variable
 
* After the loop, print out randomNumbers
 
 
'''Agenda:'''
 
* Demo [[Python List Exercises]]
 
* Begin working on [[Advanced Python List Exercises]]
 
 
== Monday (5/17/10) ==
 
'''Warmup:'''
 
# Create a list that contains the following numbers: 8, 6, 7, 5, 3, 0, 9
 
# Create a variable named total that contains the value 0
 
# Initialize a counter variable named x to 0
 
# Write a while loops that runs while x is less than the length of your list
 
#* Inside your loop, add the current element (yourList[x]) to total
 
#* Increment your loop counter x
 
# Print the total variable, which should now be the sum of all the numbers
 
 
'''Agenda:'''
 
* Warmup Review
 
* Why do we use lists and loops?  Use your warmup again, but instead, make the list hundreds of numbers
 
** [4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7, 4, 6, 3, 7, 6, 8, 5, 2, 3, 5, 2, 6, 7]
 
* Adding and deleting from a list
 
* Complete and demo [[Python List Exercises]]
 
* Begin working on [[Advanced Python List Exercises]]
 
 
== Thursday (5/13/10) ==
 
'''Warmup - Regular:'''
 
* Write down a list of your favorite sports teams
 
* Write down a list of the numbers in your phone number (or any other number)
 
 
'''Agenda:'''
 
* Introduction to Lists
 
** [http://openbookproject.net/thinkCSpy/ch09.html HTTLACS: Ch 9 - Lists]
 
* [[Python List Exercises]]
 
 
== Tuesday (5/11/10) ==
 
'''Warmup - Regular:'''
 
* Write a loop that prints 0 through 20
 
* Write a loop that prints 19 through 0
 
* Write a loop that goes from 0 through 100 BUT only prints numbers if they are less than 20
 
 
'''Agenda:'''
 
* Strings quiz
 
* Complete HTTLACS: Ch7 #5-8 this week
 
 
== Friday - Tuesday (5/7/10) ==
 
* Demo a completed [[E-mail Harvester Assignment]]
 
* Strings quiz
 
* Complete HTTLACS: Ch7 #5-8 this week
 
 
== Wednesday (5/5/10) ==
 
'''Agenda:'''
 
* Demo a completed [[E-mail Harvester Assignment]]
 
* Strings quiz review
 
* Quiz on Ch 7: strings and e-mail harvester (closed-book) on Friday
 
* Complete HTTLACS: Ch7 #5-8 this week
 
 
== Monday (5/3/10) ==
 
'''Warmup:'''
 
# s = "H e l l o , w o r l d !"
 
# Create a variable named new_s that contains an empty string
 
# Write a while loop where the counter variable x starts at 0 and goes up to len(s)
 
## Check if the current letter at x (s[x]) is NOT a space
 
##* Add the current letter (s[x]) to new_s
 
## Increment x
 
 
* What does the above code produce?
 
 
'''Agenda:'''
 
* Demo a completed [[E-mail Harvester Assignment]]
 
* Quiz on strings and e-mail harvester (closed-book) on Friday
 
* Complete HTTLACS: Ch7 #5-8 this week
 
 
 
== Archives ==
 
== Archives ==
* [[CS1 - June]]
+
* CS1 - 1819 (Poland) - APS Canvas
* [[CS1 - May]]
+
* CS1 - 1718 (Poland) - APS Canvas
* [[CS1 - April]]
+
* CS1 - 1617 (Poland) - Google Classroom
* [[CS1 - March]]
+
** [https://docs.google.com/a/apsva.us/document/d/1VnXYBgVIABKBGVYNuoQQ6E_6kUzcNah2TFlM5QgTOW0/edit?usp=sharing 2017 Syllabus]
* [[CS1 - February]]
+
* [https://sites.google.com/a/apsva.us/ocopcompsci/ CS1 - 1516 (MacLeod)]
* [[CS1 - January]]
+
* [[CS1 - 1415]]
* [[CS1 - December]]
+
* [[CS1 - 1314]]
* [[CS1 - November]]
+
* [[CS1 - 1213]]
* [[CS1 - October]]
+
* [[CS1 - 1112]]
* [[CS1 - September]]
+
* [[CS1 - 1011]]
 +
* [[CS1 - 0910]]
 +
* [[CS1 - 0809]]
 +
* [http://www.paulbui.net/wl0708/cs1 CS1 - 0708]
 +
* [http://www.paulbui.net/wl0607/cs1/schedule.html CS1 - 0607]

Latest revision as of 11:04, 13 November 2018

Archives