21. How to comment a single line?
22. What does %{Learn ruby language} represents?
23. What will any variable evaluate to if it is of Boolean data type?
24. What will we the output of the given code?
I'am Learning RUBY Language.downcase
I'am Learning RUBY Language.downcase25. What does the notataion \b stands for?
26. The following is the correct way to use multiline comment.
= begin
# comment
= end
= begin
# comment
= end27. What is the extension used for saving the ruby file?
28. What is the sequence of ruby strings?
29. Which of the following languages syntax matches with the Ruby's syntax?
30. What does the .upcase method do?
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.
