Monday, October 17, 2016

Day 19

Launch School Pre-curriculum

I'm still reading the book about the Command Line Interface (CLI). Here are some common commands used on the CLI:

cdChange directory.
lsList files and directories in current directory.
pwdDisplay the path of the current directory.
touchCreate a file.
mkdirCreate a directory.
rmRemove a file or directory. Warning: deleting a file or directory with this command is permanent!
cpCopy a file or directory.
mvMove or rename a file or directory.
echoPrint text to STDOUT.
catDisplay contents of a file.
moreDisplay contents of a file, starting at the top and letting the user scroll down.
lessDisplay contents of a file in an even more interactive way.
headDisplay the first part of a file.
tailDisplay the last part of a file.
manDisplay documentation about a command.


Secondary Resources: JavaScript on Khan Academy

My first project for the day was a magic eight ball that displays a different message each time the program is run. Press the restart button to get a new message.

Spin-off of "Project: Magic 8-Ball"Made using: Khan Academy Computer Science


Next I read about using a "rubber duck" as a debugging method. You explain your code step-by-step to a rubber duck as you debug. I think my friend Henry is a good rubber duck. He's not as smart as me, but he'll listen as well as any rubber duck.

Henry
In the next project, I used two while loops to draw rulers across the top and left sides of the canvas.

Challenge: A Loopy RulerMade using: Khan Academy Computer Science

In the third project, I used while loops to repeat a landscape image across the bottom of the screen. 

Challenge: A Loopy LandscapeMade using: Khan Academy Computer Science

In my third project, I was given a while loop that created horizontal lines across the canvas. I converted it to a for loop, then added my own code for a for loop that made vertical lines to make graph paper.

Challenge: Lined PaperMade using: Khan Academy Computer Science

Math Review

I finished 7th grade math on Khan Academy! Woohoo!



Equivalent expressions with negative numbers (multiplication and division): In this video, we figure out whether or not some expressions are equivalent. To do this, we think about properties of multiplication and division.

Languages

French - keeping the Duolingo tree gold


German - Comparison, qualifiers and Household objects 2 (Ich bin ein besserer Bär als Sie)

Spanish - People


Italian - Animals, Food 2, Possession and Clothing (Io sono un orso.)




No comments:

Post a Comment