Welcome to CS250: Programming II!
Spring 2012

Revision Date: January 4, 2012


CS250 is the second programming course in the Computer Science Sequence. Students will learn intermediate programming concepts and techniques, including the object-oriented programming paradigm and associated tools and techniques for testing and debugging. Additionally, students will learn BSD and System V Unix concepts in the context of the Ubuntu 10.04 LTS operating system.

Useful links

Programming projects

Class Materials

Configuring the UA VPN

You do not need to connect through both the UA Wireless Network and the UA VPN to submit. Just connecting through the campus wireless network is now sufficient.

If you wish to configure your USB stick for VPN, follow these directions.

Mailing list

A mailing list has been established for this class. The list is meant for free-for-all discussion among all sections. If someone asks a reasonable question via the list and you know the answer, please respond. Always remember to be polite and respectful when you submit to the list. Please read the list daily, as I will use this forum for any emergency communications.

Students must subscribe themselves to the mailing list using the following instructions.

To subscribe to the list, send an email to


from your Crimson account with the following line in the body of the message:

		    subscribe CS-250

The subject of the email doesn't matter. You should get a quick acknowledgement. To send a message to the mailing list, send it to:



An editor is a word processor for programmers and is used by programmers to write and modify source code. Source code refers to the words and punctuation that computer programs start out as. With regards to editing, a programmer's primary concerns are entering source code quickly and modifying source code even more quickly. There are two great and timeless editors geared especially for proficient programmers: emacs and vi (nowadays vim).

You will learn one of these great editors. The easiest way to learn emacs is to start emacs by entering the command


at the system prompt. Then, hit theESCkey following by the xkey then type help-with-tutorialfollowed by hitting the RETURN key. To exit emacs, type<Ctl-x><Ctl-c>.

To run the vim tutorial, type the command:


at the system prompt. To exit a vim session, type ZZ to save your changes and quit or :q to quit if no changes have been made or:q! to quit without saving changes.

Here are some web tutorials: