Sajeev's Programming Page


HTML 4.0 WEB SITES

Programmable Thermostats Overview Web Site

The files in this folder are for a Programmable Thermostat web site. You must be connected to the web for some of the links to work. Some links are local and some are on the web. This was a project for CSC110 (HTML programming at Parkland College, Champaign IL). This site was constructed completely from scratch. Idea for the site came from shopping for thermostat for my parents home. The graphics were designed by myself using the windows paint program (unfortunately I am not a graphics artist). Program was written using the Windows notepad editor and updated using Star Office.

  1. This site was originally constructed in 1997. I have decided to update this site. My main goals were giving it more of a clean look and trying to bring it up to 1999 expectations. Cascading Style Sheets (CSS1) have now been implemented. I originally constructed a global CSS file for the updated site. Unfortunately Star Office imports the sheet and makes the reference local. I may add a DHTML (VBScript or JavaScript) page or a JAVA applet to the site. It will offer user interactivity with a sample programmable thermostat (a simulation). The navigation options at the bottom of each page may be put in a seperate frame running as a JAVA applet or a JavaScript or VBScript. I will test this on the simulation page. I will also update the material providing new and more information in the next few weeks.

Last Updated 10/30/1999, Sajeev Sivanesan
This is a non Java, JavaScript, VBScript site. Programmable Thermostats Overview Web Site


VBScript, JavaScript (DHTML) Pages

Online Electronics Calculator

This site will be an online version of the downloadable Visual Basic Electronics Calc program. Unfortunately due to this server this could not be an ASP application. This site is under construction and in its early stages. Currently it is geared more towards functionality than appearance and is consisted of these links. In the next few weeks the site will be updated with more functionality and a improved appearance.


This is a non java site. Requires IE 4.01 or higher, Netscape 4 or higher.

Online OHMS LAW Calculator

Online Boolean Logic Calculator

Online AC Calculations Calculator

Online Transformer Calculator

Online Capacitance Calculator

Online Power Calculator





JAVA APPLETS

Party Applet (HENRY AND MARGES PARTY)

Party program is a program originally created by Scott Badman (Instructor). This program has been added on to. The applet is like a small cartoon with the scene taking place in a family room.

Files of code added by Sajeev Sivanesan:
Table.java
Bar.java
Remote.java
Television.java
Lamp.java
Sofa.java
HeadFigure.java
Party.java(amended to for added classes and a longer runtime)

Party.java was amended to and rewrote for the added classes. Original version of the assignment should be available from Scott Badman (Instructor at Parkland College, Champaign, IL.). This was a project for CSC125. Future additions to this project will include color, and more scenes. This program is a good example of how JAVA can be used for entertainment. The class friendly nature of JAVA makes the programming language ideal for team efforts.

Party Applet (Henry and Marges Party)
Party source files


WeatherSystem applet

At the top of the screen is a display for the numbers of each element and how many moves have occurred. Elements may be repainted over one another in the same grid. This gives the impression that the count of an element is wrong when more than one of the same element is in the same grid (will be fixed in the next version). Changing the number of moves an element lasts will alleviate this problem. Currently this version is initialized with two rains and two suns. They last 7 to 8 moves. The count for each object starts the time the object is created. If a rain and a rain intersect on move 5 they create a new rain. This rain will last 7 to 8 moves starting on move 5. If the two rains that created this rain were initialized in move 1 they will die in move(s) 7 to 8. The program is only initialized with two suns and two rains to keep the display from cluttering quickly. This allows the user to seethe random movement of each object and creation of new objects. Refreshing this page a few times after all objects have disappeared will give the user a better idea of the purpose of the program. The program may seem a little bit plain and simple. This was a project for a programming class. The main things to look at is keeping track of the various objects and creation of new objects. There is more going on behind the scenes than there appears to be. Future versions will show off a more polished look with option buttons. Code will be available for download.


By Sajeev Sivanesan for Java Programming Class CSC124, Parkland College, Champaign IL.
WeatherSystem(ECO SYSTEM)Applet
WeatherSystem source files


C PROGRAMS



Financial Calculator

Lab4d1.cpp is a C program written for a project in CSC123 (David Tancig, Instructor) at Parkland College.

Lab4d1.cpp when compiled and executed is a financial loan calculator. The program is able to compute a value given two other values. For example if you give the program your current investment and interest rate it will compute the value after a certain number of years.

This is an easy to use program and once run is self explanatory. The clrsc() function calls have been commented out for use with Visual Studio. If you use Borland C++3.1 you can uncomment the clrscr() calls. Program was originally written and compiled in Borland C++ 3.1.


By Sajeev Sivanesan
Financial Calculator


C++ PROGRAMS



Moonlander Game

The files Proj3.cpp and Proj3.h when compiled make a Moonlander game. This game is a keyboard game. It initially starts with a certain height, velocity and fuel level. The user either presses enter (not to fire the engine) or P (to fire the engine). When the altitude is equal to or less than 0 and velocity is above -2 the lander lands safely. This is not a graphical game. Programming project for CSC125 at Parkland College, Champaign IL.


by Sajeev Sivanesan.
Moonlander Game


NAN PROGRAM

Integer.cpp and Integer.h are files written by Sajeev Sivanesan. This project was an assignment for CSC125. The program creates a integer data type of NAN. This integer data type prevents overflow, divide by zero errors, and more.

Intgrade.cpp is a test program provided by Scott Badman(Instructor) for Integer.cpp. Compiling Intgrade will include the other files Integer.cpp and Integer.h. For instance you can make changes to Intgrade.cpp, compile and run Intgrade.exe.

You will need to compile Intgrade.cpp to make a new executable file. You can use the executable included in the zip file.


Program was written in Borland C++ 3.1.
NAN PROGRAM


LENGTH CONVERSION

This is a simple program that takes a english or metric value of measurement. If you select the english value you will have to enter miles, feet, and inches. The program will output the equivalent distance in meters.


Program was written in Borland C++ 3.1
Length Conversion


VISUAL BASIC 6.0

Electronics Calculator

This program is an electronics formula calculator. You can compute values normally associated with electronics. Ohms Law is one formula for example. If you enter two values it will compute the third. For instance if you enter a voltage and a current it will compute the resistance. This program is at an early stage currently and has not been thoroughly debugged. This program will be added to and updated over the next few weeks. Keep checking back for newer versions. Choose download from this location for each of the four downloads. Make sure to download the individual files to the same directory. First unzip SetupLst.zip. Run setup.exe to run the installation program. Executable installer only available for download. Feel free to redistribute (Freeware).



Written in Microsoft Visual Basic 6.0 running on Windows98


Please email if you cannot download or if you have suggestions or comments.


ElectronicsCalc, last updated 10-22-99
Electronics Calculator
Electronics Calculator Cab1
Electronics Calculator Cab2
Electronics Calculator Cab3
Electronics Calculator List File


If there is a small application you would like to see please drop me an email. Currently I am welcoming suggestions for a small Visual C++ , Visual Basic, or JAVA program. Due to server limitations most applications must be kept at a small scale.


Sajeev Sivanesan, [email protected]