Difference between revisions of "IB Computer Science 1"

From WLCS
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Monday (4/2/18) ==
+
== Tuesday - Thursday (4/17/18 - 4/19/18) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Mr. Bui is out today because his son is sick.
+
* Nested-if statements review
* Take a few minutes and review your Python->Java notes
+
* Java while loops
* Go back and convert the following from Python -> Java (if you do not have the Python code, then simply get a copy from somebody else in the class)
+
* Java random numbers
** Quadratic Formula
+
* Convert Guessing Game assignment from Python -> Java
** Letter Grade Calculator
+
** Class walk-through
* Demonstrating the Java versions of Quadratic Formula and the Letter Grade Calculator will be counted in the 3rd quarter.
+
* Integer division and casting
 +
* Convert Prime numbers assignment from Python -> Java
 +
* Convert Monte Carlo Pi assignment from Python -> Java
 +
* Convert Taylor Series Pi and e assignment from Python -> Java
  
== Tuesday - Thursday (3/20/18 - 3/21/18) ==
+
== Friday (4/13/18) ==
'''Warmup:'''
+
'''Agenda:'''
# Go to Self Service
+
* Demo converted [[Tech Support Flow Chart Assignment]] from Python -> Java
# Go to Instructional Apps
+
* If you have not completed the Java assignments, then they are homework for the weekend
# Install Java Development Kit, Netbeans, & jGRASP
 
  
 +
== Wednesday (4/11/18) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Demo the converted Processing House and Simple Paint
+
* Review Java Strings
* Java Input & Output Notes
+
** [[Media:JavaStrings_Basic.pptx]]
* Go back and convert the following from Python -> Java (if you do not have the Python code, then simply get a copy from somebody else in the class)
 
** Quadratic Formula
 
** Letter Grade Calculator
 
  
== Wednesday - Friday (3/14/18 - 3/16/18) ==
+
== Friday (4/6/18) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Python-Java Quick Reference
+
* Demo any Java assignments
** Open your own Google document and name it Python->Java Reference
+
* End of 3rd Quarter
* Go back and translate your Processing: House Assignment to Java
+
* Review Java Strings
* Go back and translate your Processing: Simple Paint to Java
 
* Java Input & Output
 
  
== Monday (3/12/18) ==
+
== Wednesday (4/4/18) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Volunteer Opportunity
+
* Mr. Bui is still out because his son has the flu
** Middle schoolers will be building and programming VEX IQ robots. They will be using block language to program so any student with basic background in coding would be helpful.
+
* Read through [[Media:JavaStrings_Basic.pptx]]
** Adam Nesbitt Robotics Day on '''Saturday, March 17th from 8:30am-12:30pm at the Career Center'''
+
** Be sure to test some of the Java code out
** [https://tinyurl.com/y6v82rdx Volunteer Sign-up form]
+
* Convert your [[Tech Support Flow Chart Assignment]] from Python -> Java
* Processing & Lists
+
** You will need to use the Scanner's nextLine() method to take input as a String
** Bouncing Ball review
+
** You will need to use the String's equals() method to compare if two Strings match
** Bouncing Ball w/ Lists
+
 
* Introduction to Java
+
<syntaxhighlight lang="Java">
** Comments
+
String str1 = "hello";
** Semicolons
+
String str2 = "goodbye";
** Curly brace/brackets
+
 
** Values, Types & Variables
+
if(str1.equals("hello"))
** Function/method header
+
{
** if statement
+
    System.out.println("This will print because the condition is true");
** or -> ||
+
}
* Go back and translate your Processing: House Assignment to Java
+
 
* Go back and translate your Processing: Simple Paint to Java
+
if(str2.equals("hello"))
 +
{
 +
    System.out.println("This does not print because the condition is false");
 +
}
 +
</syntaxhighlight>
  
== Tuesday - Thursday (3/6/18 - 3/8/18) ==
+
== Monday (4/2/18) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Complete and demo [[Advanced Python List Exercises]]
+
* Mr. Bui is out today because his son is sick.
** List Surprise is optional; however, anybody planning to take IBCS2 next year should complete it
+
* Take a few minutes and review your Python->Java notes
* You should be able to demo today or by Thursday
+
* Go back and convert the following from Python -> Java (if you do not have the Python code, then simply get a copy from somebody else in the class)
* Go back and recreate your letter frequency program using a list instead of all the variables that you might have used
+
** Quadratic Formula
* Letter Frequency w/ Lists walk-through
+
** Letter Grade Calculator
 
+
* Demonstrating the Java versions of Quadratic Formula and the Letter Grade Calculator will be counted in the 3rd quarter.
== Friday (3/2/18) ==
 
* School canceled due to high winds (not a joke)
 
  
 
== Archives ==
 
== Archives ==
 +
* [[IBCS1 - 1718 - March]]
 
* [[IBCS1 - 1718 - February]]
 
* [[IBCS1 - 1718 - February]]
 
* [[IBCS1 - 1718 - January]]
 
* [[IBCS1 - 1718 - January]]

Revision as of 11:06, 19 April 2018

Tuesday - Thursday (4/17/18 - 4/19/18)

Agenda:

  • Nested-if statements review
  • Java while loops
  • Java random numbers
  • Convert Guessing Game assignment from Python -> Java
    • Class walk-through
  • Integer division and casting
  • Convert Prime numbers assignment from Python -> Java
  • Convert Monte Carlo Pi assignment from Python -> Java
  • Convert Taylor Series Pi and e assignment from Python -> Java

Friday (4/13/18)

Agenda:

Wednesday (4/11/18)

Agenda:

Friday (4/6/18)

Agenda:

  • Demo any Java assignments
  • End of 3rd Quarter
  • Review Java Strings

Wednesday (4/4/18)

Agenda:

  • Mr. Bui is still out because his son has the flu
  • Read through Media:JavaStrings_Basic.pptx
    • Be sure to test some of the Java code out
  • Convert your Tech Support Flow Chart Assignment from Python -> Java
    • You will need to use the Scanner's nextLine() method to take input as a String
    • You will need to use the String's equals() method to compare if two Strings match
String str1 = "hello";
String str2 = "goodbye";

if(str1.equals("hello"))
{
    System.out.println("This will print because the condition is true");
}

if(str2.equals("hello"))
{
    System.out.println("This does not print because the condition is false");
}

Monday (4/2/18)

Agenda:

  • Mr. Bui is out today because his son is sick.
  • Take a few minutes and review your Python->Java notes
  • Go back and convert the following from Python -> Java (if you do not have the Python code, then simply get a copy from somebody else in the class)
    • Quadratic Formula
    • Letter Grade Calculator
  • Demonstrating the Java versions of Quadratic Formula and the Letter Grade Calculator will be counted in the 3rd quarter.

Archives