Assignment 0. Welcome to CS101B!¶
Welcome to CS101B! This assignment is designed to help you get your development environment set up so that you can compile, run, and debug programs. There isn’t any programming involved, and we hope that this doesn’t take you too much time to complete. This assignment must be completed individually.
Step One: Use VS Code Workflow¶
You will first need to install VS Code, the development environment that we use in CS101B. Follow the instructions in the VS Code Workflow for your operating system.
Step Two: Download the Starter Files¶
We will configure a starter project with the files needed for each assignment and post it in the form of a .zip archive. The starter project for Assignment 0 contains the files for the NameHash program.
Download the starter code archive and extract all. Open the project in VS Code and configure to use the GCC kit.
Step Three: Hash Your Name¶
Compile and run the program you’ve just downloaded. It will ask you to enter your (preferred) first and last names. When you do, it will give back a hash code, a special number associated with your name. You can think of your hash code as a “fingerprint” associated with your name that’s unlikely to be the same as anyone else’s fingerprint. Write this number down; you’ll need it to complete the assignment!
Step Four: Use the Debugger¶
Open our handy debugger tutorial and follow along step-by-step. At some point, you’ll be asked to remember a special value. Write this special value down; you’ll need it when you submit.