ITEC 120: Wee4 2
- QUIZ 1 on TUESDAY! Based on
Homework 1
- Lab 3
- Lab 4
- Selected Topics from Chapter 1:
- Language levels, compilers, java bytecode,
- Syntax and semantics
- Kinds of errors and program development
- Bit permutations needed to represent a code
- Memory organization and storage capacity
-
Chapter 1 Powerpoint Slides - Edited
-
Examples from Chapter 1
- Selected Topics from Chapter 2:
- Character String Literals
- String Concatenation
- Print and println
- Escape sequences
- Variables and Assignment
- declaration
- initialization
- assignment operator and statement
- constants
- Primitive data types: byte, short, int, long, character, boolean
- Expressions
- Operators: +, -, *, /, %
- Result type
- Operator precedence
- Expression trees
- Data Conversion
- To know for lab 3
- the two meanings of plus (concatenation and addition)
- how plus behaves in printlns
- escape sequences (printing tabs, ", \, etc)
- To know for lab 4
- variables: declaring and initializing
- assignment statements
- expressions (include integer division vs. floating pt division)
- reading input
- possibly casting
-
Chapter 2 Powerpoint Slides - Edited
-
Examples from Chapter 2