Here is the completely updated `question.php`. I added the missing `$breadcrumbs` array and defined `$category_name` and `$topic_name` right before the header is included. This ensures that `header.php` generates the correct Breadcrumb Schema, page title, and meta description for single question pages. Replace your entire `question.php` with this: ```php Ruby Questions
Q. What is the result of the expression: 5 / 2 in Ruby?
3.5
2.5
2
3

Explanation:

The correct answer to the question is: 2

Q. Why is the library function 'puts'used for?
Prints whatever is given and print it to the screen
Prints whatever is given and insert a new(blank) line
Gets input from the user
None of the mentioned

Explanation:

The correct answer to the question is: Prints whatever is given and insert a new(blank) line

Q. Why do we use comments?
It is an efficient way of programming
For later use to understand the working of the program
All of the mentioned
It makes easy for the third person to understand

Explanation:

The correct answer to the question is: All of the mentioned

Q. Which method is used to convert a string to uppercase in Ruby?
.upcase
.to_upper
.uppercase
.to_uppercase

Explanation:

The correct answer to the question is: .upcase

Q. What does the 'print' method do in Ruby?
Prints to console
Finds the length
Reads input from user
Converts to string

Explanation:

The correct answer to the question is: Prints to console

Q. What is the output of the code?
What's your first name? amil What's your last name? jones My name is Amil Jones
None of the mentioned
My name is Amil jones
Amil Jones

Explanation:

The correct answer to the question is: What's your first name? amil
What's your last name? jones
My name is Amil Jones

Q. What is the output of the given code?
15 19 23
-5 -5 -5
None of the mentioned
10 20

Explanation:

The correct answer to the question is: -5 -5 -5

Q. What is the output of given code?
None of the mentioned
I'am Learning RUBY Language
Undefined method
"I'AM LEARNING RUBY LANGUAGE"

Explanation:

The correct answer to the question is: "I'AM LEARNING RUBY LANGUAGE"

Q. Which of the following is NOT a valid data type in Ruby?
Integer
Double
String
Float

Explanation:

The correct answer to the question is: Double

Q. In Ruby, what does the 'if' statement evaluate?
Integer
String
Boolean value
Expression

Explanation:

The correct answer to the question is: Boolean value

Q. What will be the output of the given code?
None of the mentioned
False False
True True
True False

Explanation:

The correct answer to the question is: True False

Q. Which of the following is a valid variable name in Ruby?
_variable
variable-1
my_variable
123variable

Explanation:

The correct answer to the question is: my_variable

Q. What is the output of the expression: 7 / 2 in Ruby?
3.5
4
2
3

Explanation:

The correct answer to the question is: 3

Q. What is the correct way to cast a string to an integer in Ruby?
string.to_i
string.integer
string.convert(:integer)
int(string)

Explanation:

The correct answer to the question is: string.to_i

Q. What will the following expression evaluate to?
(true && false) | | (!true)
True
Error
None of the mentioned
False

Explanation:

The correct answer to the question is: False

Q. Which of the following is the valid string method?
The .length method
The .downcase method
The .irreverse method
The .upcase method

Explanation:

The correct answer to the question is: The .irreverse method

Q. The downcase method changes the whole string to smallcase letters.
True
False

Explanation:

The correct answer to the question is: True

Q. Which method is used to convert a string to lowercase in Ruby?
.downcase
.lower
.to_lowercase
.lowercase

Explanation:

The correct answer to the question is: .downcase

Q. What is the correct syntax for string interpolation in Ruby?
%(variable)
variable.to_string
"#{variable}"
$(variable)

Explanation:

The correct answer to the question is: "#{variable}"

Q. What is the output of the expression: "5".to_i + 2 in Ruby?
"52"
7
+7
Error

Explanation:

The correct answer to the question is: 7

Q. What is the correct way to define a block in Ruby?
block code
do code end
function code
block { code }

Explanation:

The correct answer to the question is: block { code }

Q. What is the result of the expression: 9 / 2 in Ruby?
2.5
2
4.5
4

Explanation:

The correct answer to the question is: 2.5

Q. What will the following expression evaluate to?
true | | false
True
False
None of the mentioned
Error

Explanation:

The correct answer to the question is: True

Q. Which sequence can be used to substitute the value of any ruby expression in a string?
#(expr)
#{expr}
#expr
None of the mentioned

Explanation:

The correct answer to the question is: #{expr}

Q. The following is the correct way to use multiline comment.
True
False

Explanation:

The correct answer to the question is: False

Q. What is the output of the following?
ybur
Error in compilation
Undefined local variable ruby
4

Explanation:

The correct answer to the question is: Undefined local variable ruby

Q. What is the purpose of the require keyword in Ruby?
Creates a new class
Loads a specific Ruby file
Defines a new module
Imports external libraries

Explanation:

The correct answer to the question is: Imports external libraries

Q. What is the correct way to define a symbol in Ruby?
symbol = :value
symbol = 'value'
symbol = "value"
symbol = Symbol("value")

Explanation:

The correct answer to the question is: symbol = :value

Q. What is the correct syntax for accessing a class method?
object.method_name
method_name(Class)
Class.method_name
Class.new.method_name

Explanation:

The correct answer to the question is: Class.method_name

Q. Why is gets not preferred instead of gets.chomp?
Chomp erases the value stored in the variable
Gets remove an extra new line
Gets add an extra new line while chomp removes it
All of the mentioned

Explanation:

The correct answer to the question is: Gets add an extra new line while chomp removes it

Q. The '=' is used for assigning value to variable?
False
True

Explanation:

The correct answer to the question is: True

Q. Which of the following is the correct way to define a variable in Ruby?
var var_name = value
name = value
var_name = value
variable name = value

Explanation:

The correct answer to the question is: var_name = value

Q. What is the result of the expression: 3 ** 3 in Ruby?
9
6
3
27

Explanation:

The correct answer to the question is: 27

Q. What is the default file extension for Ruby files?
.rb
.rby
.ru
.ruby

Explanation:

The correct answer to the question is: .rb

Q. What do we mean by expression substitution?
Embedding the value of Ruby expression into a string using #{ }
Storing string value
Substituting string functions
None of the mentioned

Explanation:

The correct answer to the question is: Embedding the value of Ruby expression into a string using #{ }

Q. What is the extension used for saving the ruby file?
None of the mentioned
.ruby extension
.rb extension
.rrb extension

Explanation:

The correct answer to the question is: .rb extension

Q. What is the correct syntax to declare and initialize a variable in Ruby?
variable var_name = value
var_name = value
var var_name = value
variable_name = value

Explanation:

The correct answer to the question is: variable_name = value

Q. Which of the following features does the 2.0 version of ruby supports?
All of the mentioned
Security fixes
Method keyword arguments
New literals

Explanation:

The correct answer to the question is: All of the mentioned

Q. How do you check the truthiness of a value in Ruby?
if value != false
if (value) then code end
if value do code end
if value.is_truthy?

Explanation:

The correct answer to the question is: if value != false

Q. How do you get the current date and time in Ruby?
datetime = DateTime.now
date = Date.now
now = Date.today
time = Time.now

Explanation:

The correct answer to the question is: time = Time.now

Q. What is the correct syntax for a multiline comment in Ruby?
# ... #
// ... //
/* ... */
''' ... '''

Explanation:

The correct answer to the question is: ''' ... '''

Q. What does the && operator do in Ruby?
Logical OR
Logical NOT
Bitwise AND
Logical AND

Explanation:

The correct answer to the question is: Logical AND

Q. What is the correct way to concatenate two strings in Ruby?
str1.append(str2)
str1 + str2
str1.concat(str2)
str1.combine(str2)

Explanation:

The correct answer to the question is: str1 + str2

Q. In Ruby, what is the keyword used to define a constant?
CONSTANT_NAME = value
constant_name = value
constant name : value
constantName(value)

Explanation:

The correct answer to the question is: CONSTANT_NAME = value

Q. Which operator is used for exponentiation in Ruby?
**
^^
^
//

Explanation:

The correct answer to the question is: **

Q. What symbol is used to denote the end of a statement in Ruby?
;
:
.
,

Explanation:

The correct answer to the question is: ;

Q. What is the size of an integer data type in ruby?
-2 to 2
-2 to 2
-2 to 2
-2 to 2

Explanation:

The correct answer to the question is: -2 to 2

Q. What does the 'chomp' method do in Ruby?
Removes trailing whitespace
Converts to integer
Reads input from user
Splits a string

Explanation:

The correct answer to the question is: Removes trailing whitespace

Q. What does the 'gets' method do in Ruby?
Reads input from user
Converts to string
Finds the length
Prints to console

Explanation:

The correct answer to the question is: Reads input from user

Q. How do you call a method in Ruby?
method_name(object)
method_name()
object.method_name
object.method_name()

Explanation:

The correct answer to the question is: object.method_name

Q. Which of these operators is used for string concatenation?
*
+
-
/

Explanation:

The correct answer to the question is: +

Q. In Ruby, what is the default file extension for Ruby files?
.ruby
.rb
.ru
.rby

Explanation:

The correct answer to the question is: .rb

Q. What does the **= assignment operator do?
It is the multiplication operator.
Multiplies the value twice
None of the mentioned
It is used as exponent like 2**3=8

Explanation:

The correct answer to the question is: It is used as exponent like 2**3=8

Q. How do you break out of a loop in Ruby?
exit()
end()
continue()
break()

Explanation:

The correct answer to the question is: break()

Q. first_name,Last_name=gets.chomp,gets.chomp is the correct way to get the input from the user.
True
False

Explanation:

The correct answer to the question is: True

Q. What is the correct way to declare a variable in Ruby without assigning a value?
None of the above
var_name = nil
var_name = ""
var_name

Explanation:

The correct answer to the question is: var_name

Q. What is the correct syntax for creating a hash in Ruby?
hash = {}
hash.add("key", "value")
{"key1": "value1", "key2": "value2"}
Hash.new("key", "value")

Explanation:

The correct answer to the question is: {"key1": "value1", "key2": "value2"}

Q. Which of the following is a valid assignment operator?
-=
+=
*=
All of the mentioned

Explanation:

The correct answer to the question is: All of the mentioned

Q. Which of the following is the correct way to define a constant in Ruby?
constant_name = value
CONSTANT_NAME = value
constant_name : value
constantName(value)

Explanation:

The correct answer to the question is: CONSTANT_NAME = value

Q. Which of the following languages syntax matches with the Ruby's syntax?
Jquery
Java
PHP
Perl

Explanation:

The correct answer to the question is: Perl

Q. What is the correct way to declare and initialize an array in Ruby?
array = array_name[]
array array_name = []
array_name = []
array_name = array[]

Explanation:

The correct answer to the question is: array_name = []

Q. How do you access a value from a hash in Ruby?
hash.at("key")
hash.get("key")
hash.find("key")
hash["key"]

Explanation:

The correct answer to the question is: hash["key"]

Q. How do you add two numbers in Ruby?
add(a, b)
a + b
a.add(b)
b.add(a)

Explanation:

The correct answer to the question is: a + b

Q. Which symbol is used for the modulo operation in Ruby?
/
%
*
&

Explanation:

The correct answer to the question is: %

Q. How do you pass arguments to a method in Ruby?
method_name arg1 arg2
method_name.with(arg1, arg2)
method_name(arg1, arg2)
method_name { arg1, arg2 }

Explanation:

The correct answer to the question is: method_name(arg1, arg2)

Q. What is the correct way to declare and initialize a variable in Ruby?
var var_name = value
var_name = value
variable_name = value
variable var_name = value

Explanation:

The correct answer to the question is: variable_name = value

Q. Which of the following is the correct way to declare a constant in Ruby?
constant_name : value
constant_name = value
CONSTANT_NAME = value
constantName(value)

Explanation:

The correct answer to the question is: CONSTANT_NAME = value

Q. What will we the output of the given code?
"i'am learning ruby language"
i'AM lEARNING ruby lANGUAGE
iam learning ruby language
unterminated string meets end of file

Explanation:

The correct answer to the question is: unterminated string meets end of file

Q. How do you compare two objects in Ruby?
object1 == object2
object1 === object2
object1.equals(object2)
compare(object1, object2)

Explanation:

The correct answer to the question is: object1 == object2

Q. What is the correct way to define a conditional statement in Ruby?
if condition: code
if condition then code end
when condition; code
if (condition) { code }

Explanation:

The correct answer to the question is: if (condition) { code }

Q. Which of the following is the correct way to define a range in Ruby?
{1..10}
<1,10>
(1..10)
[1 to 10]

Explanation:

The correct answer to the question is: (1..10)

Q. What will be the output of the following?
ybuR
RUBY
YBUr
YBUR

Explanation:

The correct answer to the question is: YBUR

Q. What is the result of the expression: 6 / 2 in Ruby?
3
2.5
2
12

Explanation:

The correct answer to the question is: 2

Q. What is the correct way to define an array in Ruby?
array = new Array
array = Array.new
array = list("element1", "element2")
array = ["element1", "element2"]

Explanation:

The correct answer to the question is: array = ["element1", "element2"]

Q. We use semicolon or parentheses after every print or puts statement.
True
False

Explanation:

The correct answer to the question is: False

Q. What does the .upcase method do?
Convert only lowercase string to uppercase and vice-versa
Convert the string to uppercase
Convert the string to lowercase
None o the mentioned

Explanation:

The correct answer to the question is: Convert the string to uppercase

Q. What is the method used to convert a string to lowercase in Ruby?
.lower
.downcase
.to_lower
.to_lowercase

Explanation:

The correct answer to the question is: .downcase

Q. What is the output of the expression: "5" + "2" in Ruby?
Error
7
52
"7"

Explanation:

The correct answer to the question is: 52

Q. Which of the following is the correct way to declare a variable in Ruby with a default value?
var_name => value
var_name := value
var_name << value
var_name = value

Explanation:

The correct answer to the question is: var_name = value

Q. Which of the following are used for comparison?
Less than or greater than
Equal to
Not equal to
All of the mentioned

Explanation:

The correct answer to the question is: All of the mentioned

Q. Which of the following is supported by Ruby?
Dynamic Type System
All of the Mentioned
Automatic Memory Management
Multiple Programming Paradigms

Explanation:

The correct answer to the question is: All of the Mentioned

Q. Which method is used to convert a string to an array of characters in Ruby?
.to_array
.chars
.split
.to_chars

Explanation:

The correct answer to the question is: .chars

Q. Which operator is used for subtraction in Ruby?
/
*
-
+

Explanation:

The correct answer to the question is: -

Q. In Ruby, what is the keyword used to define a loop that repeats until a condition is true?
while
loop
repeat
until

Explanation:

The correct answer to the question is: until

Q. What is the result of the expression: 10 % 3 in Ruby?
1
3
1.33

Explanation:

The correct answer to the question is: 1

Q. What is the difference between nil and false?
Both are the same
nil represents absence of value, false represents a boolean value
nil is a string, false is a boolean
nil is a number, false is a boolean

Explanation:

The correct answer to the question is: nil represents absence of value, false represents a boolean value

Q. Which symbol is used to concatenate strings in Ruby?
<<
:
+
.

Explanation:

The correct answer to the question is: <<

Q. What is the default return value of a method in Ruby?
nil
FALSE
TRUE
The value of the last expression

Explanation:

The correct answer to the question is: nil

Q. Ruby does not support ++ operator, it only supports += operator.
False
True

Explanation:

The correct answer to the question is: True

Q. Space between 2+5 or 2 + 5 is valid but =begin and = begin is not valid.
False
True

Explanation:

The correct answer to the question is: True

Q. Methods should not be written inside double quotes.
True
False

Explanation:

The correct answer to the question is: True

Q. What is the sequence of ruby strings?
16-bit bytes
None of the mentioned
8-bit bytes
10-bit bytes

Explanation:

The correct answer to the question is: 8-bit bytes

Q. What does the 'puts' method do in Ruby?
Finds the length
Converts to string
Prints to console
Reads input from user

Explanation:

The correct answer to the question is: Prints to console

Q. What is the difference between =~ and == operators?
=~ checks for string pattern matching, == checks for equality
=~ checks for equality, == checks for string pattern matching
Both operators are the same
None of the above

Explanation:

The correct answer to the question is: =~ checks for string pattern matching, == checks for equality

Q. In Ruby, what is the keyword used to define a method?
method
def
function
define

Explanation:

The correct answer to the question is: def

Q. How to comment a single line?
Using //
Using begin and end
None of the mentioned
Using #

Explanation:

The correct answer to the question is: Using #

Q. It is must for Ruby to use a compiler.
True
False

Explanation:

The correct answer to the question is: False

Q. Which method is used to find the length of an array in Ruby?
.count
.length
.size
.length_of

Explanation:

The correct answer to the question is: .length

Q. What symbol is used to denote comments in Ruby?
//
--
#
/* */

Explanation:

The correct answer to the question is: #

Q. The .length method is used to check number of characters.
False
True

Explanation:

The correct answer to the question is: False

Q. What will the following code evaluate to?
False
Syntax error
None of the mentioned
True

Explanation:

The correct answer to the question is: True

Q. What does the notataion \b stands for?
Space
Escape
Backspace
Newline

Explanation:

The correct answer to the question is: Backspace

Q. Which method is used to check if a string contains a specific substring in Ruby?
.contains
.include?
.hasSubstring
.exist

Explanation:

The correct answer to the question is: .include?

Q. How do you define a range in Ruby?
range = Range.new("start", "end")
range = "start..end"
range = start..end
range = start.to(end)

Explanation:

The correct answer to the question is: range = start..end

Q. What is the data type of the value "true" in Ruby?
String
Boolean
Integer
Float

Explanation:

The correct answer to the question is: Boolean

Q. Which method is used to check if a variable is nil in Ruby?
.nil?
.null?
.is_nil?
.empty?

Explanation:

The correct answer to the question is: .nil?

Q. What is the method used to check the data type of a variable in Ruby?
.typeof
.datatype
.class
.type

Explanation:

The correct answer to the question is: .class

Q. What are the different types of comments in Ruby?
Single-line // and multi-line /* */
Single-line # and multi-line ``
Single-line # and multi-line """ """
Single-line // and multi-line """ """

Explanation:

The correct answer to the question is: Single-line # and multi-line """ """

Q. Which of the following datatypes are valid in Ruby?
All of the mentioned
Numbers
Boolean
String

Explanation:

The correct answer to the question is: All of the mentioned

Q. What is the method used to check if a variable is empty in Ruby?
.null?
.empty?
.has_content?
.is_empty?

Explanation:

The correct answer to the question is: .empty?

Q. Ruby can deal with both numbers and floating point values.
False
True

Explanation:

The correct answer to the question is: True

Q. What does %x!ls! represents?
Same as "xls"
Same as 'x'
None of the mentioned
Same as back tick command output 'ls'

Explanation:

The correct answer to the question is: Same as back tick command output 'ls'

Q. What is the purpose of the gem command in Ruby?
Defines Ruby classes
Installs and manages Ruby libraries
Compiles Ruby code
Runs Ruby code

Explanation:

The correct answer to the question is: Installs and manages Ruby libraries

Q. What is the correct syntax for defining a variable in Ruby?
variable name = value
name = value
var name = "value"
name: value

Explanation:

The correct answer to the question is: name = value

Q. Boolean opeartors are also known as logical operators.
False
True

Explanation:

The correct answer to the question is: True

Q. The == 'is equal to' is known as relational operator.
False
True

Explanation:

The correct answer to the question is: True

Q. Which of the following is a valid boolean operator?
and(&&)
not(!)
or(| |)
All of the mentioned

Explanation:

The correct answer to the question is: All of the mentioned

Q. Ruby is a case-sensitive language.
False
True

Explanation:

The correct answer to the question is: True

Q. Ruby can be used for developing internet and intranet applications.
False
True

Explanation:

The correct answer to the question is: True

Q. In Ruby, what is the correct way to define a constant?
constant name : value
constant_name = value
constant_name(value)
CONSTANT_NAME = value

Explanation:

The correct answer to the question is: CONSTANT_NAME = value

Q. Which of the following is not a valid library function?
Get
Gets
Puts
Print

Explanation:

The correct answer to the question is: Get

Q. What will any variable evaluate to if it is of Boolean data type?
Either True or False
Nil
False
True

Explanation:

The correct answer to the question is: Either True or False

Q. Which of the following is the correct way to start a single-line comment in Ruby?
/*
#
//
--

Explanation:

The correct answer to the question is: #

Q. How to comment multiple lines in ruby?
Using single line comments
Using multiline comments
No option to comment
All of the mentioned

Explanation:

The correct answer to the question is: Using multiline comments

Q. What is the result of the expression: true && false in Ruby?
nil
TRUE
Error
FALSE

Explanation:

The correct answer to the question is: FALSE

Q. What is the output of the expression: "hello" + "world" in Ruby?
"hello" "world"
hello+world
helloworld
hello world

Explanation:

The correct answer to the question is: helloworld

Q. What is the method used to check if a string contains a specific substring in Ruby?
.contains
.exist
.hasSubstring
.include?

Explanation:

The correct answer to the question is: .include?

Q. For getting an input from the user which method is used?
gets.chomp
chomp
get
get-s

Explanation:

The correct answer to the question is: gets.chomp

Q. What is the use of .capitalize method?
It capitalizes the entire string
All of the mentioned
It capitalize the strings which are in small case
It capitalize on the first letter of the string

Explanation:

The correct answer to the question is: It capitalize on the first letter of the string

Q. What is the correct way to declare a variable in Ruby?
var name = "value"
const name = "value"
let name = "value"
name = "value"

Explanation:

The correct answer to the question is: name = "value"

Q. The .upcase and .capitalize method are used for capitalizing the whole string.
True
False

Explanation:

The correct answer to the question is: False

Q. What does %Q{ Learn ruby language } represents?
" Learn Ruby language "
None of the mentioned
"%{ Learn Ruby language }"
" learn ruby language "

Explanation:

The correct answer to the question is: " Learn Ruby language "

Q. What is the correct syntax for printing a message to the console?
print("message")
puts("message")
console.log("message")
write("message")

Explanation:

The correct answer to the question is: puts("message")

Q. The following syntax is used for multiline comment.
True
False

Explanation:

The correct answer to the question is: True

Q. Which of the following is not a valid datatype?
Binary
Float
Timedate
Integer

Explanation:

The correct answer to the question is: Timedate

Q. This the right way to comment a single line.
False
True

Explanation:

The correct answer to the question is: True

Q. What is the output of the expression: "10" * 3 in Ruby?
Error
1010
"101010"
30

Explanation:

The correct answer to the question is: "101010"

Q. The given two expression means the same.
True
False

Explanation:

The correct answer to the question is: True

Q. What is the correct way to define a method in Ruby?
def method_name(parameters) code end
method method_name(parameters) = code
method_name(parameters) -> code
function method_name(parameters) code

Explanation:

The correct answer to the question is: def method_name(parameters) code end

Q. What is the method used to check if a variable is defined in Ruby?
.defined?
.exist?
.has_value?
.is_defined?

Explanation:

The correct answer to the question is: .defined?

Q. Ruby can be embedded into Hypertext Markup Language(HTML).
False
True

Explanation:

The correct answer to the question is: True

Q. What does the 'return' keyword do in Ruby methods?
Continues the loop
Exits the method with a value
Prints to console
Converts to integer

Explanation:

The correct answer to the question is: Exits the method with a value

Q. What is the method used to check if a variable is of a specific class in Ruby?
.class_of
.type_of
.is_a?
.typeof

Explanation:

The correct answer to the question is: .is_a?

Q. What does %{Learn ruby language} represents?
"%{Learn Ruby language}"
" Learn Ruby language "
None of the mentioned
"Learn Ruby language"

Explanation:

The correct answer to the question is: "Learn Ruby language"

Q. What is the result of the expression: 4 > 2 && 5 < 7 in Ruby?
TRUE
nil
Error
FALSE

Explanation:

The correct answer to the question is: TRUE

Q. The boolean operator && only result in true when both the values are true?
True
False

Explanation:

The correct answer to the question is: True

Q. What is the method used to check if a variable is numeric in Ruby?
.numeric_value?
.numeric?
.number?
.is_numeric?

Explanation:

The correct answer to the question is: .is_numeric?

Q. Assignment operator is also known as relational operator.
True
False

Explanation:

The correct answer to the question is: True

Q. Why can not we use quotation marks (' or ") with boolean?
It indicates that that we are replacing boolean data type with string data type
None of the mentioned
It indicates that we are talking about a string
It indicates that we are assining a value

Explanation:

The correct answer to the question is: It indicates that we are talking about a string

Q. Which of the following is a valid way to declare a variable in Ruby?
myVar = "10"
myVar
myVar = 10
10 = myVar

Explanation:

The correct answer to the question is: myVar = 10

Q. In Ruby, what is the keyword used to define a class?
define
class
cls
defclass

Explanation:

The correct answer to the question is: class

Q. Ruby is an object oriented general purpose programming language.
True
False

Explanation:

The correct answer to the question is: True

Q. What is the data type of the value "Hello, World" in Ruby?
Integer
Float
String
Boolean

Explanation:

The correct answer to the question is: String

Q. What is the output of the the given code?
Error in compilation
My name is #{Name}
Undefined Error
Name variable not defined earlier

Explanation:

The correct answer to the question is: Name variable not defined earlier

```