Introduction to Programming with Ruby

Programming Foundations with Ruby

This course aims to introduce you to the basic programming concepts using Ruby. You'll start with writing your first Ruby script and gradually move on to understanding variables, strings, and basic operations. By the end of this course, you will have a solid foundation of Ruby programming essentials necessary for any aspiring computer programmer.

Lessons and practices

Running Your First Ruby Script

Modify the Greeting Message

Fix This Ruby Script

Complete the Missing Script

Writing a Complete Ruby Script

Working with Ruby Variables

Change Variable Values in Ruby

Fixing Bugs in Ruby Variables

Change Travel Cities

Writing Variables in Ruby

Managing Travel Days in Ruby

Managing Days in Iconic Cities

Fix the Adventure Script

Calculating the Number of Photos

Adding Up Travel Days

Calculate Total Days of Adventure

String Interpolation in Practice

Calculating Trip Costs Efficiently

Fix String Interpolation Bug

Adding More Details to Adventure

String Interpolation Adventure

Adventure Ready with Booleans

Change Destination and Visitation Status

Fix the Boolean Bug

Add a Third Destination

Adventure Visitation Status

Comparison Operators in Action

Switch Comparison Values of a and b

Fix the Comparison Bug

Fill in Missing Comparisons

Comparing Values with New Operators

Mountain Heights Comparison with Ruby

Interested in this course? Learn and practice with Cosmo!

Practice is how you turn knowledge into actual skills.