# Quiz

What is the result of `2 + 2 * 5 ** 2`

?

`102`

`52`

`400`

`100`

What is the result of `(2 + 2) * 5 ** 2`

?

`102`

`52`

`400`

`100`

What is the result of `102 / 10`

?

`10`

`2`

`10.2`

`2.0`

What is the result of `102 / 10.0`

?

`10`

`2`

`10.2`

`2.0`

What is the result of `102 % 10`

?

`10`

`2`

`10.2`

`2.0`

What is the result of `4.5.ceil`

?

`4`

`5`

`4.0`

`5.0`

`ceil`

method rounds up to the nearest integer.What is the result of `4.5.floor`

?

`4`

`5`

`4.0`

`5.0`

`floor`

method rounds down to the nearest integer.What is the result of `4.5.round`

?

`4`

`5`

`4.0`

`5.0`

`round`

method rounds to the nearest integer and rounds up if the fractional part of the float is `.5`

.What is the result of `4.5.to_i`

?

`4`

`5`

`4.0`

`5.0`

`to_i`

method rounds down to the nearest integer.What is the result of `4.to_f`

?

`4`

`5`

`4.0`

`5.0`

`to_f`

method type converts an integer to a float.What is the result of `5.to_s`

?

`5`

`5.0`

`"5.0"`

`"5"`

`to_s`

method type converts an object to a string.What is the result of `false.to_s`

?

`0`

`true`

`"false"`

`false`

`to_s`

method type converts an object to a string, regardless of that object's data type.