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/5Score 0

Is Ruby statically or dynamically typed?

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

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web