ECE-1011 - Engineering Problem Solving and C Programming

(Last Mod: 27 November 2010 22:04:49 )


PANIC BUTTON


NOTE ABOUT PAGE REFRESHES

Since you are likely to be visiting this site frequently and since the pages here are likely to be modified frequently, you are likely to get into a situation where your browser displays an out-of-date page that has been locally cached on your computer. You can be sure to get the latest page by hitting the "Refresh Page" button or menu item on your browser. You may also opt to adjust your browser's settings to have it check for newer versions of the pages every time you visit them - but this may or may not work as you expect..

QUICK LINKS

EXAMPLE PROGRAMS

SUMMER PROGRAM:

Homework #1: Starting Code Source Code

Homework #2: example executable

Homework #3:

Homework #4: example executable example datafile (note that this demo version is slightly different than homework version)

SPRING PROGRAMS:

Homework #1: source executable

Homework #2: source executable

Homework #3: source executable

Homework #4: source executable MODEL.dat AIRCRAFT.dat FLIGHT.dat 

(Note: The above are just example *.dat files - modify/create your own to test various conditions)

Homework #5: source starter code executable

(Note: Unlike previous executables, this one does not represent an example of what you should be working towards - this one has a manual play feature that allows you to play the Monty Hall game as an actual player to get a feel for the flow and rules of the game. It also suppresses the actual results - so as not to reveal the actual probabilities - unless you know the passcode that it asks for. This code will be posted after the assignment is due. Also, note that this is a demo program and that it does very little error checking on your input. So you can select door 32 if you want. The results then become rather meaningless, but feel free to play around).

Homework #6: source executable ROCKET.dat (Version 6.3 uploaded on 14 Mar 03)

Note: Until after the due date, the source file above contains everything from from the solution, including main() except for the support functions. Of course, the support functions do all the work, but this should give you some ideas on how you might partition the problem. Notice that the main() has fewer than 20 lines of executable code. The same is true of all of the support functions - in fact most have ten or less.

Homework #7&8: source circuit.dat

This is an example data file that conforms to the format specified in the project. Note that, unlike previous homeworks, there isn't going to be any example executable or starter source code - this is the last homework assignment in the course and it is important that you learn to go through the entire problem solving process without these crutches to fall back on. The same can be said for the data file - the format is spelled out in the homework assignment. However, because there was a typo in the description of the format, it's not unreasonable to go ahead and give you an example data file.

TEXTBOOK

Etter and Ingber, Engineering Problem Solving with C, 2nd Ed., 2000.

Errata for 2nd Edition: 2nd Printing  1st Printing

SECTIONS AND INSTRUCTORS

Section 1: Meets Monday/Wednesday from 4:30pm to 7:05pm in DWIR 135. Instructor: William L. Bahn

As a general rule, we will move to ENGR 233 (the PC lab) midway through Wednesday's class.

OFFICE HOURS AND CONTACT INFO

Click the instructor's name to send e-mail.

Mr. William Bahn

    Office Hours: ENGR 231  Wed 7:15pm to 8:15pm (or however late is necessary)

    UCCS: 262-3529   e-mail: wbahn@eas.uccs.edu

    WORK: 593-9501 x133    e-mail: wbahn@bfe.com

    HOME: 532-0186 

If you cannot get in contact with your instructor, you may relay information through the ECE Office in ENGR Room 299 or call them at 262-3548.