CS 215 - Fundamentals of Programming II
Class Schedule: MWF 9, KC-136
Final Exam Period: Wednesday, May 6, 8:00am-10:00am
Grades for this course will be posted to Blackboard
These are announcements made in class or via email currently in effect
for this course.
NEW! SI sessions
SI session is available on Mondays 5:00pm-7:00pm in KC-267. The SI
instructor is Linh Trinh (lt88).
Course information handouts
- Syllabus and Schedule (PDF)
- Comparison of C, C++ and Java (PDF)
- Very Basic Unix (PDF)
- An Itty Bit of Git (PDF)
- Using GitKeeper for Submitting Assignments (PDF).
- VirtualBox, a virtual
machine that can be used to run Linux on Windows. Note that
hardware virualization must be enabled in the BIOS of the host
machine. (In particular, HP machines have this disabled by
- 64-bit Ubuntu 18.04LTS VDI.
This file is a ZIP archive of a virtual disk image for VirtualBox
set up similarly to the UE Linux lab client and instructions on
how to create a VirtualBox VM from it.
- Create a new folder (e.g.
- Download/open this zipfile and extract files
virtual-box-instructions-2019-08.pdf) into the
new folder. Note that this zipfile is 3GB. The
extracted VDI file is 8GB and will grow larger as the
system is used to a maximum of 64GB.
- Follow the instructions to create a VirtualBox VM
Desktop install disk ISO image can be downloaded, if you need
to start from scratch (e.g., you have a 32-bit machine) and/or
want use the latest Ubuntu version (currently 18.04). Here is a
Guide. Note that the ISO image must be burned to a DVD or a
bootable USB stick to install natively. For a VirtualBox
installation, only the image file is needed.
Once the installation is completed, do the following:
- Run system updates. The easiest way to do this is from a
terminal command line, type:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt autoremove
- Install the following packages: clang, ssh, git, gcc and emacs or vim. The
easiest way to do this is from a terminal command line,
$ sudo apt install clang ssh git gcc emacs
vim if that is the desired text editor.
- Click on the Devices menu, then on Insert Guest Additions CD image... Run the CD program. This will allow the VM to run in full screen mode.
- Reboot the VM
- git - a distributed version
control system. Site includes an on-line book.
- GitHub Git Cheat Sheet (PDF)
This is a list of links to resources that may be useful in this course.
- Supplemental reading references
for C++, emacs, vi, and Unix
- Links to reference pages of C++
library classes and functions used in this course:
- Dr. Hwang's
emacs configuration file. In particular, this contains
commands to suppress the start-up screen and to change the
indenting style to 'elemtel', which is closer to the style the
- To put emacs into makefile mode type:
alum Tim Debaillie's vim configuration file. In
particular, this contains commands to make vim display TABs as
3 spaces instead of the default 8 spaces.
However, these .vimrc commands only effect how the tabs are
displayed in vi. When the tabs are printed by a2ps, the
default 8 spaces is still used. However, a2ps has a command
line option (-T#) to have it print tabs as some number of
spaces other than the default. It is used as follows to get 3
$ a2ps -T3 file1 file2 ...
Note: you only want to do this with source code files, not
- Cygwin, a UNIX environment for
Putty, a free terminal emulator for Windows that works
well for remote access to Unix boxes and using Unix
editors. Use the SSH protocol to access csserver.
- WinSCP, a free
file copying program for Windows that supports the SSH protocol.
Lectures and Assignments
This is a list of in-class exercises and assignments posted for this class
in reverse chronological order. Some may be available in hard copy
- Wednesday, January 22
- Homework 1
(PDF) - Due:
Monday, January 27, due 11:59pm by electronic