1. What symbol is used to denote comments in Ruby?
2. Which symbol is used to concatenate strings in Ruby?
3. What does the 'puts' method do in Ruby?
4. In Ruby, what is the keyword used to define a method?
5. Which of the following is a valid variable name in Ruby?
6. What does the 'gets' method do in Ruby?
7. Which of the following is NOT a valid data type in Ruby?
8. What is the correct syntax for defining a variable in Ruby?
9. What does the 'print' method do in Ruby?
10. What symbol is used to denote the end of a statement in Ruby?
Read More Section(Basic Syntax in Ruby)
Each Section contains maximum 100 MCQs question on Basic Syntax in Ruby. To get more questions visit other sections.