Introduction to Computer Programming
Prerequisite computer abilities
- Able to find files downloaded via a browser.
- Able to install a software package.
- Able to create a text file with a text editor.
- Wikipedia article
- I use Notepad++, when I am using Windows.
- I use TextWrangler, when I am using OS X.
- I use vi, when I am using linux.
- Understand the difference between file types and be able to change the file type attributes.
Software tools
Connect to Marquette's encrypted wireless network. This allows you to seed the torrents and reduce the download time for everyone. The longer you can seed the better. There is about 5GB to download.
Deluge - Windows v1.3.6
- Download and install Deluge first.
- If you already have a BitTorrent client, you may skip this step.
virtualBox.torrent, extensionPack.torrent
- Download VirtualBox and the Extension Pack. They will download as torrents.
- Install VirtualBox. Install the VirtualBox Extension Pack.
cs1.torrent
- Download the CS1 appliance. It will download as a torrent. Here is the direct download: cs1.
- This is the virtual machine we will use for this course.
- Start VirtualBox. Go to the file menu. Select Import Appliance. Import the cs1.ova file.
- Start the virtual machine. Salamander = Success.
- If you run into a virtualization issue, you will need to turn on virtualization in the BIOS.
Other platforms
If you are not using Windows, you may download appropriate versions of Deluge and VirtualBox directly from their webpages.
Java
- CodeLab for "An Introduction To Programming Using Java"
- The Java Tutorials
- Java Documentation - Package Index
- Java Homepage
Effects of code plagiarism in the real world
- Google copied Java in Android, expert says
- Android source code, Java, and copyright infringement: what's going on?
Samples
SquareRoot
- sqrt.zip - Contains three versions of the square root program on which we've been working. Make sure you understand how each program works.
- Reference to methods used in the sqrt programs.
TextBoard
Others
- BallWorld
- BallWorldGraphicsUI
- Centipede
- DateExample.java
- GraphicsExample.java
- GraphicsExample2.zip
- KeyEventDemo.java - This demo is a modified version of the one from The Java Tutorial.
- Primes.java
- simpleShip