HW Summer 2021

Programming Kickstart

Useful Resources

Topics

This course uses one long slide deck: Keynote, PDF

Intro

  • Hello World
  • Math operators
  • Variables
  • Data types

Booleans and Conditionals

  • Boolean operators
  • The if/else if/else statement
  • The switch statement
  • The ternary operator

Practice

  • Leap Year
    • Every 4 years
    • But not every 100 years
    • But again every 400 years
    • Ex: 1900 is not a leap year, 1901 is not a leap year, 1904 is a leap year, 2000 is a leap year
  • Random Number Guessing Game

Bigger Data Types

  • Arrays
  • ArrayLists
  • Maps

Loops

  • The while loop
  • The for loop
  • The "for each" loop

Methods

  • Method declaration
  • Parameters and arguments
  • The return keyword

Object Oriented Programming

  • Classes and objects (instances)
  • Object properties and methods
  • Inheritance
  • Abstract classes
  • Interfaces

Exception Handling

  • What are exceptions
  • How to handle exceptions
  • Why catch exceptions

Additional Topics

  • Recursion

After the Course

More topics to explore after the course.