Home / Programming Questions / Ruby MCQs / Page 9
Dear candidates you will find MCQ questions of Ruby here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
V
Q. Which statement is used to Jumps to the next iteration of the most internal loop?
V
Q. Which statement is used to Restarts this iteration of the most internal loop, without checking loop condition?
V
Q. Which statement is used to restarts the invocation of the iterator call?
V
Q. What does the 1..5 indicate?
V
Q. What does end represent?
V
Q. Which of the following is Exit Controlled loop?
V
Q. What will be the output of the given code?
for num in 1...5 puts num end
V
Q. What will be the output of the given code?
for i in 1...3 for j in 1..3 puts j end end
Don't have account? Register here.