Please enable JavaScript to use CodeHS

Arkansas Software Development

Selection and Iteration

Students learn how to control the flow of a program using conditional statements and loops. They develop Boolean expressions, use relational and logical operators, and write selection statements with if, if-else, and if-else-if. Students also explore iteration through while and for loops, including nested and compound iterations.

Lessons

3.1 Algorithms with Selection and Repetition

  • Algorithms with Selection and Repetition
  • Morning Jog Algorithm
  • Algorithms with Selection and Repetition
  • Everyday Algorithms (Part 1)
  • Everyday Algorithms (Part 2)
  • +2 more

3.2 Boolean Expressions

  • Boolean Expressions
  • Boolean Predictions
  • Boolean Expressions
  • Boolean Truth Tables
  • Boolean Truth Tables Submission
  • +2 more

3.3 if Statements

  • If Statements
  • Temperature Checks
  • If Statements
  • Add Tip
  • Sweet or Unsweet?

3.4 Nested if Statements

  • if-else-if Statements
  • Positive, Negative, or Zero
  • if-else-if Statements
  • Nested if Statements
  • Food Order
  • +3 more

3.5 Compound Boolean Expressions

  • Compound Boolean Expressions
  • Bank Eligibility
  • Exploration: City Bus Discounts
  • Compound Boolean Expressions
  • Find the Median

3.6 Comparing Boolean Expressions

  • Equivalent Boolean Expressions
  • De Morgan's Example
  • Equivalent Boolean Expressions
  • Simplifying Boolean Expressions
  • Truth Tables
  • +3 more

3.7 while Loops

  • While Loops
  • While Loop Countdown
  • While Loops
  • Vending Machine
  • Infinite Loops and Exit Strategies
  • +2 more

3.8 for Loops

  • For Loops (Part 1)
  • For Loops (Part 2)
  • Two Loops
  • Print the Odds
  • For Loops
  • +1 more

3.9 Debugging Your Programs

  • The Debugging Protocol
  • Fix the Grade Calculator

3.10 Implementing Selection and Iteration Algorithms

  • Implementing Selection and Iteration Algorithms
  • Running Average
  • Max and Min Values
  • Your First Test Table
  • Control Structures Reflection

3.11 Nested Iteration

  • Nested Iteration (Part 1)
  • Nested Iteration (Part 2)
  • Multiplication Table
  • Nested Iteration
  • Make a Grid
  • +1 more

3.12 Informal Run-Time Analysis

  • Informal Run-Time Analysis
  • Evaluating Algorithms with Statement Execution Counts
  • Evaluating Algorithms with Statement Execution Counts Submission
  • Informal Run-Time Analysis
  • Improving findChar Efficiency

3.13 Module 3 Quiz

  • Module 3 Quiz

Courses that include this module