Intro to Java
October 12, 2019
This week we're going to learn about pair programming and get started on a project that will teach you how to:
Types and values
There are different types of information. One type of information we've seen
JoC #4 Vocabulary
Today's Kahoot! will include vocabulary from last week plus three new ones
A request sent to an object to perform an action.
Information passed to a method.
Code that describes the actions to take when a method call is made.
Here is a Quizlet with vocabulary from last week and this week. Use it to get ready for Kahoot! Try out the Shuffle option with the flash cards or choose another study mode to make sure you really know the terms!
The Crab Tutorials
Pair programming will be based on the following tutorials:
October 5, 2019
The Greenfoot environment is designed to make it easier you to see the relationships between classes, objects and methods. This will help you to read and write Java code more effectively. It will also help you make use of Greenfoot classes and objects to develop games and animated stories.
Today we will:
If we have time, we'll watch a video on pair programming to prepare for next week's pair programming work.
JoC #3 Vocabulary
Review terms from last week to prepare for Kahoot!
Used to create objects.
An instance of a class. Many of these can be created from one class.
Action that an object can perform after it has been created.
A special method invoked once with the Act button and repeatedly by the Run button.
Another word for object.
A value returned by a method with a non-void return type. Examples: true, 7, 18, false, -3.
Kind of information returned by a method. Examples: boolean, int.
void return type
Used to define a method that doesn't return a value. Methods with this return type are like commands.
int return type
Indicates an integer value. Used to define a method that answers questions about number.
boolean return type
Indicates a value of true or false. Used to define a method that answers true/false questions.
September 28, 2019
Welcome to Intro to Java! Here's what we'll do today:
In Between Times
If you've completed your survey, check out the Joy of Code Lessons to learn more about game-building with Java and Greenfoot. To watch the videos, you can ask for headphones or use your own headphones or earbuds if you brought them. If you've already worked with Greenfoot and would like to start on a game of your own, go for it!
Quizlet on JoC #3
Below are the terms you should know after working through JoC #3: Classes and Objects. Use the flashcards to review the terms before we play Quizlet Live!
Here are some things you might want to do at home: