CSE 121
CSE 121
  • Home / Calendar
  • Syllabus
  • Assignments
  • Resubmissions
  • Exam
  • Getting Help
  • Course Staff
  • Grading Rubrics
  • Resources

  • Course Tools
  • EdStem
  • Grade Calculator
  • Anonymous Feedback
  • Acknowledgements

Course Cheatsheets


These cheatsheets are designed to help you quickly review the key concepts and syntax. You can also print and use them as a study guide for the course!


Java Basics, Printing, and Turtle Graphics¶

  • Structure of a Java program
  • Printing
  • Comments
  • Turtle Graphics
  • Turtle Methods

Data Types, Expressions, and Operations¶

  • Escape Sequences
  • Data Types
  • Expressions
  • Arithmetic Operators
  • Relational Operators
  • Logical Operators

Variables, Strings, and Debugging¶

  • Escape Sequences
  • Variables
  • Variable Naming Rules & Conventions
  • Strings
  • String Indexing
  • String Methods
  • Type Casting

For Loops¶

  • The For Loop
  • For Loop Control Flow

Nested For Loops, Random, and Constants¶

  • Nested For Loops
  • Update Statements
  • Random Methods
  • Fenceposting

Methods and Parameters¶

  • Methods
  • Class Constants
  • Parameters

Math Class and Returns¶

  • Math Class
  • Returns

Relational/Logical Operators and Conditionals¶

  • Relational Operators
  • Logical Operators
  • if/else Statements
  • Conditionals

While Loops, User Input, and Scanner¶

  • While Loops
  • User Input and Scanner
  • Scanner Methods
  • Fenceposting

Arrays¶

  • Declaring Arrays
  • Array Methods

2D Arrays¶

  • Declaring 2D Arrays
  • 2D Array Traversal

Search

Search the class website; related sections and pages will appear below. Note: this search is not as forgiving with typos as other search engines.