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:
cd | Change directory. |
ls | List files and directories in current directory. |
pwd | Display the path of the current directory. |
touch | Create a file. |
mkdir | Create a directory. |
rm | Remove a file or directory. Warning: deleting a file or directory with this command is permanent! |
cp | Copy a file or directory. |
mv | Move or rename a file or directory. |
echo | Print text to STDOUT. |
cat | Display contents of a file. |
more | Display contents of a file, starting at the top and letting the user scroll down. |
less | Display contents of a file in an even more interactive way. |
head | Display the first part of a file. |
tail | Display the last part of a file. |
man | Display 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.
In the next project, I used two while loops to draw rulers across the top and left sides of the canvas.![]() |
| Henry |
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