- screenshots of scores will be posted in comments
- screenshots of completed sections will be posted in comments
#Questions to prompt reflection:
Floats and Integers
What’s the difference between a float and integer?
What’s are the similarities and differences between BigNum and FixNum?
This exercise is intended to help you assess your progress with the concepts and techniques we've covered during the week.
For these questions, write a short snippet of code that meets the requirement. In cases where the question mentions a "given" data value, use the variable given
to refer to it (instead of re-writing the information).
Use single (`) and triple backticks (```) to container code snippets.
PizzaOven
which has a method cook_pizza
which returns the string "mmm 'za"
.
This exercise is intended to help you assess your progress with the concepts and techniques we've covered during the week.
For these questions, write a short description or snippet of code that meets the requirement. In cases where the question mentions a "given" data value, use the variable given to refer to it (instead of re-writing the information).
Sessions, Cookies, and Flashes
Since HTTP is stateless, it would be difficult to give the user feedback on whether they successfully interacted with the database. It would also not be possible to save settings, shopping carts, or other information between requests.
A cookie is a key/value pair, acts like a hash but it isn't really. It is stored in the user's browser and sent with each request. It is often used to store things like simple preferences settings, where a user left off on the page, and other non-sensitive information. They have an expiration date, or can be set to be cleared when the browser closes (I think).
I am thirsty to know more and know what I can do better. I am constantly learning, both about programming and about myself, and applying it immediately. I am appreciative of the support of my peers on projects, and I make it known. I communicate and take responsibility for what I say I will.
I seek to make sure everyone on the team is involved and ideas are all examined. I am attuned to everything that has to get done on a project, and I am willing to discuss it openly with my teammates.