Question 1 of 25
Hints left: 3
Q1
Which operator is used for addition in Ruby?
Q2
What is the result of the expression: 3 ** 3 in Ruby?
Q3
What does the != operator do in Ruby?
Q4
Which operator is used for modulo in Ruby?
Q5
What is the result of the expression: 9 / 2 in Ruby?
Q6
What is the result of the expression: 5 % 2 in Ruby?
Q7
What does the > operator do in Ruby?
Q8
What is the output of the expression: 7 / 2 in Ruby?
Q9
What is the result of the expression: 4 > 2 && 5 < 7 in Ruby?
Q10
What does the <= operator do in Ruby?
Q11
What does the >= operator do in Ruby?
Q12
Which of the following is the correct way to define a constant in Ruby?
Q13
Which operator is used for exponentiation in Ruby?
Q14
What is the result of the expression: true && false in Ruby?
Q15
In Ruby, what is the keyword used to define a loop that repeats until a condition is true?
Q16
What is the result of the expression: 3 ** 2 in Ruby?
Q17
Which operator is used for subtraction in Ruby?
Q18
What does the += operator do in Ruby?
Q19
What does the && operator do in Ruby?
Q20
What does the == operator do in Ruby?
Q21
What is the result of the expression: 10 % 3 in Ruby?
Q22
What does the *= operator do in Ruby?
Q23
What is the data type of the value "true" in Ruby?
Q24
What is the result of the expression: 6 / 2 in Ruby?
Q25
What is the result of the expression: !(true && false) in Ruby?