Please enable JavaScript to use CodeHS

Maryland Computer Science: 5th Grade

Conditionals & Operators

Students use conditionals and pseudocode to navigate mazes and chase-based games, apply comparison operators to build game-ending mechanics, and plan and decompose the steps of a quest program.

Lessons

4.1 Conditionals: Mazes

  • Conditionals: Mazes

4.2 Complex Conditionals: Chase the Star

  • Complex Conditionals: If/Then/Else Chase the Star

4.3 Game Mechanics with Comparison Operators

  • Game Mechanics with Comparison Operators

4.4 Plan a Quest

  • Plan a Quest

Courses that include this module