This URL is http://www.stewart.cs.sdsu.edu/cs575/labs/l2report_fileio.html
ROHAN Directions for creating a home page (NOTE: this may need some updating. I'm trying to provide specifics in the Report Template)
Main task for 17Sept03 lab:
Start on Report Due Sept. 24
Start to edit and prepare your class home page for Assignment 1 on timers
Your essay question
How large does the input parameter, N, controlling the loop in the sample code you examined in lab last week have to be to obtain convincing data that you can relate the known OpCounts to the actual measured CPU time as measures of work? Provide the data to support your conclusion. Consider both user CPU time and system CPU time.
For ideas on how to gather convincing data, see Validating Data in the Problem Solving Skills page.
You should start to form the habit of capturing your data to a file and identifying this data. One simple way to accomplish this would be to
A simple HTML tag would be to use the tag pre for pre-formatted text.
< pre >
your "datafile" here
< /pre >
your "datafile3cases" here would be the file datafile3cases in the script example above.
Your essay must use the html-template, named assign1.html
in your public_html directory as the starting
point. You should include an Appendix of your output data from the modified C or
Fortran code, csample.c or fsample.f using the
script - exit
instructions above or by writing to a file, instructions below.
You must discuss the data that you actually generate. You should modify the code to produce the Tables or other organized collections of data. Concise, focussed data and report are valued. Please do not compute pages of data, since this becomes difficult to reference in your written report. Instead, once you have experimented and examined enough data to be familiar with the problem and draw some conclusions, you should modify your source code to produce concise, focussed data tables to directly include in your written report.
When you have completed your essay, including the authenticating output as an Appendix, you must send email from your class account to stewart@rohan.sdsu.edu to notify me that your html-essay is ready to be viewed. I do not read an essay until I hear from you.
I recommend that you consider structuring your code so that the code writes the output data to a file. If you are not confident of your programming skills, then the script/exit technique outlined above is okay, for now. If you have not had the opportunity to work with code writing to a file, I am providing the following simple examples.
Return to CS 575 Class Home Page