1 of 9

Hello!

Welcome to CPT!

Intermediate Team

2 of 9

This year

3 of 9

This year in a nutshell

  • Java programming (please don’t ask us questions about Python, C++, Turing, etc.)
  • We will be covering ICS course material as well as providing enrichment
  • Most meetings will consist of:
    • A lesson
      • Short review of in-class material
      • Interesting and cool new stuff
    • Problems on the interesting and cool stuff
    • Time to work on the problems on the interesting and cool stuff
    • Points for working on the problems on the interesting and cool stuff
    • Taking up the problems on the interesting and cool stuff

interesting and cool stuff

4 of 9

The Point System

  • Each member of the first successful team: 5 points
  • Each member of the second successful team: 3 points
  • Each member of the third successful team: 1 point
  • Points are tracked individually, so feel free to work alone or with different people each meeting
  • After each term, the three highest-scoring members will get a prize!
    • Scores will reset after each term

Questions?

5 of 9

The next few weeks… (tentatively)

  • Conditional statements
  • All kinds of loops
  • Standard IO

Fill out this survey to give us a better idea of why you’re here:

goo.gl/mezZGJ

6 of 9

A Brief Review

  • Printing to the console/formatting output
  • Introductory String methods
  • Variables and user input
  • For loops

Does anyone have questions or need clarification?

7 of 9

Other good ways to print stuff

  • System.out.print() and System.out.println() print without using the Console
  • print() and println() are methods inside the System class
  • The System class is automatically imported, so unlike Console, you do not need to import anything to use these commands

public static void main (String[] args){

System.out.print(“hello world”);

}

hello world

8 of 9

System vs. Console

  • System.out.print() and System.out.println() have fewer formatting overloads
  • No graphic methods (Console has methods like drawOval(), drawLine())
  • More complicated user input
    • System.in will be covered in a future lesson
  • In class you’ll mostly be using Console
  • System.out.println() will be useful in ICS4U and contests

9 of 9

Practice problems!

Go to this link to access some interesting and cool questions:

goo.gl/9a49SY