{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CIT590- assignment 4

The operator check your textbook is a good way to

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ubr 000 Figure out what happens when you convert a dictionary to a list. The %operator (check your textbook) is a good way to print out floating- point numbers, for example, with the format % . f 62. o d ' ' is 9 ; c r 9 )is ' ' and similarly for other letters. r(a) 7 h(7 a; If you haven't yet read my Unit testing and TDD handout (linked to from the course home page), now would be a good time to do so. Grading The assignment will be graded on the basis of 100 points total. You and your partner will receive the same grade. Grading will be based on: Corre ctne s s . We will have our own unit t est s, which your functions must pass. This means that (1) the above functions must take parameters and produce results ex act ly as specified, or our test will fail and cost you points, and (2) your own unit tests should be good enough to catch any errors before we do. Style . Use proper indentation (4 spaces) and proper spacing. Use good, self- explanatory variable and function names. Don't repeat code if you can put it in a function and just call the function. Don't use "magic numbers" (unexplained constants in your code); give them names. Try to avoid redundancy (such as the beginner's i b t e = T u ). f etr = re Due date Decide which of you will submit the assignment (only one assignment per team, please!) and submit it by 6am Friday Fe bruary 1. Zip (don't use . a ) your . yfiles and submit the zipped file to Canvas. No other rr p form of submission will be accepted. www.cis.upenn.edu/~ matuszek/cit590- 2013/Assig nments/04- cir cuits- and- spanning - tr ees.html 4/4...
View Full Document

{[ snackBarMessage ]}