Lab 1, CSC430, Winter 2026
1 Google ID, Getting Started
1.1 Google ID
1.2 Working through the early textbook
9.0

Lab 1, CSC430, Winter 2026🔗

back to course homepage

1 Google ID, Getting Started🔗

1.1 Google ID🔗

In order to save your work with code.pyret.org, you’re going to need to have a Google ID. I do have at least slightly mixed feelings about requiring this, but you can always create a new Google ID for this course, if you like.

Here’s the form to enter your google id: https://docs.google.com/forms/d/e/1FAIpQLSdhfl2zvcu6CGtNp6pHJs8iTbpgqe7QBWaSyN6r8QXtJMPwNw/viewform?usp=dialog

1.2 Working through the early textbook🔗

The DCIC textbook is really good. So good, in fact, that we want you to work through the early part of it as your first lab.

Begin by opening an editor at https://code.pyret.org/editor, and sign into your google account so that you can save your work.

Next, type this code into the left (definitions) window:

# Lab 1, January 5 2026

 

8 + 9

 

Before clicking the Run button, make a guess as to what will happen. Then, click the Run button. Did you see what you expected? If not, write down what the difference was! Do it by writing text in the Definitions window. Every line should start with a hash (#).

Next, use "File > Save a Copy" to save a copy of your file. Use the name "lab-1".

Then, open section 3.1 of the textbook, "Getting Started".

As you read through the textbook, stop to do every "Exercise" and "Do Now!" section. Record the result of each one in the file in your definitions window. When a "Do Now!" section tells you to do something that has no obvious "result" for you to record, just record that you did it.

ALSO! If and when you click "run", all of the code and text on the right will disappear. So you should either be very careful never to click the Run button, or (probably better) make sure all of the work you want to save appears on the left.

You should work with your lab partner. You should each record the results of every exercise.

When you’re done, you should submit your lab to the "Lab 1" handin bin using Gradescope. This is not how you get credit for the assignment; it’s just a way of practicing gradescope handin. Only one team member needs to submit. After submitting, you will need to add your lab partner to the submission.

Finally, to actually receive credit, call me over and show the work you did on the lab to me as well. I will give you a code that you can enter into the lab code entry servlet (link on the main course page) to get credit for the lab.