11.
What is the output of given code?
puts "what is your first name?"
   name=gets.chomp
   puts "what is your surname?"
   surname=gets.chomp

13.
What will we the output of the given code?
"I'am Learning RUBY Language".downcase

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.