Google Apps Script

"Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications."

-Google

 

I have known how to code in JavaScript for years. I have not needed to use it in any professional capacity as a teacher, until now.

In a previous announcement, I talked about my use of a service called Pear Deck. It allows me to present my lessons in a more engaging way. Just as importantly, it provides students with "takeaways". These takeaways are copies of the slides from the lesson along with all the answers a student typed/drew in that day. However, it only does this for students that are signed in and present. Pear Deck does create a blank takeaway for the teacher and I post this to my website for students that are absent that day. Here is an example takeaway.

The process of finding the blank takeaway on my Google Drive and then moving it to the shared folder that is shown on my website, was a boring and annoying task that I would have to do at the end of each day. I was finding myself putting it off for weeks at a time.

Then came Google Apps Script to the rescue. With this service I was able to code a Google Spreadsheet add-on that looks for my daily takeaway in my Google Drive and then publishes it to my shared folder that is shown on my website.

Now, with the click of a button, I can find my blank takeaways and publish them on my site. If you know how to code in JavaScript, and you have a repeated task every single day, use this. You'll never look back.

Feel free to copy any or all of this code for yourself. It is used for a very specific case (only myself), but maybe it will be useful to someone. If you have any questions about the code, contact me and ask away.

Batchgeo

I will be working with data in Unit 5 of my Exploring Computer Science course. In preparation for working with map data (latitude and longitude) I wanted to find an online program that would organize and filter the data while presenting a nice visual. I have found that Batchgeo.com is that solution. To test out the website yourself please follow the instructions below.

1. Grab some data here (this will make a copy of some Los Angeles Bike data into your Google Drive)

2. Copy the data

3. Paste the data into Batchgeo.com

4. Click the "Map now" button

The results are great. It automatically processes the latitude and longitude and maps all the points. At the bottom of the map you can filter the data. Try it out below.

Linear Function Transformations

Computer Supported Collaborative Learning (CSCL) is an effort by California State University, Northridge to support science teachers in the San Fernando Valley. The concepts being developed by CSUN can be applied to all subject matter at all grade levels.

Click here to visit the CSCS website

What is a Linear Function?

Linear functions are those whose graph is a straight line. A linear function can be written in the following form. 

y = f(x) = mx + b

This is called slope-intercept form. Where m represents the slope of the line and b represent the y-intercept.

What happens when m or b changes?

  1. What happens as the value of m changes?
  2. What happens as the value of b changes?

Distance Between Two Points

Computer Supported Collaborative Learning (CSCL) is an effort by California State University, Northridge to support science teachers in the San Fernando Valley. The concepts being developed by CSUN can be applied to all subject matter at all grade levels.

Click here to visit the CSCS website

How do you get from one point to another?

  • Open the map and the Google Form. Answer the questions on the form.
  •  The shortest distance between two points is a straight line. To find that distance, it may be easier to find the distance by "taking the streets" first. These distances for a right triangle. The shortest distance is the hypotenuse of the triangle. Open the example.
    • Example
    • This example shows that you can easily count the distance of the legs of the triangle, but it is impossible to count the distance of the hypotenuse. 
  • To find the distance between two points, we use the Pythagorean Theorem. Open the Desmos calculator to view the points and the distances between them. 
    • Desmos
    • Type the Pythagorean Theorem in for the hypotenuse. It solves for the length automatically!
    • Now create your own right triangle and find the length of the hypotenuse by solving the Pythagorean Theorem for c. 
    • This is the distance between the two points
    • Take a screenshot of your triangle and answers and add it to our class Google Slides