Reference

This page includes links to a variety of tips, tricks, and guides you may find useful during the semester. We will gradually add material to this section as the course progresses. If you have specific requests for topics that you’d like to see here, feel free to send requests by email or mention them in class. Pages are organized by category below.

Course Information

Frequently Asked Questions (FAQ) about Tokens

Q: Where/how do I resubmit a homework assignment?

A: Submit it on Gradescope, under the assignment named Homework X Resubmission

Q: Where/how do I resubmit an exam problem?

A: Submit it on Gradescope, under the assignment named Exam X Revision. This will ask you to reflect on the exam problem with the following information:

  • What went wrong in your original attempt? Did you misunderstand the question? Did you have a gap in your understanding of a particular concept?
  • Please describe the attempt you took at the reviPlease describe the attempt you took at your resubmission.
Practice Questions for Exam 1

The following are a set of questions to help you prepare for Exam 1. I recommend trying out these problems with paper and pencil.

Practice Questions for Exam 2

The following are a set of questions to help you prepare for Exam 2. I recommend trying out these problems with paper and pencil.

Practice Questions for Exam 3

The following are a set of questions to help you prepare for Exam 3. I recommend trying out these problems with paper and pencil.

Emacs

Common Emacs Keystrokes

Keystrokes are shortcuts for commands, in particular when using keystrokes we do not need to use the mouse. Many experienced programmers prefer using keystrokes because they can be faster once you know them.

Emacs Basics

In CSC-151 you used an Integrated Development Environment (IDEs) called DrRacket to write and run (develop) your programs. Similar IDEs exist for C, but it is more traditional among C programmers to use separate programs for editing, compiling, and debugging C code.

Using Linux

Linux Manual Pages

Linux comes with a large manual in (almost) every installation. You can access the manual using the man shell command, but you’ll need to know a few tricks to find the information you want and navigate once you’ve found it.

Searching Shell History

You may end up in a situation where you’d like to run a command you’ve run before, but you aren’t quite sure the last time you ran it. You could hit the up key until you find it, but you can search your shell history instead.

Testing Transcripts

There are a variety of ways to create a transcript of your testing session, but this one allows you to interact with the program and record the results at the same time. Be sure to attach the testing transcript to your program submission as a plain text file.