Test your Ruby Knowledge

Test your Ruby Knowledge

Learn if you know everything about the popular computer language called Ruby by taking this carefully crafted quiz

published on May 03, 2023
1/9

What does the __ stand for in the latest Ruby version?

What does the __ stand for in the latest Ruby version?
RO
RV
RB
RC
2/9

What is the official website to get the latest on Ruby language?

What is the official website to get the latest on Ruby language?
ruby.org.au
rubyonrails.org
rubyonweb.com
ruby-lang.org
3/9

What is the extension of Ruby source code files?

What is the extension of Ruby source code files?
.rby
.rb
.ruby
.rub
4/9

What is the other name for the Ruby interpreter?

What is the other name for the Ruby interpreter?
RubyRunner
RubyEnv
RubyParser
Ruby compiler
5/9

Which type of programming language is Ruby?

Which type of programming language is Ruby?
Interpreted
Functional
Object-oriented
Compiled
6/9

Which of the following is not a feature of Ruby?

Which of the following is not a feature of Ruby?
Garbage Collection
Static Type Checking
Dynamic Typing
Dual Syntax
7/9

A method in Ruby can take any of the following?

A method in Ruby can take any of the following?
Subroutine
Fixed Arguments
Blocks
Variables
8/9

Which of the following is not a component/feature in Ruby?

Which of the following is not a component/feature in Ruby?
Nodes
GEMS
Frontend UI Components
Modules
9/9

Which of the following is false about blocks in Ruby?

Which of the following is false about blocks in Ruby?
The passed block stays attached to the calling method until its called from the Body of method
Blocks takes in parameters from the calling method
Blocks always evaluates to true
Blocks can be used to define object contexts