Ruby is an Object-Oriented and interpreted scripting language which executes instructions directly and freely, without compiling a program into machine-language instructions that have similar syntaxes like another programming language for eg. C and Java. This quiz has been made to test your skills and knowledge about the basic syntax of the Ruby programming language. So, let's try out the quiz. All the best!
Strongly typed/Statically typed
Strongly typed/Dynamically typed
Weakly typed/Statically typed
Weakly typed/Dynamically typed
None of the above
Integer
String
Float
Char
None of the Above
Local variable
Global variable
Instance variable
Class variable
None of the above
Local variable
Global variable
Instance variable
Class variable
None of the above
Local variable
Global variable
Instance variable
Class variable
None of the above
True
False
Multiple Programming Paradigms
Dynamic Type System
Automatic Memory Management
All of the Mentioned
Amil Jones
What’s your first name? amil What’s your last name? jones My name is Amil Jones
What’s your first name? amil What’s your last name? jones My name is Amil jones
None of the mentioned
12,48,40
Syntax error
The value of x is 12. The sum of x and y is 48. The average was 40.
None of the mentioned
“Learn Ruby language”
“%{Learn Ruby language}”
” Learn Ruby language ”
None of the mentioned
Same as back tick command output `ls`
Same as ‘x’
Same as “xls”
None of the mentioned
The .length method
The .upcase method
The .downcase method
The .irreverse method