Getting Started With Code
This page is part of our Getting Started unit. Head there to see more.
Ten Things
This is a paper exercise handed out in class. Here’s a digital copy.
VS Code Lecture Notes
Complete “Get Set Up Online” before continuing here.
- Grab a paper copy of the template for VS Code Lecture Notes (or print one from here).
- Complete the notes while you watch the entire VS Code Lecture (18 min).
- Pop into VS Code and try it yourself!
VS Code Practice
Kitchen
- Log in to VS Code.
- In the terminal type these commands, one line at a time:
wget https://github.com/woodstockcs/kitchen/archive/main.zip
unzip main.zip
mv kitchen-main kitchen
cd kitchen- Type
lsand look around the kitchen. If you see a cockroach, remove it. (There are 2 of them.) - Move all the files into their correct folders.
- Make a new directory called
closetalongside the fridge and freezer. This means thatlsshould show:closet freezer fridge - Create three new files in the closet. Give them a
.txtextension, likepasta.txt
Hello
- Type
cd. This takes you to your home directory, no matter where you are. - Type
lsto confirm. You should see just the kitchen directory. - Make a new directory called
1-python. (that’s a ONE, not an L). cdinto that directory and typecode hello.py.- Write a short python program that prints hello world. (Feel free to add a creative touch.)
Games
- Try Terminus. Here’s it’s info page by the dev Michele Pratusevich.
- Try Command Challenge.
Cowsay
- In a terminal type these commands, one line at a time:
cd
sudo apt-get update
sudo apt-get install cowsay
cowsay Mr. Smith rocks.
cowsay Huh...