Skip to content

Instantly share code, notes, and snippets.

View alfaraday's full-sized avatar

Ariana Faraday alfaraday

View GitHub Profile
tailnum year type manufacturer model engines seats speed engine
N10156 2004 Fixed wing multi engine EMBRAER EMB-145XR 2 55 Turbo-fan
N102UW 1998 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
N103US 1999 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
N104UW 1999 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
N10575 2002 Fixed wing multi engine EMBRAER EMB-145LR 2 55 Turbo-fan
N105UW 1999 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
N107US 1999 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
N108UW 1999 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
N109UW 1999 Fixed wing multi engine AIRBUS INDUSTRIE A320-214 2 182 Turbo-fan
@alfaraday
alfaraday / 1 - Mock Interview: Experimentation.md
Last active February 25, 2020 20:44
Mock interview scripts and rubrics for the Data Science program. These scripts are intended for interviewers only, please do not share this link.

Mock Interview 1: Experimentation

After completing Unit 1, students will take an interview focused on experimentation. The goal of this interview is to evaluate problem solving in the context of experimentation. Students should be able to design a proper A/B test and discuss how they would evaluate it.

We use a generic coffee shop as the setup for this problem. The form of the interview in general is as follows, though be sure to be prepared to adapt to the path the student chooses to pursue.

Afterwards, write up comments and ways to improve and submit them via the Typeform linked in your dashboard.

Introduce yourself first! Ask if they have any questions before you begin, and then start the interview.

-- Get all restaurants
SELECT * FROM restaurants;
-- Get Italian restaurants
SELECT * FROM restaurants
WHERE cuisine = 'Italian';
-- 10 Italian, subset
SELECT id, name FROM restaurants
WHERE cuisine = 'Italian'
@alfaraday
alfaraday / index.html
Created December 15, 2016 00:46 — forked from anonymous/index.html
JS Bin // source https://jsbin.com/mukeyi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
o What is scope? Your explanation should include the idea of global vs. local scope.
Scope refers to where in your code a variable can be accessed, and it depends on where a variable is declared. Global variables are declared outside of a function, and can therefore be accessed anywhere in your code, including in separate files. Local variables are declared within a function, and can only be accessed within said function.
o Why are global variables avoided?
Global variables can lead to unintended side effects that turn code indeterminate – the same set of instructions with the same set of inputs will return different outputs.
o Explain JavaScript's strict mode
By using the ‘use strict’ command at the top of a file, you’ll get an error when a variable is declared without the var keyword. That prevents you from creating a global variable unintentionally either through typo or forgetting to declare it locally.
o What are side effects, and what is a pure function?