Niall's coding snippets
Homework
Note: The classes are listed in the order I
took them, since I consider the time progression vs.
coding more important than alphanumerical sorted classnames.
CSE1317 -- C programming
This class wasn't taken at my current school. I included it just
for grins as it was my very first programming class that didn't deal
with BASIC :)
CS424 -- Object oriented programming w/ C++
- Fraction stuff - Our first object-oriented
creation.
- String class - Your standard Stroustrup
copy.
- Shape class - A class excercise to draw
shapes on a text screen.
CS448 -- Systems Programming
- Unbuffered I/O performance
- The only project that I actually managed to make a nice web
page about.
CS337 -- Data structures
Since I had taken a C++ class before taking this class, I decided it
would be cool to use my experience with C++ to create templates,
instead of creating the usual hardcoded specific type functions and
such. Since the assignment requirements were to implement a particular
data structure (array, linked list, etc.) with a specific information
structure, I used my general-purpose template with my information
structure. I really learned to appreciate C++'s OOP capabilities
during this class. Unfortunately, trying to do everything as a
template proved to be my undoing as I missed a couple of deadlines.
- Array Template - An array template.
- SLList Template - Non-intrusive
singly linked list template.
CS346 -- Computer software systems
- An IBM 4300 virtual machine - an IBM 4300
processor emulator (kinda). Using a subset of the actual processor's
instruction set, it will execute the code supplied in a binary file.
COSC3436 -- Introduction to Database Management Systems
An interesting class. We did a lot of work with interactive SQL
(using the Oracle 7 database) and a little bit on forms, but sadly, no
embedded SQL. Oh well.
- Lab 1 - Introduction to Unix and Oracle.
- Lab 3 - Creating the "Cars" Database
with Oracle.
- Lab 4 - Using Oracle SQL*Plus, Part
III.
- Lab 5a - Excercise 2.5 requests,
a-i.
- Lab 5b - Excercise 2.5 requests,
j-t.
- Lab 6 - More SQL with Oracle SQL*Plus.
- Lab 7 - Still More SQL with Oracle
SQL*Plus.
- Lab 9 - Multi-user Considerations
(GRANT, REVOKE, and SYNONYMS) and VIEWS.
- Lab 10 - Introduction to Oracle
Forms, Version 4.
I finally experienced my first graduate-level class (as an
undergraduate, though) and enjoyed it immensely. I learned more about
order of growth and why theta of n-factorial is a bad thing.
Other schtuff
Java -- Java applets
I have played around a bit with Sun's Java programming language,
and decided to put some of the small applets that I have written up
here with the rest of my code.
- ColorTest - My response to a
fellow student's question about creating (grey) colors under Java.
- DragTest - Drag a little box
around an applet using the mouse.
- FunkyMath - A mathematical
expression evaluator that allows overloaded operators and order of
precedence modification.
- GetProperties - Read
all the system property responses from a Java browser.
- Prime - A graphical prime number-finding
applet.
- TextFieldExample -
What's the difference between a TextEvent and an ActionEvent?
Last modified: May 11, 1998
Niall Durham /
durham@cbi.tamucc.edu