Ruby Online Test
For jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor companies
Screen real Ruby skills, flag human or AI assistance, and interview the right people.
About the test
The Ruby online test assesses knowledge of programming in the Ruby language. This test requires solving live coding problems in Ruby.
The assessment includes work-sample tasks such as:
- Serializing to/from JSON to handle web requests.
- Finding and fixing bugs, and handling exceptions.
- Extracting data from text using Regex.
A good Ruby developer needs a solid understanding of the Ruby programming language and knowledge of its data structures and language constructs to write robust and maintainable code.
Sample public questions
Implement a group_by_owners function that:
- Accepts a hash containing the file owner name for each file name.
- Returns a hash containing an array of file names for each owner name, in any order.
For example, for hash {'Input.txt' => 'Randy', 'Code.py' => 'Stan', 'Output.txt' => 'Randy'} the group_by_owners function should return {'Randy' => ['Input.txt', 'Output.txt'], 'Stan' => ['Code.py']}.
As part of a data processing pipeline, complete the implementation of the pipeline method:
- The pipeline method should accept a variable number of functions, and it should return a new function that accepts one parameter arg.
- The returned function should call the first function in pipeline with the parameter arg, and call the second function with the result of the first function.
- The returned function should continue calling each function in pipeline in order, following the same pattern, and return the value from the last function.
For example, calling pipeline(-> (x) { x * 3 }, -> (x) { x + 1 }, -> (x) { x / 2 }), and then calling the returned function with 3 should return 5.
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Ruby test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
20 more premium Ruby questions
Chain Link, Username, Crop Ratio, Segment, Read Write Execute, Read First Line, Log Patch, Numbers To Text, Students, Date Transform, Language Teacher, Category Tree, Hobbies, String Occurrence, Paragraph, Document Store, Shipping, Ranges, Pet Names, Greeter.
Skills and topics tested
- Ruby
- Linked List
- Regex
- Strings
- Bug Fixing
- Integer Division
- Language
- Arithmetic
- Exceptions
- Monkey Patching
- JSON
- Serialization
- Sorting
- Inheritance
- OOP
- Hash
- Arrays
- Iteration
- Stream
- Ranges
For job roles
- Back-End Developer
- Ruby Developer
- Web Developer
Sample candidate report
AI-driven cheating detection
Protect against bad hires with automated highlighting of possible cheating attempts. Spend less time reviewing proctoring details and identify cheating in seconds.
What others say
Reliable, AI-ready technical testing
I thought the rise of AI would render it obsolete, BUT, the platform has definitely adapted to the changing times and I find it to be the only reliable way to do our online technical assessments nowadays. With its system proctoring and AI-detection tools, I feel confident that the applicants aren't able to cheat.
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
130+ skills
AI-ready assessments
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports










