Difference between revisions of "IB Computer Science 1"

From WLCS
(Monday - Friday (4/13/15 - 4/17/15))
Line 9: Line 9:
 
*** [http://www.tutorialspoint.com/java/java_string_indexof.htm indexOf() example]
 
*** [http://www.tutorialspoint.com/java/java_string_indexof.htm indexOf() example]
 
** To find out if you've won, count the number of underscores left in the reveal word.  If there are none, then you've won
 
** To find out if you've won, count the number of underscores left in the reveal word.  If there are none, then you've won
 +
** For random words, create an explicit array of Strings of your choice.  Generate a random number between 0 and the length of the String, and select your random word from that
  
 
== Wednesday - Friday (4/8/15 - 4/10/15) ==
 
== Wednesday - Friday (4/8/15 - 4/10/15) ==

Revision as of 08:23, 17 April 2015

Monday - Friday (4/13/15 - 4/17/15)

Agenda:

  • After-Hours Study Night @ Central Library - Sunday, May 3rd, 2015
    • Free pizza, snacks, and coffee
  • Make sure you've completed CodingBat Arrays 1 & 2 (3 exercises from each)
  • Complete and demo Hangman
  • Hangman Hints:
    • Use the String's indexOf(char ch) method to find out if a character is in a String. indexOf() will return -1 if it is not found
    • To find out if you've won, count the number of underscores left in the reveal word. If there are none, then you've won
    • For random words, create an explicit array of Strings of your choice. Generate a random number between 0 and the length of the String, and select your random word from that

Wednesday - Friday (4/8/15 - 4/10/15)

Agenda:

Tuesday (4/7/15)

Agenda:

Monday - Friday (3/30/15 - 4/3/15)

  • Spring Break

Friday (3/27/15)

  • Complete and demo any missing assignments

Monday - Thursday (3/23/15 - 3/26/15)

Tuesday - Friday (3/17/15 - 3/20/15)

Monday - Friday (3/9/15 - 3/13/15)

Agenda:

  • Got-A-Gadget @ Central Library (3:30pm, Thursday, 3/12/15)
    • Great community service opportunity
  • Introduction to Java
  • Convert the following programs from Python to Java:
    1. Quadratic formula assignment
    2. MPAA movie calculator assignment
    3. Guessing game assignment
    4. Monte Carlo calculation of Pi assignment
    5. Looping exercises

Thursday - Friday (3/5/15 - 3/6/15)

  • Snow Days

Tuesday - Wednesday (3/3/15 - 3/4/15)

Agenda:

  • Got-A-Gadget @ Central Library (3:30pm, Thursday, 3/12/15)
    • Great community service opportunity
  • Introduction to Java
    • Install JDK + NetBeans Bundle on your personal computer
    • Java vs. Python
    • Keyboard input with Java
    • Convert your Quadratic Formula Assignment to Java
    • Convert your MPAA movie assignment to Java
    • Convert your Guessing game assignment to Java

Monday (3/2/15)

  • Snow Day

Archives