IB Computer Science 1
From WLCS
Thursday (4/4/19)
Warmup:
- Join the new IB CS 1 repl.it for Java
- Complete the Java Syntax Practice 1 repl.it
Agenda:
- Demonstrate your Tic-Tac-Toe Java program
- Complete Canvas Java Practice Assignment/Quiz
- Java References
- Java Methods/Functions
- Volunteers may paste old Python programs here
- Convert and demo your (Processing) Functions: Emoji Assignment from Python to Java
- Convert and demo your (Processing) Functions: Hover Buttons from Python to Java
- Convert and demo your (Processing) Fancy Buttons program from Python to Java
- Create 4 buttons on the screen of some color of your choice (use the same color for all 4 buttons)
- Hovering over a button changes its color shade darker and increases the stroke weight around that particular button
- Pressing the button makes the color shade even darker (darker than hover)
- Releasing the button should return it to its original color. Depending on how you create your program, you may not need to define mouseReleased()
Tuesday (4/2/19)
Agenda:
- Demonstrate your re-implemented Item Collection / Robot game w/ lists!
- Installing Java software(s)
- Introduction to Java
- Comments
- Semicolons
- Curly brace/brackets
- Values, Types & Variables
- Declaring variables
- Function/method header
- if statement
- or -> ||
- and -> &&
- not -> !
- Practice Processing - Java
- Volunteers may paste old Python programs here
- Convert your Tic-Tac-Toe program from Python to Java