LaunchCode logo
  1. Contents
  2. 4. Data and Variables

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. Type Conversion
    1. 4.2.1. Check Your Understanding
  3. 4.3. Variables
    1. 4.3.1. Declaring and Initializing Variables With let
    2. 4.3.2. Evaluating Variables
    3. 4.3.3. Reassigning Variables
    4. 4.3.4. Check Your Understanding
  4. 4.4. More On Variables
    1. 4.4.1. Creating Constants With const
    2. 4.4.2. Naming Variables
      1. 4.4.2.1. Valid Variable Names
      2. 4.4.2.2. Good Variable Names
      3. 4.4.2.3. Camel Case Variable Names
    3. 4.4.3. Keywords
    4. 4.4.4. Check Your Understanding
  5. 4.5. Expressions and Evaluation
  6. 4.6. Operations
    1. 4.6.1. Operators and Operands
    2. 4.6.2. Arithmetic Operators
    3. 4.6.3. Order of Operations
    4. 4.6.4. Check Your Understanding
  7. 4.7. Other Operators
    1. 4.7.1. The String Operator +
    2. 4.7.2. Compound Assignment Operators
  8. 4.8. Input with readline-sync
    1. 4.8.1. Requesting Data
    2. 4.8.2. Syntax
      1. 4.8.2.1. Load the Module
      2. 4.8.2.2. How to Prompt the User
    3. 4.8.3. Critical Input Detail
    4. 4.8.4. Check Your Understanding
  9. 4.9. Exercises: Data and Variables
    1. 4.9.1. The Data
    2. 4.9.2. The Exercises
  10. 4.10. Studio: Data and Variables
    1. 4.10.1. Before You Start
    2. 4.10.2. Declare and Initialize Variables
    3. 4.10.3. Generate the LC04 Form
      1. 4.10.3.1. Example Output
    4. 4.10.4. Show Off Your Code
    5. 4.10.5. Bonus Mission
  • ← 3.6. Welcome, Novice Coder
  • 4.1. Values and Data Types →

Back to top