4. Data and VariablesΒΆ

  1. 4.1. Values and Data Types
    1. 4.1.1. More On Strings
    2. 4.1.2. More On Numbers
    3. 4.1.3. Type Systems
    4. 4.1.4. Check Your Understanding
  2. 4.2. More On Data Types
    1. 4.2.1. Static vs. Dynamic Typing
    2. 4.2.2. Built-In Types
      1. 4.2.2.1. Primitive Types
      2. 4.2.2.2. Non-primitive Types
    3. 4.2.3. Reference and Value Types
      1. 4.2.3.1. Boxing
    4. 4.2.4. Check Your Understanding
  3. 4.3. Type Conversion
    1. 4.3.1. Check Your Understanding
  4. 4.4. Variables
    1. 4.4.1. Declaring and Initializing Variables
    2. 4.4.2. Evaluating Variables
    3. 4.4.3. Reassigning Variables
    4. 4.4.4. Check Your Understanding
  5. 4.5. More On Variables
    1. 4.5.1. Creating Constants With const
    2. 4.5.2. Naming Variables
      1. 4.5.2.1. Valid Variable Names
      2. 4.5.2.2. Good Variable Names
      3. 4.5.2.3. Camel Case Variable Names
    3. 4.5.3. Keywords
    4. 4.5.4. Check Your Understanding
  6. 4.6. Expressions and Evaluation
  7. 4.7. Operations
    1. 4.7.1. Operators and Operands
    2. 4.7.2. Arithmetic Operators
      1. 4.7.2.1. More on the Modulus
      2. 4.7.2.2. More on Exponentiation
    3. 4.7.3. Order of Operations
    4. 4.7.4. Check Your Understanding
  8. 4.8. Other Operators
    1. 4.8.1. The String Operator +
    2. 4.8.2. Compound Assignment Operators
  9. 4.9. Input with ReadLine
    1. 4.9.1. Requesting Data
    2. 4.9.2. Syntax
      1. 4.9.2.1. How to Prompt the User
    3. 4.9.3. Critical Input Detail
    4. 4.9.4. Check Your Understanding
  10. 4.10. Exercises: Data and Variables
    1. 4.10.1. The Data
    2. 4.10.2. The Exercises
  11. 4.11. Studio: Data and Variables
    1. 4.11.1. Before You Start
    2. 4.11.2. Declare and Initialize Variables
    3. 4.11.3. Generate the LC04 Form
      1. 4.11.3.1. Example Output
    4. 4.11.4. Show Off Your Code
    5. 4.11.5. Bonus Mission