Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. # Turing School Prework - Nick Edwards
  2.  
  3. ### Task A- Practice Typing:
  4. * screenshots of scores will be posted in comments
  5.  
  6. ### Task B- Algorithmic Thinking & Logic:
  7. * screenshots of completed sections will be posted in comments
  8.  
  9. ### Task C- Create your Gist:
  10.  
  11. ### Task D- Set up your Environment:
  12.  
  13. * Did you run into any issues?
  14. * How do you open Atom from your Terminal?
  15. * What is the file extension for a Ruby file?
  16. * What is the Atom shortcut for hiding/ showing your file tree view?
  17. * What is the Atom shortcut for quickly finding a file (fuzzy finder)?
  18.  
  19. ### Task E- The Command Line:
  20. * screenshots of your terminal after each exercise will be posted in comments
  21.  
  22. **Day One Questions:**
  23. * What does pwd stand for, and how is this command helpful?
  24. * What does hostname tell you, and what shows up in YOUR terminal when you type hostname?
  25.  
  26. ### Task F- Learn Ruby:
  27.  
  28. #### Option 1 Questions:
  29. **IRB**
  30. * How do you start and stop irb?
  31. * What might you use irb for?
  32.  
  33. **Variables**
  34. * How do you create a variable?
  35. * What did you learn about the rules for naming variables?
  36. * How do you change the value of a variable?
  37.  
  38. **Datatypes**
  39. * How can you find out the class of a variable?
  40. * What are two string methods?
  41. * How can you change an integer to a string?
  42.  
  43. **Strings**
  44. * Why might you use double quotes instead of single quotes in Ruby?
  45. * What is this used for in Ruby: #{}?
  46. * How would you remove all the vowels from a string?
  47.  
  48. **Input & Output**
  49. * What do 'print' and 'puts' do in Ruby?
  50. * What does 'gets' do in Ruby?
  51. * Add a screenshot in the comments of the program you created that uses 'puts' and 'gets', and give it the title, "I/O".
  52.  
  53. **Numbers & Arithmetic**
  54. * What is the difference between integers and floats?
  55. * Complete the challenge, and post a screenshot of your program in the comments with the title, "Numbers".
  56.  
  57. **Booleans**
  58. * What do each of the following symbols mean?
  59. + ==
  60. + >=
  61. + <=
  62. + !=
  63. + &&
  64. + ||
  65. * What are two Ruby methods that return booleans?
  66.  
  67. **Conditionals**
  68. * What is flow control?
  69. * What will the following code return?
  70. ```
  71. apple_count = 4
  72.  
  73. if apple_count > 5
  74. puts "Lots of apples!"
  75. else
  76. puts 'Not many apples...'
  77. end
  78. ```
  79. * What is an infinite loop, and how can you get out of one?
  80. * Take a screenshot of your program and terminal showing two different outputs, and post it in the comments with the title, "Conditionals".
  81.  
  82. **nil**
  83. * What is nil?
  84. * Take a screenshot of your terminal after working through Step 4, and post it in the comments with the title, "nil".
  85.  
  86. **Symbols**
  87. * How can symbols be beneficial in Ruby?
  88. * Does naming symbols use the same rules for naming variables?
  89. * Take a screenshot of your terminal after working through Step 4, and post it in the comments with the title, "Symbols".
  90.  
  91. **Arrays**
  92. * What method can you call to find out how many elements are in an array?
  93. * What is the index of pizza in this array: ["pizza", "ice cream", "cauliflower"]?
  94. * What do 'push' and 'pop' do?
  95.  
  96. **Hashes**
  97. * Describe some differences between arrays and hashes.
  98. * What is a case when you might prefer an array? What is a case when you might prefer a hash?
  99. * * Take a screenshot of your terminal after working through Step 2, and post it in the comments with the title, "Hashes".
  100.  
  101. ### Task G- Prework Reflection:
  102. * Were you able to get through the work? Did you rush to finish, or take your time?
  103. * What are you most looking forward to learning more about?
  104. * What topics would you most like to see reinforced by instructors?
  105. * What is most confusing to you about what you've learned?
  106. * What questions do you have for your student mentor or for your instructors?
  107.  
  108.  
  109.  
  110.  
  111. ## Pre-work Tasks- One Month Schedule
  112. ##### (Note: You will most likely only get to the following sections if you have more than a week for your pre-work. If you are doing the one week pre-work schedule, you may delete this section of the Gist.)
  113.  
  114. ### Railsbridge Curriculum, cont.
  115. * Loops: Take a screenshot of your "Challenge" program, and post it as a comment in your Gist.
  116. * What challenges did you try for "Summary: Basics"? Post a screenshot of one of your programs.
  117. * Functions: How do you call a function and store the result in a variable?
  118. * Describe the purpose of the following in Ruby classes: initialize method, new method, instance variables.
  119. * How to Write a Program: Screenhero with your student mentor and share your program. Write a bit about what you found most challenging, and most enjoyable, in creating your program.
  120.  
  121. ### Launch School Ruby Book
  122. * screenshots will be posted in comments
  123. * What are your three biggest takeaways from working through this book?
  124.  
  125. ### CodeSchool
  126. * screenshots will be posted in comments
  127. * What are your two biggest takeaways from working through this tutorial?
  128. * What is one question you have about Git & GitHub?
  129.  
  130. ### Workflow Video
  131. * Describe your thinking on effective workflow. What shortcuts do you think you'll find most useful? What would you like to learn or practice that will most help you improve your speed and workflow?
  132.  
  133. ### Michael Hartl's Command Line Book
  134. As you complete each section, respond to the related questions below (mostly taken directly from the tutorial exercises):
  135. * 1.3: By reading the "man" page for echo, determine the command needed to print out “hello” without the trailing newline. How did you do it?
  136. * 1.4: What do Ctrl-A, Ctrl-E, and Ctrl-U do?
  137. * 1.5: What are the shortcuts for clearing your screen, and exiting your terminal?
  138. * 2.1: What is the "cat" command used for? What is the "diff" command used for?
  139. * 2.2: What command would you use to list all txt files? What command would you use to show all hidden files?
  140. * 3.1: How can you download a file from the internet, using the command line?
  141. * 3.3: Describe two commands you can use in conjunction with "less".
  142. * 3.4: What are two things you can do with "grep"?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement