CSE Courses

Engineering at Illinois Engineering at Illinois

Guidelines for Submitting Homework

For the Entire Assignment
  1. For clarity, do one exercise or computer problem per page.
  2. Label the problem number and individual parts clearly.
  3. If you choose to write your assignments by hand, do so neatly and carefully.
  4. If you type your assignment, format your document so that it is readable. Do not embed long mathematical expressions in paragraph form. LaTeX is a really useful package for doing this. A package called LyX will do Latex in a “What You See Is What You Get” format.
  5. Bind your paper with a staple, not a paperclip. If a staple will not work, use a folder.
  6. Staple problem solutions in the order they were assigned, for example, Ex 2.7 comes before Ex 3.17, and Exercises come before Computer Problems.
  7. Be careful and make sure you answer the entire question.
  8. Reread your answers to ensure that you answered the question that was asked.
For Exercises
  1. Show your work. When a problem asks “What is XXX?”, don't just give a minimal answer, either show how you arrived at your answer or explain why that is the answer. Show relevant formulas and intermediate steps in any calculations.
  2. Show your work.
  3. If your explanation is partly correct and partly incorrect (or missing), then you will receive only partial credit. But please do not include extraneous information in the hope of receiving partial credit.
For Computer Problems
  1. Turn in all source code required to generate your answers and plots. When using MATLAB, it is a good idea to place all of your MATLAB commands in an M-file script (a sequence of MATLAB commands in a file with a .m extension). Whether you run your program from a previously prepared M-file or by typing it in interactively, you should use MATLAB's diary command to capture your session – including source code listing, input, and output &ndash for subsequent printing and homework submission.
  2. Whenever possible, use plots rather than long tables of numbers to show your results. When a solution creates a list of numbers that you are comparing, use a plot. When you want to show how results change when parameters are varied, use a plot. Do not print out a list of numbers unless that is the only way to convey the information required.
  3. When giving numerical results, use format long. In most cases, MATLAB's default 4-digit output format is not sufficient to show the desired effect.
  4. When plotting, if results or parameters vary by orders of magnitude, use log-scale plots. Linear-scale plots, in general, will not show the desired effect. If you think there is no effect, chances are you did not display your results in a way that shows a clear result.
  5. When making plots, give your plot a title, label the axes, and include a legend for the plot when there are multiple curves.
  6. If you have questions on how to plot results in MATLAB, please ask the TAs. They will gladly advise you on the best way to present results.
  7. Include comments in your code. It helps the grader understand what you did (or intended to do) in your program.