AP CS A - Variables and Primitives

Unit 1, Day 4

Mr. Jones | AP Computer Science A

Warmup

Warmup

Grab a nametag and find a seat

Review! CodeHS: 1.2.9 Answering Questions

Don’t worry if you have trouble. We’ll go over it together!

A look ahead

Plan for the next few days:

  • Today: Math with primitives
  • Wednesday: More primitives practice
  • Friday: Project
  • Tuesday: Primitives Quiz

Today

Math with Primitives

Which IDE should we use today?

Primitives Topics

  • PEMDAS
  • Modulo
  • ++, +=
  • final
  • round double to int using casting

Practice

  • 1.3.8 Freely Falling Bodies
  • 1.4.5 Work Shift

Recap Unit 1, Day 4

Welcome to class!

Next class we’ll discuss more about the syllabus and start talking about programming!