Home / Programming MCQs / Ruby MCQs / Question
T
Q. On which platform ruby runs ?
Explanation:
Ruby runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
You must be Logged in to update hint/solution
Which symbol is used to declare a variable in Ruby?
Which character is used to give comment in ruby?
What is the output of the given code? i = 0 while i < 5 puts i i=(i+1)**2 end
What will be output of the given code? my_array = [1, 2, 3, 4] print my_array
What does the principle of DRY stand for in Ruby programming?
Which tool is commonly used for Ruby version management and dependency isolation?
What are the different types of comments in Ruby?
What is the result of calling a method in Ruby without parentheses?
What is the purpose of the `extend` keyword in Ruby classes?
Discusssion
Login to discuss.