APCSA | Blog Post 2

Enduring Understandings

  • Computer programs is based on source code and required processing (compiling/interpretation) before execution. [completed]

Essential Questions

  • How to write a computer program?

Class Content

  1. Basic arithmetics in Java

  2. Different datatypes in Java Language

  3. Differences between int, double and float

Write a post on your learning journal

Slide (http://skylit.com/javamethods/ppt/Ch05.ppt)

Reflection homework – blog or video describing what you learned this class. Did you have any difficulties you had to overcome? Any questions, left unanswered? What did you do this lesson that was successful?

Nope 🙂

What is the difference between double and float? (can also watch video)

Float – Less precision, requires space for • 10^x. Bigger numbers, less space. 4 bytes.

Double – More precision, takes more space. 8 bytes.

How does args work in the main function? Can you name args something different? explain and remember to add images to help visualise.

Args are the argument. You can name them anything you want, as long as you are consistent.

Leave a Reply