Skip to content
ifIan Fang.
HomeProjects TeachingCompetitive ProgrammingNotes AboutGitHub โ†—
Teaching materials
CoursesLearning resourcesPresentationsSearch materialsUsing these materials
In this collectionContents:
  • Type, Variable, Assignment, and Expression
  • Reference Type Basics
  • Array Basics
  • Control Flow
Teaching / COP 3014 Algorithm and Program Design / Chapter 2: Variables, Expressions and Control Structures
Learning materials

Chapter 2: Variables, Expressions and Control Structures

On this page

Contents:

  • Type, Variable, Assignment, and Expression
    • Types
    • Variables
    • Literal
    • Assignment
    • Conversion and Type casting
    • Expressions
    • Core Concepts
  • Reference Type Basics
    • TR;DR
    • Overview
    • Pitfalls
    • Examples
  • Array Basics
  • Control Flow
    • Types
    • Branch
    • Loop
Find another topic โ†’Adapted from the teaching collection
Ian Fang.   Computing, one idea at a time.
Personal site โ†—TeachingPresentations