CS 215 - Fundamentals of Programming II
Class Schedule: MWF 11, KC-267
Final Exam Period: Monday, April 30, 11:00am-1:00pm
Grades for this course will be posted to Blackboard
These are announcements made in class or via email currently in effect
for this course.
Course information handouts
- Syllabus and Schedule (PDF)
- Comparison of C, C++ and Java (PDF)
- Very Basic Unix (PDF)
- 64-bit Ubuntu 16.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-2018-01.pdf) into the
new folder. Note that this zipfile is 3.5GB. The
extracted VDI file is 8.4GB and will grow larger as the
system is used to a maximum of 24GB.
- Follow the instructions to create a VirtualBox VM
- 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
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 17.10). Here is a
Guide. Note that VirtualBox can read an ISO image from the
host machine filesystem, but if you want to do a native
installation, the ISO image must be burned to a DVD or installed
on a bootable USB stick.
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
- Install the following packages: clang, ssh, and emacs or vim. The
easiest way to do this is from a terminal command line,
$ sudo apt install clang ssh emacs
vim if that is the desired text editor.
This is a list of links to resources that may be useful in this course.
- Supplemental reading references
for C++, emacs, vi, and Unix
- 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 17
- Homework 1 (PDF) - Due: Friday, January 19, have something done by classtime, but it is not due until 11:59pm