Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Exploring Iterations and Loops in Ruby

via CodeSignal

Overview

Discover the versatility and power of loops in Ruby through this comprehensive course on `for` loops, `while` loops, and `until` loops. By learning these structures, you can perform repetitive tasks with ease, enhancing the functionality and efficiency of your Ruby scripts.

Syllabus

  • Lesson 1: Introduction to Loops - Basic for and each Loops
    • Exploring Loops with Ruby
    • Changing Collections in Loops
    • Fix the Loop Errors
    • Fix the Loop Bug
    • Master Ruby Loops Today
    • Master Loop Constructs in Ruby
  • Lesson 2: Loop Controls - break, next
    • Control Loop Flow Efficiently
    • Modifying Loop Controls Task
    • Fix Loop Control Bugs
    • Control Loop Processing in Ruby
    • Control Flow with Tasks
    • Control Loop Flow with Ease
  • Lesson 3: Understanding `while` and `until` Loops in Ruby
    • Understanding While and Until Loops
    • Understanding Loops for Budget Management
    • Adjust Activity Cost in Loops
    • Fix the Loop Errors
    • Fill the Missing Loop Parts
    • Mastering While and Until Loops
  • Lesson 4: Nested Loops - Operating Over Multiple Sequential Collections
    • Nested Loops in Action
    • Adding Details to Nested Loops
    • Enhanced Sightseeing Planner
    • Discovering Cuisines with Nested Loops
    • Write Nested Loops from Scratch
  • Lesson 5: More Complex Loop Practices - Building Algorithms
    • Calculate Total and Average Days
    • Run the Travel Days Calculation
    • Using `each_key` for Listing Countries
    • Calculate Cultural Events Average
    • Total and Average Costs Calculation

Reviews

Start your review of Exploring Iterations and Loops in Ruby

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.