Difference between revisions of "IB Computer Science 1"
From WLCS
Line 1: | Line 1: | ||
+ | == Monday (4/23/12) == | ||
+ | '''Warmup:''' | ||
+ | * Bring up your [http://codingbat.com/java/String-2 Java->String-2] | ||
+ | * Ask yourself, why are they not done? | ||
+ | |||
+ | '''Agenda:''' | ||
+ | * Be sure you have the following completed by now: | ||
+ | ** 12 [http://codingbat.com/java/Warmup-2 Java->Warmup-1] | ||
+ | ** 9 [http://codingbat.com/java/Logic-1 Java->Logic-1] | ||
+ | ** 11 [http://codingbat.com/java/String-1 Java->String-1] | ||
+ | ** 3 [http://codingbat.com/java/Logic-2 Java->Logic-2] | ||
+ | ** 9 [http://codingbat.com/java/String-2 Java->String-2] | ||
+ | * Walkthrough of creating Java program in NetBeans | ||
+ | * [[Java program template]] | ||
+ | * [[Media:MathDemo.java]] | ||
+ | * [[Media:ConsoleInput.java]] | ||
+ | * [[Media:ConsoleInputExample.java]] | ||
+ | * Mad Libs exercise | ||
+ | *# Prompt the user to enter a noun and store it in a variable named '''noun''' | ||
+ | *# Prompt the user to enter a verb and store it in a variable named '''verb''' | ||
+ | *# Prompt the user to enter another noun and store it in a variable named '''noun2''' | ||
+ | *# Print out a message that contains noun, verb, and noun2 | ||
+ | * Circle calculations exercise | ||
+ | *# Prompt the user to enter the radius of a circle (this should be a float) | ||
+ | *# Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###" | ||
+ | *# Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###" | ||
+ | * Slope calculation exercise | ||
+ | *# Prompt the user to enter x1 (this should be a float) | ||
+ | *# Prompt the user to enter y1 (this should be a float) | ||
+ | *# Prompt the user to enter x2 (this should be a float) | ||
+ | *# Prompt the user to enter y2 (this should be a float) | ||
+ | |||
== Thursday (4/19/12) == | == Thursday (4/19/12) == | ||
'''Warmup:''' | '''Warmup:''' |
Revision as of 07:09, 23 April 2012
Contents
Monday (4/23/12)
Warmup:
- Bring up your Java->String-2
- Ask yourself, why are they not done?
Agenda:
- Be sure you have the following completed by now:
- Walkthrough of creating Java program in NetBeans
- Java program template
- Media:MathDemo.java
- Media:ConsoleInput.java
- Media:ConsoleInputExample.java
- Mad Libs exercise
- Prompt the user to enter a noun and store it in a variable named noun
- Prompt the user to enter a verb and store it in a variable named verb
- Prompt the user to enter another noun and store it in a variable named noun2
- Print out a message that contains noun, verb, and noun2
- Circle calculations exercise
- Prompt the user to enter the radius of a circle (this should be a float)
- Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
- Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
- Slope calculation exercise
- Prompt the user to enter x1 (this should be a float)
- Prompt the user to enter y1 (this should be a float)
- Prompt the user to enter x2 (this should be a float)
- Prompt the user to enter y2 (this should be a float)
Thursday (4/19/12)
Warmup:
- Complete the Java > String-1 > startWord
Agenda:
- Be sure you have the following completed by now:
- 12 Java->Warmup-1
- 9 Java->Logic-1
- 11 Java->String-1
- 3 Java->Logic-2
- Complete the first 9 Java->String-2
- 6 will be from Python
Tuesday (4/17/12)
Agenda:
- Java Practice
- Convert 12 of your Python->Warmup-1 exercises to Java->Warmup-1
- Convert all 9 of your Python->Logic-1 exercises to Java->Logic-1
- Introduction to Java Strings
- Convert all 11 of your Python->String-1 exercises to Java->String-1
Homework:
- Complete converting 11 of your Python->String-1 exercises to Java->String-1
- Convert 3 of your Python->Logic-2 exercises to Java->Logic-2
Friday (4/13/12)
Warmup:
- Bring up Microsoft Word. We will be creating a reference sheet
- Create a table with 3 columns and 6 rows
- Label the headers of the right two columns Python and Java
- On the left-most column, write out the following:
- comments
- boolean stuff
- variable declaration and initialization
- if and else statements
- while loops
- for loops
- string stuff
- additional notes
Agenda:
- CodingBat Java Assignment
- You will practice using Java syntax
- We will be using the Java side of CodingBat from now on
- Convert 12 of your Python->Warmup-1 exercises to Java->Warmup-1
- Convert all your Python->Logic-1 exercises to Java->Logic-1
Wednesday (4/11/12)
Agenda:
- Return work
- Introduction to Java
- Programming with Netbeans
- CodingBat Java Assignment
- You will practice using Java syntax
- We will be using the Java side of CodingBat from now on
- Convert 12 of your Python->Warmup-1 exercises to Java->Warmup-1
Monday - Friday (4/2/12 - 4/6/12)
- Spring Break