Difference between revisions of "IB Computer Science 1"

From WLCS
 
Line 1: Line 1:
== Wednesday (6/1/11) ==
+
== [[IBCS1 - Archives]] ==
'''Agenda:'''
 
* Complete all your missing CodingBat problems!  Each of the following sets is worth a letter grade.
 
** [http://codingbat.com/java/AP-1 Java-AP-1] (at least 5 problems)
 
** [http://codingbat.com/java/Recursion-1 Java-Recursion-1] (at least 5 problems)
 
** [http://codingbat.com/java/Array-2 Java-Array-2] (at least 5 problems)
 
** [http://codingbat.com/java/Array-1 Java-Array-1] (at least 10 problems)
 
** [http://codingbat.com/java/String-2 Java-String-2] (at least 5 problems)
 
** [http://codingbat.com/java/String-1 Java-String-1] (at least 10 problems)
 
 
 
== Monday - Friday (5/23/11 - 5/27/11) ==
 
'''Agenda:'''
 
* Watch "Download: A History of the Internet" and complete worksheet
 
* Complete all your missing CodingBat problems!  Each of the following sets is worth a letter grade.
 
** [http://codingbat.com/java/AP-1 Java-AP-1] (at least 5 problems)
 
** [http://codingbat.com/java/Recursion-1 Java-Recursion-1] (at least 5 problems)
 
** [http://codingbat.com/java/Array-2 Java-Array-2] (at least 5 problems)
 
** [http://codingbat.com/java/Array-1 Java-Array-1] (at least 10 problems)
 
** [http://codingbat.com/java/String-2 Java-String-2] (at least 5 problems)
 
** [http://codingbat.com/java/String-1 Java-String-1] (at least 10 problems)
 
 
 
== Tuesday - Thursday (5/17/11 - 5/19/11) ==
 
'''Warmup:'''
 
* If you are a senior, please fill out the following:
 
** [https://spreadsheets.google.com/viewform?hl=en&formkey=cmpucDFrRDJUekY5VEphYzE2V25ZSVE6MA..#gid=0 Graduating Senior Survey]
 
** [https://spreadsheets.google.com/viewform?formkey=dERxTUlReGxiTEowMlpVTnNjazJsbUE6MQ End-of-Course Survey]
 
 
 
'''Agenda:'''
 
* Introduction to Java Arrays
 
** [[Media:JavaArrays_Basic.ppt]]
 
* Complete at least 10 problems in [http://codingbat.com/java/Array-1 Java-Array-1]
 
* Complete at least 5 problems in [http://codingbat.com/java/Array-2 Java-Array-2]
 
* Introduction to Recursion
 
** [[Media:Recursion.ppt]]
 
** Complete at least 5 problems in [http://codingbat.com/java/Recursion-1 Java-Recursion-1]
 
* Complete at least 5 problems in [http://codingbat.com/java/AP-1 Java-AP-1]
 
 
 
== Monday - Friday (5/9/11 - 5/13/11) ==
 
'''Reminder:'''
 
* Possible internships & programming opportunity (May 21st)
 
* [http://www.teamcarney.com/jamtech/ Carney JAMTech]
 
 
 
'''Warmup:'''
 
* If you are a senior, please fill out the following:
 
** [https://spreadsheets.google.com/viewform?hl=en&formkey=cmpucDFrRDJUekY5VEphYzE2V25ZSVE6MA..#gid=0 Graduating Senior Survey]
 
** [https://spreadsheets.google.com/viewform?formkey=dERxTUlReGxiTEowMlpVTnNjazJsbUE6MQ End-of-Course Survey]
 
 
 
'''Agenda:'''
 
* Demo the following immediately:
 
** [http://codingbat.com/java/Warmup-1 Java-Warmup-1] (at least 10 problems)
 
** [http://codingbat.com/java/Logic-1 Java-Logic-1] (at least 10 problems)
 
** [http://codingbat.com/java/String-1 Java-String-1] (at least 10 problems)
 
** [http://codingbat.com/java/String-2 Java-String-2] (at least 5 problems)
 
* Introduction to Java Arrays
 
** [[Media:JavaArrays_Basic.ppt]]
 
* Complete at least 10 problems in [http://codingbat.com/java/Array-1 Java-Array-1]
 
* Complete at least 5 problems in [http://codingbat.com/java/Array-2 Java-Array-2]
 
 
 
== Tuesday - Thursday (5/3/11 - 5/5/11) ==
 
'''Warmup1:'''
 
* [http://newsroom.intel.com/community/intel_newsroom/blog/2011/05/04/intel-reinvents-transistors-using-new-3-d-structure Intel 3D Transistor!]
 
* This is kinda...historic
 
 
 
'''Warmup2:'''
 
# Login to CodingBat
 
# Go to prefs
 
# Go down to '''Teacher Share''' and share to Mr. Bui's e-mail address: [[Image:BuiEmail.bmp]]
 
 
 
'''Agenda:'''
 
* Missing demos for late work credit
 
* Java Methods demo
 
* [[Media:JavaStrings_Basic.ppt]]
 
# Complete at least 10 problems from [http://codingbat.com/java/Warmup-1 Java-Warmup-1]
 
# Complete at least 10 problems from [http://codingbat.com/java/Logic-1 Java-Logic-1]
 
# Complete at least 10 problems from [http://codingbat.com/java/String-1 Java-String-1]
 
# Complete at least 5 problems from [http://codingbat.com/java/String-2 Java-String-2]
 
 
 
'''Reminder:'''
 
* Possible internships & programming opportunity (May 21st)
 
* [http://www.teamcarney.com/jamtech/ Carney JAMTech]
 
 
 
== Wednesday - Friday (4/27/11 - 4/29/11) ==
 
'''Warmup:'''
 
* Possible internships & programming opportunity (May 21st)
 
* [http://www.teamcarney.com/jamtech/ Carney JAMTech]
 
 
 
'''Agenda:'''
 
* Demo all Java programs by the end of the week (4/29/11)
 
** Quadratic, MPAA, GuessingGame, Shapes, Looping Ex
 
* Create the Java version of the methods from the end of [http://openbookproject.net/thinkCSpy/ch05.html HTTLACS: Ch 5].  You may use your python solutions as a guide (if you cannot find yours, get the python solution from somebody near you)
 
** [http://www.leepoint.net/notes-java/flow/methods/15methodex.html Java Method Example]
 
** You may use the following main method to test your methods: [[Java Methods Test]]
 
* Java Practice Problems Assignment
 
*# Go to [http://codingbat.com/ CodingBat]
 
*# Create a login using your e-mail address
 
*# Complete at least 10 problems from [http://codingbat.com/java/Warmup-1 Java-Warmup-1]
 
*# Complete at least 10 problems from [http://codingbat.com/java/Logic-1 Java-Logic-1]
 
*# Reminder: In Java, we have the following:
 
*#* ! - not
 
*#* && - and
 
*#* || - or
 
*# You are encouraged to do more than just 10 problems.  You will become a Java r0x5tal2
 
*# [http://codingbat.com/java All Java CodingBat]
 
* Introduction to Java Strings
 
** [[Media:JavaStrings_Basic.ppt]]
 
* Java quiz next week??
 
 
 
== Monday (4/25/11) ==
 
'''Warmup:'''
 
# Use a for-loop to print out the following sequence:
 
#* 1, 4, 9, 16, 25, 36, 49, 64, 81, 100
 
 
 
'''Agenda:'''
 
* Create the Java version of the methods from the end of [http://openbookproject.net/thinkCSpy/ch05.html HTTLACS: Ch 5].  You may use your old solution as a guide.  You may use the following main method to test your methods: [[Java Methods Test]]
 
* Demo all Java programs
 
* [http://www.teamcarney.com/jamtech/ Carney JAMTech]
 
 
 
== Tuesday - Thursday (4/12/11 - 4/14/11) ==
 
'''Warmup:'''
 
* Write a for loop that iterates from 0 to 100
 
** Inside the for loop, have an if-statement check whether or not the number is divisible by 7
 
** If the number is divisible by 7, then print it out
 
 
 
'''Agenda:'''
 
* Demo the following:
 
** [[Quadratic Formula Assignment]]
 
** [[MPAA calculator assignment]]
 
** [[Guessing Game Assignment]]
 
*** HINT: int r = (int)(Math.random()*100) //to generate a random number
 
** [[Print Shapes Exercises]]
 
*** HINT: System.out.print() //to print on a single line
 
** [[Looping Exercises]]
 
* Introduction to Methods
 
** Create the Java version of the methods from the end of [http://openbookproject.net/thinkCSpy/ch05.html HTTLACS: Ch 5].  You may use your old solution as a guide
 
 
 
== Wednesday - Friday (4/6/11 - 4/8/11) ==
 
'''Warmup:'''
 
* Look over the [http://download.oracle.com/javase/6/docs/api/java/lang/Math.html Java Math Library]
 
 
 
'''Agenda:'''
 
* Introduction to Java
 
** [[Media:IntroJava.ppt]]
 
** [[Media:IntroJava2.ppt]]
 
* [[Java program template]]
 
* [[Media:MathDemo.java]]
 
* [[Media:ConsoleInput.java]]
 
* [[Media:ConsoleInputExample.java]]
 
* [[Quadratic Formula Assignment]]
 
* [[MPAA calculator assignment]]
 
* [[Guessing Game Assignment]] (HINT: Look up online how to do random numbers in Java)
 
* [[Print Shapes Exercises]]
 
* [[Looping Exercises]]
 
 
 
== Monday (4/4/11) ==
 
'''Agenda:'''
 
* Watch Rise of the Video Game: Part 1
 
* Watch Rise of the Video Game: Part 2
 
 
 
== Monday (3/28/11) ==
 
'''Agenda:'''
 
* Convert one of your GASP games to use lists
 
* Demo your converted game by the end of next week
 
* If you are done converting, then create a new game from scratch (or begin designing one)
 
 
 
== Thursday (3/24/11) ==
 
'''Agenda:'''
 
* 3rd Quarter Exam
 
* Demo your completed game by the end of next week
 
* Nested Lists Exercises
 
** Assume you have '''matrix = [ [2, 4, 6], [1, 3, 5], [0, 1, 2] ]'''
 
*# Write the nested loops to print out all the elements
 
*# Write the nested loops that sums up all the elements
 
*# Write the nested loop that finds the maximum value in the matrix
 
 
 
== Tuesday (3/22/11) ==
 
'''Warmup:'''
 
# Create a list of lists like so: '''matrix = [ [2, 4, 6], [1, 3, 5], [0, 1, 2] ]'''
 
# Write a loop that goes from '''0''' up to '''len(matrix)''' using a counter variable '''r'''
 
## Inside the outer loop, write another loop that goes from '''0''' up to '''len(matrix[r])''' using a counter variable '''c'''
 
### Print the element at '''matrix[r][c]'''
 
# See if you can format the printing better
 
 
 
'''Agenda:'''
 
* Nested lists
 
* 3rd Quarter Exam Review
 
** Basic stuff (variables, expressions, functions, if-statements, conditionals, loops)
 
** Strings
 
** Lists
 
* Convert one of your GASP games to use lists
 
* Demo your converted game by the end of next week
 
 
 
== Monday - Friday (3/14/11 - 3/18/11) ==
 
'''Warmup:'''
 
* Demo your [[Advanced Python List Exercises]]
 
 
 
'''Agenda:'''
 
* Demo your [[Pig Latin Translator]]
 
* Item Collection Game w/ lists walkthrough
 
* Convert your Dodge game to use lists
 
 
 
== Thursday (3/10/11) ==
 
'''Agenda:'''
 
* Make sure (Basic) [[Python List Exercises]] is turned in
 
* [[Advanced Python List Exercises]]
 
* [[Pig Latin Translator]]
 
 
 
== Tuesday (3/8/11) ==
 
'''Warmup:'''
 
# Create a list with the following numbers: 6, 3, 8, 4, 3, 5, 4, 3, 2, 1, 6, 8, 9, 6, 7, 3, 7, 2, 5
 
# Create a variable named '''total''' and initialize it to 0 (zero)
 
# Use a loop to traverse the list
 
#* Add each list element to the total
 
# Print out your total after the loop is done
 
 
 
'''Agenda:'''
 
* '''Final deadline:''' Dual enrollment forms are due (3/10/11)
 
* Make sure (Basic) [[Python List Exercises]] is turned in
 
* [[Advanced Python List Exercises]]
 
* How do we use lists to simplify our Dodge game?
 
** Example: If I have our warmup list, what would it look like to add 1 to every number?
 
** Example: What would it look like to multiply every number by 2?
 
** Example: What would it look like to reset all the numbers to 0?
 
 
 
== Friday (3/4/11) ==
 
'''Warmup:'''
 
* Write the loop that finds the index of the first vowel
 
* Print out the index
 
 
 
'''Agenda:'''
 
* string.split()
 
* Pig Latin Translator
 
* (Basic) [[Python List Exercises]]
 
* [[Advanced Python List Exercises]]
 
 
 
== Wednesday (3/2/11) ==
 
'''Warmup:'''
 
* Please fill out this [https://spreadsheets.google.com/viewform?formkey=dEdQMVhWcUhSLUFHWjhkUWhSVXoxRnc6MQ survey]
 
 
 
'''Agenda:'''
 
* Welcome back!
 
* List review
 
* (Basic) [[Python List Exercises]]
 
* [[Advanced Python List Exercises]]
 
 
 
== Archives ==
 
* [[IBCS1 - 1011 - February]]
 
* [[IBCS1 - 1011 - January]]
 
* [[IBCS1 - 1011 - December]]
 
* [[IBCS1 - 1011 - November]]
 
* [[IBCS1 - 1011 - October]]
 
* [[IBCS1 - 1011 - September]]
 

Latest revision as of 08:28, 13 September 2023