Data and Operators
Overview
This chapter introduces constants and variables, data types, and operators.
Chapter Outline
- Constants and Variables
- Identifier Names
- Data Types
- Order of Operations
- Assignment
- Arithmetic Operators
- Integer Division and Modulus
- Unary Operations
- Lvalue and Rvalue
- Data Type Conversions
- Input-Process-Output Model
- Code Examples
- Practice
Learning Objectives
- Understand key terms and definitions.
- Understand basic data types and how operators manipulate data.
- Given example pseudocode, flowcharts, and source code, create a program that uses appropriate data types and operators to solve a given problem.