An unhandled error has occurred. Reload X
Skip to main content

Ruby Association Certified Ruby Programmer (Silver) Practice Test

112 questions available

Ruby programming certification covering Ruby syntax, data structures, object-oriented programming, blocks, iterators, and standard library usage. Administered by Ruby Association. Key domains include Built-in libraries, Object orientation and Syntax. The exam consists of 50 questions over 90 minutes.

Certification exam
50 Exam questions
1 hour 30 minutes Time Limit
Practice bank
112 Practice Questions
1 hour 52 minutes Practice Time
Start Practice
The bank 112 Practice questions checked against the official objectives.
qf-import112 practice questionsBlueprint 1.0Bank updated 2026-05-04

Sample Questions

Try a few questions to see what the full exam is like.

Syntax

A library maintainer is reviewing guard clauses in a Ruby 3.1.x script for a CSV cleanup gem. The code treats only false and nil as falsey: values = ["", 0, false, nil] kept = values.select { |value| value } p kept Which result should the reviewer expect?

Object orientation

A bootcamp team is deciding whether a module method should become an instance method or a singleton method in Ruby 3.1.x: module Auditable def audit_tag = "ok" end class Invoice include Auditable end p [Invoice.respond_to?(:audit_tag), Invoice.new.respond_to?(:audit_tag)] What is printed?

Syntax

A bootcamp team is checking constant behavior in Ruby 3.1.x: NAME = "ruby" NAME.upcase! p NAME What is printed?

Built-in libraries

A library maintainer is sorting records in Ruby 3.1.x and needs stable intent, not string comparison: rows = [{name: "b", score: 7}, {name: "a", score: 9}, {name: "c", score: 5}] p rows.sort_by { |row| [row[:score], row[:name]] }.map { |row| row[:name] } What is printed?

Syntax

A payments team uses parallel assignment to split a small Ruby 3.1.x tuple: first, *middle, last = [2, 4, 6, 8] p [first, middle, last] What is printed?

Why This Certification Opens Doors

In real-world development, a deep and precise understanding of Ruby's fundamentals directly translates to writing cleaner, more maintainable, and less error-prone code. This exam focuses on the precise details-such as variable scope, method lookup, and core class behavior-that are the root cause of subtle bugs in production applications. Mastering these concepts allows developers to debug more efficiently, collaborate more effectively on code reviews, and fully leverage Ruby's expressiveness. It moves you from simply making code work to understanding why it works, which is essential for professional growth and contributing to significant projects.

Exam Blueprint

01Built-in libraries
02Object orientation
03Syntax

Exam Details RUBY-SILVER | 1 hour 30 minutes

Exam Code RUBY-SILVER
Vendor qf-import
Time Limit 1 hour 30 minutes
Exam questions 50

Frequently Asked Questions

I've been using Ruby on Rails for a year. Is this exam for me?

Yes, absolutely. Rails developers often learn Ruby within the framework's context, which can leave gaps in pure Ruby knowledge. This exam will strengthen your foundational understanding, making you a more effective Rails developer by clarifying the language mechanics that Rails builds upon.

How much hands-on coding experience should I have before attempting the Silver exam?

You should be comfortable writing small to medium Ruby scripts and solving problems without framework assistance. A good benchmark is having 6-12 months of consistent Ruby programming or equivalent project experience. The ability to read and understand most Ruby code is essential.

Are there trick questions?

The exam does not contain 'trick' questions in the deceptive sense. However, it does contain precise questions designed to test your understanding of specific, documented Ruby behaviors. What may feel like a trick is often a test of whether you know the exact behavior versus making an assumption.

Is memorizing the Ruby API documentation necessary?

No, rote memorization of every method is not required. However, you must be deeply familiar with the purpose and common use of core classes (String, Array, Hash, etc.), their most important methods, and how modules like Enumerable work. Understanding the *concepts* is more critical than memorizing every parameter.

What is the single most important area to focus on?

Object-Oriented Programming in Ruby is paramount. A thorough grasp of classes, objects, methods (instance, class, singleton), inheritance, mix-ins, and method lookup (ancestor chain) is the cornerstone of the exam and of professional Ruby development.