The basic HTML skeleton is the set of tags required of every HTML web page you build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Guiding Questions to Define The Relationship: | |
| What are your learning goals for this project? | |
| Further explore the use of enumerables to accomplish the demands of the project. | |
| What is your collaboration style? How do you feel about pair programming vs. divide-and-conquer approaches? | |
| Given we feel confident in our respective abilities to get after it individually we've divided the tasks up into the writer and the reader. Divide and conquer it is. | |
| How do you communicate best? How do you appreciate receiving communication from others? | |
| Clear and open. Just stream of conciousness thoughts flowing back and forth. Danny's got a leg up on Mark with regard to overall ruby proficiency but Mark's been thru this Mod before and knows the nuance of navigating this type of project. | |
| How would you describe your work style? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Give one difference between Modules and Classes. | |
| Instances are made of classes while modules dont do instances, they are like libraries full of constants. | |
| #classes have state. modules are stateless. | |
| 2. Defining Modules | |
| First, create a module Doughy which defines a method has_carbs? that always returns true. Then, given the following Pizza class, update Pizza to use your new Doughy module to gain the defined has_carbs? behavior. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. | |
| ``` | |
| class PizzaOven | |
| def cook_pizza | |
| puts "mmm 'za" | |
| end | |
| end | |
| ``` | |
| 2. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Time to complete: 30 minutes | |
| Floats and Integers | |
| What’s the difference between a float and integer? | |
| *A float is a decimal number. An integer is just a whole number. | |
| What’s are the similarities and differences between BigNum and FixNum? | |
| *Both are decimal numbers. If a number is too big to fit into 64 bits of memory it is stored as a BigNum otherwise it is a fixnum. | |
| **Both are Integers | |
| What will 4.0 / 2 return? |
NewerOlder