Posts

Activity Guide- Big Data Sleuth Data

Activity Guide - Big Data Sleuth Card Directions: With a partner, select one of the tools in the list to the right. Determine what the tool is showing. Find the source of the data it allows you to explore. Complete the table below. Web Sites: 1. Web archive http://www.archive.org 2. Measure of America http://www.measureofamerica.org/maps/ 3. Wind Sensor network http://earth.nullschool.net/ 4. Twitter sentiment https://www.csc.ncsu.edu/faculty/healey/tweet_viz/tweet_app/ 5. Alternative Fuel Locator http://www.afdc.energy.gov/locator/stations/ Website Name Tweet Sentiment Visualization What is this website potentially useful for?  What kinds of problems could the provided information be used to solve? The website gives an idea of how people are reacting to certain events or words. For example, I typed in Trump and was split in the middle 50/50 if they were happy or upset. It is very revealing to how people feel in the moment. ...

Digital Scene- Individual Responses

Digital Scene (Josh Lim B Block) Group with Jack and Inal My Code: (The Sun of the Digital Scene) //Draws the Sun function drawSun (size,x,y){  moveTo(x, y);  penColor("orange");  dot(size);  moveForward(size);  penDown();  penWidth(size/6); // Arcs the turtle a certain amount around the Sun and draws the ray  for (var i = 0; i < 12; i++){    moveForward(size/1.7);    turnLeft();    turnLeft();    moveForward(size/1.7);    turnLeft();    turnLeft();    turnRight();    arcRight(30, size);    turnLeft();  } } Individual Written Responses After completing your project, respond to each of the following reflection questions. Your response to anyone prompt must not exceed 300 words. Provide an overview of the purpose of your program and how...

Digital Scene- Final Group Project Code

Jack, Josh, Inal //Executed Code drawBackground("black"); drawAllStars(25); drawAllPlanets(randomNumber(5, 10)); drawSun(randomNumber(20, 50), randomNumber(0, 320), randomNumber(0,450)); hide(); //Functions: //Draw the background function drawBackground (color) {  penColor(color);  dot(500); } function drawStar (size, sideLength, x, y){  //makes sure there's a 50/50 chance of a star being yellow or white  var randomNum = randomNumber(0, 1);  if (randomNum == 1){    penColor("white");  } else if (randomNum === 0){    penColor("#f6ff00");  }  penUp();  moveTo(x, y);  penWidth(size);  penDown();    //Draws the star  turnTo(0);  for (var i = 0; i < 5; i++){    moveForward(sideLength);    turnRight(144);  }  penUp(); } //Draws a fixed number of stars ...

Unit 3 Lesson 7- APIs and Function Parameters (Smiley Face Code)

Smiley Face Code: moveTo(160, 220); penColor("blue"); dot(1000000); penColor("yellow"); dot(150); moveForward(50); turnRight(90); moveForward(45); penColor("black"); dot(20); penUp(); turnTo(270); moveForward(90); penDown(); dot(20); penUp(); moveForward(50); turnLeft(90); moveForward(50); penDown(); penWidth(20); arcLeft(180, 100); Reflection: Copy and paste your code to create your smiley face.  What challenges did you face in this lab? How did you solve these challenges?  Did you collaborate with others in class? Did you get or provide help to other "programmers" in class?  With what?  What documentation did you use for this lab today?  Provide examples of other libraries you are familiar with in other programming languages. The challenges I faced in this lab was repetition because it was hard to track down the mistakes I made in the code if I have each line of code relying on the other ...

Diamond Reflection Prompts

Prompt:  “List the benefits of being able to define and call functions in a program. Who specifically gets to enjoy those benefits?”  Everyone enjoys the benefits of functions. It makes programmer’s lives easier, and also makes the code easier to read and understand. It organizes code, saves you from writing repeating code, and makes the code easier to read. Prompt:  “How is the use of a function an example of abstraction?  Functions are an example of abstraction because it can make parts of your code reduced to essential commands. It reduces large chunks of code into nicely named functions, which give only the essential data. Within the function, only the relevant data is passed into it, making it simplified.  Prompt:   Explain more than one reason why programming languages have functions.  Functions are useful tools to split up code and make it look logical, while also being able to reuse sections of code. For example, if I had a section of...

Diamond Evaluation- Olivia

Josh Lim Partner: Olivia Does the program draw the diamond? Yes, the program draws the diamond. Does the program define four functions: right(), drawStep(), drawSide(), and drawDiamond()? Yes, the program defines these four functions. Does the program make a single call to drawDiamond()? Yes. 4. Does the program looks clean and organized? Yes.

Programming Reflection Questions

Reflection for your blog and Homework: Under forms and docs the document to read py Dec 11 Read pages 9-11 for class day 2 this week(Wed) Reflection:  What surprised you about programming with such a small set of basic commands? Were you able to be creative with such a limited set of tools? What was most frustrating about this activity? If you could add one additional simple command, what would it be, and why? What surprised me is that how long and tedious it takes in order to code a complex shape such as a 3x3 square with the lines inside. At first, I was thinking that it would be even simpler with more basic commands. I was able to be creative with such a limited set of tools. The most frustrating part about this activity is the tedious process of coding the basic commands in. If I could add one additional command, I would add the command so the cursor can turn right (so I don't have to give the command of the cursor going left three times.)