![]() ![]() |
| |||||||||
| Hotspots: Slides and Code TA Corner Comments? Announcements FAQ Static Webspace | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| This has been answered previously, on the HW1/HW2 Questions page. MediaTools can only let you see NAMED pictures. You can't open the picture tool on a picture that you haven't named in the Command Area. Mark Guzdial |
| Yes, and in the book (p. 68). That part of the book is even in the parts made available here in the CoWeb on the Textbook Chapters page. Mark Guzdial |
| You turnin your program. Your function returns the picture. Mark Guzdial |
| That's very weird, Clarke – I've never seen it do that. I do see that, in Internet Explorer, that there is an OPTION to choose JEPG or BMP. Choose JPEG. If you can't get it to work, email your TA or me, and we can email you the JPEG. JPEG files can have spaces on your disk, but not on the CoWeb. Mark Guzdial |
| Of course! I will make that part of the exam. Mark Guzdial |
| Should be the same thing. Mark Guzdial |
| Yes. Mark Guzdial |
| No. Mark Guzdial |
| The notes to the TA part. Mark Guzdial |
| It may be that you saved the file as BMP, but named it JPG. That means that the system will be confused. Email your TA to have the picture sent to you if you can't download it. And as the person says below, you're not supposed to use any canvas. Mark Guzdial |
| Try print exam1() instead of just exam1() and you'll see what is really being returned. Mark Guzdial | (Thank you that led me from the darkness!) |
| I'm sorry, but we can't answer any questions about your programs. Mark Guzdial |
| Absolutely not. Mark Guzdial |
| That's EXACTLY the kind of question that we cannot answer. Mark Guzdial |
| Rename the file so that it matches the assignment. Right-click on the file and choose rename. Your TA can help you with that. Mark Guzdial |
| No, do not show it. Mark Guzdial |
| Please read the assignment again. Mark Guzdial |
| We cannot answer that question, but please read the assignment again. Mark Guzdial |
| Negation is on page 68, and how to apply any operation to a range of pixels is on page 72. Mark Guzdial |
| While we can tell you all you want about setMediaPath and getMediaPath, I can't help you figure out why the file you're attempting to pull seems not to exist. When you use setMediaPath, you don't see files because the file-picker that comes up for setMediaPath is letting you select a FOLDER, not a file. Mark Guzdial |
| Your picture should come out to be the same, and please do NOT post details of your program on this page. Mark Guzdial |
| The BaseCanvas is 400x400. How could mirroring "from the bottom of the picture" or "half of the canvas" be different? (That's a rhetorical question – I don't really want you to spell out details of what you did or what you think it might be.) Mark Guzdial |
| You do not use a separate canvas. Mark Guzdial |
| Right. Mark Guzdial |
| No, you don't need to show it. Just do what the requirements say and the TA's will be fine. Mark Guzdial |
| Ask a TA or in breakout to show you. (I teach breakout at noon in IC109 – you're welcome to join us then. There'll certainly be seats. It's not like even half the class shows! :-) Mark Guzdial |
| You'll have to figure that out on your own. But do recall that in HW2 you negated 1/2 of a picture, so you have a start there. Mark Guzdial |
| See previous response. Mark Guzdial |
| Yes. Mark Guzdial |
| I'm not sure I get your point. The TA's will certainly look at the resultant picture. But YOUR PROGRAM doesn't have to show it. The TA's, having wide and vast (almost mystical) powers, have the capability of calling your program and showing the result. Mark Guzdial |
| Yes, it's certainly possible that it's something in your code that's making it take so long, but we can't answer questions about your program. I'm sorry. Mark Guzdial |
| Yes. Mark Guzdial |
| Compiling? You mean it doesn't Load when you click the Load button? Or it doesn't finish running? Running long can have to do with your program. Not loading may have something to do with your computer – try a different computer? Mark Guzdial |
| Use the Design and Debugging tips from the book and from last Friday's lecture. Mark Guzdial |
| Just as we always have in programs. Mark Guzdial |
| No. Mark Guzdial |