Unit 2 - Variables and Printing
Every assignment you submit in this course MUST HAVE THE FOLLOWING MINIMUM information:
// You Name Due Date
/* Brief written description
of how your program works and what is produces.
*/
Formatting Exemplar
Day 1 - Variables and Printing, and Connecting the keyboard to your Java Program
Data Types table is on PDF 17 in the textbook
YOU ARE NOT EXPECTED TO KNOW HOW TO USE printf(). You will not be tested on it.
Day 2 - Math Operations
Math Operations Continued
Legal Characters in a Variable Name
Letters
$
_ (underscore)
Digits following a leading letter, $ or underscore
Practice Questions - PDF33 questions 1-12 answers are here
Keyboard Input Fundamentals in Java - REMINDERS!
Start working on PDF33 9 to 12, 14-18 - programming math operations
Solution to: Question 15
Question 16
Question 17
Question 18
Errors: The Three Kinds
Syntax Errors
Logic Errors
Runtime Errors
These are found in Appendix B of the Textbook. This is testable material.
Using the Formatted Print Statement (printf). You won't be tested on this, but it's good to know.
// You Name Due Date
/* Brief written description
of how your program works and what is produces.
*/
Formatting Exemplar
Day 1 - Variables and Printing, and Connecting the keyboard to your Java Program
Data Types table is on PDF 17 in the textbook
YOU ARE NOT EXPECTED TO KNOW HOW TO USE printf(). You will not be tested on it.
Day 2 - Math Operations
Math Operations Continued
Legal Characters in a Variable Name
Letters
$
_ (underscore)
Digits following a leading letter, $ or underscore
Practice Questions - PDF33 questions 1-12 answers are here
Keyboard Input Fundamentals in Java - REMINDERS!
Start working on PDF33 9 to 12, 14-18 - programming math operations
Solution to: Question 15
Question 16
Question 17
Question 18
Errors: The Three Kinds
Syntax Errors
Logic Errors
Runtime Errors
These are found in Appendix B of the Textbook. This is testable material.
Using the Formatted Print Statement (printf). You won't be tested on this, but it's good to know.