Skip to content

Instantly share code, notes, and snippets.

View samlandfried's full-sized avatar
🕹️

Sam Landfried samlandfried

🕹️
View GitHub Profile

#HTML

Hyper text markup language. Web browsers read it to build web pages.

###HTML Skeleton

The minimum outline for an HTML document

###<head>

Module 1 Week 4 Diagnostic

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).

1. Give one difference between Modules and Classes.

You can instantiate instances of classes but not modules.

Week 2 and 3 Diagnostic

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.

Define a class called PizzaOven which has a method cook_pizza which returns the string "mmm 'za".

Floats and Integers

What’s the difference between a float and integer?

An integer is a whole number, a float includes a decimal value

What’s are the similarities and differences between BigNum and FixNum?

A bignum is a number that exceeds the storage capacity of a fixnum. I'm not sure at ### what point that distinction occurs, and I'm not sure what different methods are available on both.

What will 4.0 / 2 return?

2.0

What will 1.5.to_i.to_f return?

1.0

@samlandfried
samlandfried / Empathy.md
Last active January 23, 2017 05:52
Empathy

What role does empathy play in your life and how has it helped you?

Empathy has been a tool for navigating professional and social situations. Without empathy, we're just pinballs bouncing around, reacting to whatever bumper we collide with. Empathy allows us to handle interactions with others in a way that is more productive and enjoyable for both parties that making decisions based solely on our personal condition at the time.

How does empathy help you build better software?

You make software for a user. Someone, at some point, has to interact with that software. If you can't anticipate the user's needs, you will deliver an unsatisfactory product. Depending on the user, you might be in a position to imagine what the user needs that the user might not even realize.

Why is empathy important for working on a team?

@samlandfried
samlandfried / sl-prework.md
Last active January 19, 2017 21:58 — forked from mbburch/prework.md
Sam Landfried's prework

Turing School Prework

Task A- Practice Typing:

  • screenshots of scores will be posted in comments

Task B- Algorithmic Thinking & Logic:

  • screenshots of completed sections will be posted in comments

Task C- Create your Gist: