All quizzes
Free quiz · 24 questions in the bank

Ruby quiz

Test your Ruby knowledge with a free interactive quiz — 24 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is `irb`?

In this round
  1. What is `irb`?
  2. What does `5.times { puts "hi" }` do?
  3. What does "duck typing" mean in Ruby?
  4. How do you define a method in Ruby?
  5. Is Ruby statically or dynamically typed?
  6. What does `attr_accessor :name` generate?
  7. What is a Ruby gem?
  8. How does Ruby handle string interpolation?
  9. What is a Ruby symbol like `:name`?
  10. What does `nil` represent in Ruby?
  11. What is a block in Ruby?
  12. In Ruby, what is true about (almost) everything?
Gaps to close?
Read the curated Ruby notes — core concepts, patterns, interview prep.
Ruby notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web