This assessment would be given after introducing the concept of escape sequences.
Q1. Given the following Ruby code, what would you expect to see by running the program?
exercise_result = "tHello everybody!nHow are you today?" puts exercise_result
A.
Hello everybody! How are you today?
B.
Hello everybody! How are you today?
C.
Hello everybody!How are you today?
D.
Hello everybody! How are you today?
Q2. Try recreating the following output in your Ruby program:
Here's my grocery list: * Eggs * Ice Cream * Apples * Bananas