Assign Requirement
Assign Requirement
20% mark deduction per day will be applied to late assignments and work submitted 3 days after
the due date will not be accepted.
If you really have a situation that you can’t submit your assignment in person or by your classmate,
please inform the instructor BEFORE the due time. Make sure that he/she knows it by replying you.
Evaluation Table (To be copied onto the cover page of your assignment!)
Note:
Tips for making your program readable
Do not use global variables unless necessary.
Use short but meaningful names for variables and functions.
E.g., PrintNum(StudName). People can guess what you are doing without looking at the procedure
and the variable details.
Give a short description whenever there is a section of big/main/complex calculation (state the
purpose and the expectation before and after each section). Usually it is called inline
comments/description. Write this kind of description when you are writing your program. Do not
wait until you finish the program.
Comments that are added after program completion are those general description and parameters'
description, not inline comments.
Special Offer
Keep in mind that in order to PASS your assignment, your program has to be at least working fine in
most situations (You have to test it by yourself). However, if you have really tried your best but still
couldn't get your program running smoothly, please do write a brief description to explain what you
have done. Then, hand in your partial work and your description. Appropriate marks will be given,
don’t worry!
Cheating
Please DO NOT CHEAT! If your program is not working, just let it be and submit whatever you could
do! If you hand in your program that couldn’t work out, but make up some fake sample input or output,
you will get a grade ZERO!
MOST IMPORTANT:
PLEASE DO NOT COPY ANY OF YOUR CLASSMATE's WORK!
Heavy penalty will be enforced without any mercy!
Reminders:
When you are writing your programs, you should try to ask yourself the following questions before you
submit:
Is your current work the most efficient way to do it? Are there any other ways to implement your
program?
If your program were to submit to your classmate to read, will your classmate understand your code
WITHOUT your presence?
If you are asked to add additional features later on, what percentage of your code needs to be
modified?
Is it possible for your code to be applied in other similar problems with minor changes?
Are you using too many functions? Are you using only one main program?
Do you have enough comments to explain loops and inner functions?
What input and/or output errors are handled? Have you included all cases?
Are you using meaningful names for all of your identifiers?
Last reminder: Be very patient in writing programs!