Basic Syntax In Ruby - Study Mode

[#26] It is must for Ruby to use a compiler.
Correct Answer

(B) False

[#27] Why is the library function 'puts'used for?
Correct Answer

(B) Prints whatever is given and insert a new(blank) line

[#28] Ruby is a case-sensitive language.
Correct Answer

(A) True

[#29] What will be the output of the following? "Ruby".reverse.upcase
Correct Answer

(C) YBUR

[#30] Which of the following features does the 2.0 version of ruby supports?
Correct Answer

(D) All of the mentioned