Skip to content

Instantly share code, notes, and snippets.

View nrl240's full-sized avatar

Noelle Laureano nrl240

View GitHub Profile
@nrl240
nrl240 / day17-exit-ticket.md
Last active February 4, 2021 15:09
Exit Ticket: Day 17 - Connect, Thunks, combineReducers

Exit Ticket: Day 17 - connect, Thunks, combineReducers

You should be able to:

  • Use connect from react-redux to connect a React component to the Redux store, including defining appropriate mapStateToProps and mapDispatchToProps
  • Use thunks to perform AJAX requests with a React/Redux application
  • Use combineReducers to split your reducer function into separate functions, each managing independent slices of your store's state

connect modifies the original component.

@nrl240
nrl240 / day05-exit-ticket.md
Last active March 8, 2021 14:48
Exit Ticket: Day 5 - Node

Exit Ticket: Day 5 - Node

You should be able to:

  • Explain the purpose of Node
  • Use module.exports and require to create modular applications
  • Describe what npm is and its purpose
  • Explain asynchronicity in JavaScript (its "non-blocking" nature)

In your own words, what is Node? And why do we need it?

@nrl240
nrl240 / day02-exit-ticket.md
Last active March 4, 2021 22:33
Exit Ticket: Day 2 - HTML, CSS, Box Diagramming, Flexbox

Exit Ticket: Day 2 - HTML, CSS, Flexbox

You should be able to:

  • Create a basic HTML document using common elements (div, p, h1, ul, button, etc)
  • Add some basic styling to an HTML document
  • Navigate the browser developer tools (console, elements, network)
  • Style a page using Flexbox
  • Leverage media queries to make a webpage responsive

In your own words, what is Semantic HTML and why should you use it?

@nrl240
nrl240 / day12-exit-ticket.md
Last active August 21, 2020 17:56
Exit Ticket: Day 12 - React

Exit Ticket: Day 12 - React

You should be able to:

  • Write a class or functional component in React
  • Pass, receive, and render props in a React component
  • Hook into React lifecycle events (e.g. componentDidMount)
  • Define and update state in a component
  • Handle state changes in response to AJAX, user events, etc.
  • Render lists of data in JSX
@nrl240
nrl240 / day08-exit-ticket.md
Last active March 11, 2021 15:21
Exit Ticket: Day 8 - Node-Postgres pg, Express Routing, RESTful API

Exit Ticket: Day 8 - Node-Postgres pg, Express Routing, RESTful API

You should be able to:

  • Describe the role of pg in our stack
  • Define REST and its advantages
  • Create and mount Express Routers
  • Explain the role of body parsing middleware

What role does node-postgres (pg) assume when communicating with Postgres?

@nrl240
nrl240 / day04-exit-ticket.md
Last active November 12, 2020 22:10
Exit Ticket: Day 4 - DOM Events, Pixelate

Exit Ticket: Day 4 - DOM Events, Pixelate

You should be able to:

  • Set up event listeners to handle DOM events
  • Explain the concepts of event delegation, event bubbling, and event delegation
  • Be able to stop an event from bubbling

In JavaScript, what can you attach to your elements to deal with events?

@nrl240
nrl240 / day01-exit-ticket.md
Last active March 3, 2021 16:21
Exit Ticket: Day 1 - Pairing and Git

Exit Ticket: Day 1 - Pairing and Git

You should be able to:

  • Practice effective pair programming
  • Manage a project using git

Which git command adds files to the staging area?

Option Explanation
@nrl240
nrl240 / day27-exit-ticket.md
Last active February 18, 2021 13:52
Exit Ticket: Day 27 - Algorithm Analysis, Sorting

Exit Ticket: Day 27 - Algorithm Analysis, Sorting

You should be able to:

  • Articulate the difference between an algorithm and a heuristic
  • Explain Big O in terms of both time and space (when/how is it useful, what does it measure, etc.)
  • Describe how both Bubble Sort and Merge Sort operate, as well as discuss their time/space complexities

In your own words, what is Big O measuring?

@nrl240
nrl240 / day26-exit-ticket.md
Last active July 22, 2020 20:04
Exit Ticket: Day 26 - Data Structures

Exit Ticket: Day 26 - Data Structures

Choose whether a given object is a Data Structure (DS) or an Abstract Data Type (ADT):

DS ADT Can be implemented using... Features include...
Contiguous Array ✔️ n/a Uninterrupted space in memory (RAM)
Stack ✔️ arrays, linked lists Linear, LIFO, top reference, push, pop, peek, isEmpty, size
Queue ✔️ arrays, linked lists Linear, FIFO, head/front and tail/back references, enqueue/add/enter, dequeue/remove/leave, peek, isEmpty, size
List ✔️ arrays, linked lists Linear, "flexible" arrays, get/find, insert/add, remove/delete, isEmpty, size
Tree ✔️ arrays, linked trees Non-linear, level, depth, height, root, leaf, parent, left-child, right-child, subtree, traversals (see final two exit ticket question below)
@nrl240
nrl240 / day18-exit-ticket.md
Last active October 15, 2020 13:15
Exit Ticket: Day 18 - React Router

Exit Ticket: Day 18 - React Router

You should be able to:

  • Use the URL bar to manage state and control navigation within a SPA using the react-router-dom library
  • Set up HashRouter/BrowserRouter in a parents component to handle routing
  • Swap views using Route components
  • Navigate to specific routes using Link components

Which is NOT a main component we import from react-router-dom?