DOC PREVIEW
UIUC ECE 190 - Programming Studio 6

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Programming Studio #6ECE 190Programming Studio #6• Concepts this week:– MP2 Testing Strategies– LC-3 Programming!Announcements• HW2 regrade requests• Due Friday 3/4, 5PM• Place in ECE 190 dropbox• MP2 is out• Due Wednesday 3/2, 5PMMP2 Testing Strategies• Test corner cases and edge cases to expose bugs in program.• Use test cases to narrow down issues as well (this works, but that doesn’t yet).• What test cases might you use for MP2?MP2 Testing Strategies• Thread on web board for students to share test cases.• Post on thread your test case, and why you think it is a good idea to test.• Do NOT post code!MP2 Testing• When testing MP2, you only need to call `make test`.• Make program will see that ‘make’ has not been done yet and will automatically ‘make’ before ‘make test’.LC-3 Practice Programming• `ece190`• Download ps06.zip from website.• Goal: Have LC-3 print out a 9x9 multi. table.• ps06.asm: Skeleton code, read comments!• ps06.c: C code that already works.• `make` and `make test`• Tip: Transform C’s for loop into LC-3 using systematic decomposition.LC-3 Programming Challenges• Write your own `PRINT_NUM` routine and modify code to call your routine rather than ours.• Write your own `MULT` routine.• Examine and test `MULT` routine presented last week and find/fix bugs. (The code we presented in previous studios actually has a subtle bug


View Full Document
Download Programming Studio 6
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Programming Studio 6 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Programming Studio 6 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?