Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 575 Bytes

questions.md

File metadata and controls

17 lines (9 loc) · 575 Bytes

Day 1 Questions

  1. How would you print the string "Hello World!" to the terminal?

  2. What character is used to indicate comments in a ruby file?

  3. Explain the difference between an integer and a float?

  4. In the space below, create a variable animal that holds the string "zebra"

  5. How would you print the string "zebra" using the variable that you created above?

  6. What is interpolation? Use interpolation to print a sentence using the variable animal.

  7. What method is used to get input from a user?

  8. Name and describe two common string methods: