1 / 18

CIS 338: Exercise/Project Review

CIS 338: Exercise/Project Review. Dr. Ralph D. Westfall October, 2008. Submitting Exercises/Projects. Specifications. "You didn't say you wanted _____" specifications (specs) are always incomplete programmers/analysts get paid to solve problems incomplete specs is one of the problems

kalia-park
Télécharger la présentation

CIS 338: Exercise/Project Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 338: Exercise/Project Review Dr. Ralph D. Westfall October, 2008

  2. Submitting Exercises/Projects

  3. Specifications • "You didn't say you wanted _____" • specifications (specs) are always incomplete • programmers/analysts get paid to solve problems • incomplete specs is one of the problems • avoid making unwarranted assumptions • when in doubt, research things you can find on your own, ask about other things

  4. Quality of Solution • “right” vs. “better” solutions • calculations must be right • 2 + 2 = 4 is the right answer • 2 + 2 = 55 is a wrong answer • what is “right” when creating something that can't be verified logically? • art vs. science • try to make user interface "better"

  5. Beware of "Tunnel Vision" • use all information available to you, e.g. • information in textbooks • programming information on web sites • online forms on the Internet • but don't keep bugging clients • don't ask for things you should be able to figure out on your own • but do post messages to Discussions

  6. Timing • make a schedule • analysis, coding, testing and debugging, preparing materials to turn in • include some "slack" (extra time) in schedule • something always goes wrong

  7. Reliability • your program HAS TO run on the client’s computer • you can’t say “It runs OK on my computer” • professors may get away with this but … • testing needs to include another computer • testing needs to include unexpected conditions • e.g., what happens if a web site gets 100,000 or 1 million visitors? (Britannica)

  8. Help the User • 25 cents may be better than 0.25 • 2 keystrokes, not 4 • label to explain this so user doesn't get confused • use meaningful titles, align the labels, make textbox sizes proportional to inputs • labels can make subtle distinctions clearer • e.g., data is percent, not decimal • format output(s) in currency where necessary • keep buttons together, Exit on lower right

  9. Other Issues • use Option Strict On • consistently use object naming conventions • btn[name], txt[name], frm[name] • use comments, but don't overdo it • comment "tricky" code, NOT obvious stuff • well-chosen variable names reduce need for comments

  10. General Exercise/Project Issues • be sure zip file is submitted • extra/final step (button) after uploading • screen print(s), all code, etc. should be in one Word .doc file • penalty for every file imported for grading • make sure all files are included in zip • .doc, .vb, .sln, .suo, etc. • bin and obj directories also

  11. Specific Exercise/Project Issues • Textbox size should relate to size of data • Decimal calculations, # of digits after decimal • Form1 caption not meaningful to user • Naming convention not used (frm, txt, btn) • Need to get rid of unused/"dead" code • Comments: don't overuse • Project 1: 9 out of 29 were late • Code must be edited to get project to run?

  12. Example 1 • attractive layout • output textbox disabled • right aligned #s • not overly large • but textboxes are much wider than inputs

  13. Example 2 • layout is good • good feature: output textbox is disabled • textboxes too big on this one also • numbers aligned left • right or centered better?

  14. Example 3 • good feature: shows grade and grade points • Clear (reset) button • labels are too wide, for both textboxes and buttons • lot of unused space on form

  15. Example 4 • nice color and layout • output textbox disabled, which is good • but make textboxes less wide, to fit data • get rid of unused space on upper left and bottom of form

  16. Example 5 • centering is better than left aligned #s • TextBoxes have too much vertical height • frame around answer is helpful • too many decimals • but it's a common practice is to keep textboxes in one column

  17. Example 6 • Form1 (.Text) is not meaningful to user • other comments?

  18. Example 7 • buttons in between textboxes is not the standard or typical arrangement

More Related