- If you have a variable named
a
that contains the string"Ruby"
and a variable namedb
that contains the string"is fun"
, what code would you write to output"Ruby is fun"
? - If you write
5 + 6 + 7
, what does Ruby see behind the "syntactic sugar"? - If you had a variable
name
that contained a user's first name, how could you output the lineYour name is 4 characters long
where4
is the correct length of their name? - How can print out the string
"Hello, World"
ten times? - What's the difference between a single-quoted and a double-quoted string?