Difference between revisions of "IB Computer Science 1"

From WLCS
 
(619 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
== Monday - Wednesday (4/23/18 - 4/25/18) ==
+
== [[IBCS1 - Archives]] ==
−
'''Agenda:'''
 
−
* Demo the following converted programs:
 
−
** Prime numbers assignment
 
−
** Monte Carlo Pi assignment
 
−
** Taylor Series Pi and e assignment
 
−
* Java functions / methods
 
−
* Convert the [[Python Functions Assignment]] to Java methods
 
−
** Class walk-through first couple functions/methods
 
−
 
 
−
== 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:'''
 
−
* Demo converted [[Tech Support Flow Chart Assignment]] from Python -> Java
 
−
* If you have not completed the Java assignments, then they are homework for the weekend
 
−
 
 
−
== Wednesday (4/11/18) ==
 
−
'''Agenda:'''
 
−
* Review Java Strings
 
−
** [[Media:JavaStrings_Basic.pptx]]
 
−
 
 
−
== 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
 
−
 
 
−
<syntaxhighlight lang="Java">
 
−
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");
 
−
}
 
−
</syntaxhighlight>
 
−
 
 
−
== 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 ==
 
−
* [[IBCS1 - 1718 - March]]
 
−
* [[IBCS1 - 1718 - February]]
 
−
* [[IBCS1 - 1718 - January]]
 
−
* [[IBCS1 - 1718 - December]]
 
−
* [[IBCS1 - 1718 - November]]
 
−
* [[IBCS1 - 1718 - October]]
 
−
* [[IBCS1 - 1718 - September]]
 
−
* [[IBCS1 - 1617]]
 

Latest revision as of 08:28, 13 September 2023