- screenshots of scores will be posted in comments
- screenshots of completed sections will be posted in comments
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? |
1. | |
``` | |
class PizzaOven | |
def cook_pizza | |
puts "mmm 'za" | |
end | |
end | |
``` | |
2. |
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. |
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? |
Group Member Names:
When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed?
How will group members communicate? How often will communication happen, and how will open lines of communication be maintained?
Which feature(s) does each group member want to work on? Which feature(s) does each group member not want to work on?
Sessions, Cookies, and Flashes