Home / Programming MCQs / Ruby MCQs / Question
M
Q. What is the result of the expression: 5 % 2 in Ruby?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following type of comments are valid in ruby?
Which keyword is used to refer to the current instance of a class in Ruby?
What is the output of the given code? m=0 loop do puts 101 m+=1 break if m==5 end
What is the main difference between instance_eval and class_eval in Ruby?
What is the result of the expression: true && false in Ruby?
What does the >= operator do in Ruby?
What will be output for the following code?
What is the purpose of a .gitignore file in a Ruby project?
Which of the following is not a type of loop in ruby?
What is the output of the given code? counter = 100 while counter > 0 puts counter counter-=25 end
Discusssion
Login to discuss.