Unit 1. Primitive Types

In this unit you will learn how to write simple programs using only variables of type int and double. Topics covered include:

  • Variables

  • Data types: int, double, and boolean

  • Assignment statements

  • Numeric Literals

  • Integer Division

  • Creating and Using Scanner Objects

  • Casting to an Int

  • Increment and Decrement Operators

  • Modulus Operator %

Below are the notes and programs for this unit. The programs will be completed on firewalledReplit.com.

csa_u1_notes 2020_21_PLAIN.pdf
csa_u1_programs 2021.pdf