01
Program, Value and Variable
What a program is, how values are bound to names, and building expressions with the basic data types.
- 01 What Is a Program The input-process-output model, execution order, the distinction between statements and expressions, and error types.
- 02 Variables and Binding How a name is bound to a value, the meaning of assignment, two models of variables, and naming conventions.
- 03 Basic Data Types The concept of type, integers, real numbers, booleans, strings, and null values; static and dynamic typing.
- 04 Operators and Expressions Arithmetic, comparison, and logical operators; precedence, associativity, and short-circuit evaluation.
- 05 Type Conversion Explicit and implicit conversion, lossy narrowing, conversion errors, and input validation.