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. See moreAll the best!
Integer
String
Float
Char
None of the Above
Rate this question:
Local variable
Global variable
Instance variable
Class variable
None of the above
Rate this question:
Local variable
Global variable
Instance variable
Class variable
None of the above
Rate this question:
Local variable
Global variable
Instance variable
Class variable
None of the above
Rate this question:
True
False
Rate this question:
Multiple Programming Paradigms
Dynamic Type System
Automatic Memory Management
All of the Mentioned
Rate this question:
Amil Jones
What’s your first name? amil What’s your last name? jones My name is Amil Jones
What's your first name? (input) What's your last name? (input) My name is [Capitalized First Name] [Input Last Name]
None of the mentioned
Rate this question:
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
Rate this question:
“Learn Ruby language”
“%{Learn Ruby language}”
” Learn language ”
None of the mentioned
Rate this question:
Same as back tick command output `ls`
Same as ‘x’
Same as “xls”
None of the mentioned
Rate this question:
The .length method
The .upcase method
The .downcase method
The .irreverse method
Rate this question:
Quiz Review Timeline (Updated): Mar 8, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.