![]() ![]() |
| |||||||||
| This page removed for FERPA compliance | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| No – show the decimal. Mark Guzdial |
| I recommend reading over the slides functions.ppt (and the corresponding chapter in the book) which I started Friday and will finish Monday. I'm talking exactly about how to integrate tags like that into samples pages. Mark Guzdial |
| Leave the number of decimals alone, but there must be decimals. Mark Guzdial |
| It's a legal question. If the result is numeric, the function str() will convert it into a string. Now you can add it into a string just like +file+. Mark Guzdial |
| It's in the book, it's in the functions.ppt slides, and I just told the 1pm section on Friday in lecture. Considering that each lecture only had about 20 people in it, and there are over 300 registered for this class, my guess is that you weren't there. If folks are finding the take home exam hard, why not come to class and hear me explain how to make it easier? I am actually curious what drives so many people skipping class–is the class perceived as too easy, or the lectures too boring? Mark Guzdial |
| Look at the HTML lecture, the content on <table> and </table>. It's also in the book chapters now online. Mark Guzdial |
| That's debugging your program, which is not appropriate for me to answer here. Think about what could be going wrong, and read up on the debugging tips that I've given you in the past (there's a lecture on it and a chapter in the book on it.) Mark Guzdial |
| No, they don't. Mark Guzdial |
| Just a link to that file. Mark Guzdial |
| Again, this is debugging your code, which I can't help you with on a take-home exam. My suggestion is to read over the HTML you're generating and see if that makes sense. I'll repeat my suggestion that I made in lecture and in the chapter: WRITE THE HTML FIRST! Get the HTML file working all by itself, THEN write the program that generates that kind of HTML file. If you understand the tags, it goes much easier. Mark Guzdial |
| In reference to all the questions about tables and html, the Lab 5 assignment has a lot of info and links on writing html. Lauren Biddle |
| Sorry – same answer as above. Mark Guzdial |
| Sorry – see above answers. Mark Guzdial |
| There are no requirements to use more than one function or to use any of the functions I provide. Mark Guzdial |
| No. I recommend that you write some HTML files using Tables until they make sense to you. There are also LOTS of HTML tutorials on the Web that can help you learn about tags like tables. Mark Guzdial |
| Please see previous answers, the slides, and the book. Mark Guzdial |
| Thanks. Please see previous answers. Mark Guzdial |
| No pictures in the tables at all. Mark Guzdial |
| str() is a pre-defined function in Python. Mark Guzdial |
| No, I'm sorry. You have to infer that part on your own. Mark Guzdial |
| That's fair game, to use any content in the website. Mark Guzdial |
| I suggest trying things out, debugging, and making the page separately from the function first, to figure out the tags. Mark Guzdial |
| I'm sorry, but I can't answer questions about your program. (If it worked in class, but it isn't for you, then it's something that went wrong with your program and isn't a question about lecture anymore.) Mark Guzdial |
| The take home exam does not require you to create lists, only a table. Mark Guzdial |
| You don't have to – don't worry about it. Mark Guzdial |
| Yup, that's it. "Go to" a sound doesn't necessarily change what you see in the browser...on some browsers. On others, it does. The point is for the sound to be the target (href) of the anchor. Mark Guzdial |
| Right – that's how it works if you have QuickTime and not RealPlayer or WMA installed. There are lots of variations. Mark Guzdial |
| REMOVEDre! There are lots of websites on HTML for beginners. Go to http://www.google.com and do a search on "HTML tutorial." Mark Guzdial |
| Sounds okay. Yes, it sounds like (no pun intended) you don't have your browser configured to handle WAV files. Not a problem. Student282 |
| No, just the files are the links. Mark Guzdial |
| I can't really say more than I am saying in lecture today. Sorry. Mark Guzdial |
| Variations are fine. For example, you don't have to have borders, but you do have to have a <table> tag. No, you don't have to include column headings, but it's not wrong if you do. Mark Guzdial |
| You saw them work, so you know they do. My suggestion is, as always: Read the error message, put in print statements to figure out what's going on, then fix it. Mark Guzdial |
| It all depends on what the error is. If the error is name not found, that tells you a lot. Mark Guzdial |
| Hmm, interesting theory. Could be the case. The TA's will test with files with no spaces in it, in case your theory is true. Mark Guzdial |
| If you have something that your TA should know, please include it in your 'Notes to TA' section when turning in the assignment. That way, if something happens like what you describe above, you can either get partial or full credit on that section. Student56 |
| Your program must work for ANY number of files. My suggestion for you is the same as the previous: READ the error. It does mean something. Mark Guzdial |
| str(number) turns the number into a string. Mark Guzdial |
| See above answers. Figger it out. Mark Guzdial |
| You're not going to get a link to a Web page. You're going to get an HTML file created...if it's working. If you don't write out a file, you won't have one there. Mark Guzdial |
| yes, your directory is probably different from ours. Student56 |
| just the file, no pics or sound. Student56 |
| There are various sizes of headings in html that are created using different tags. A level 1 heading would be the largest. Check the "Simplest Webpage" example for more information. Lauren Biddle |
| if loop? do you mean for loop? Think about what the loop is actually used for and how you want to make the information the table data in each table row. Student56 |
| If you have a spacing issue, mention it in your 'Notes to TA' area when you turn it in. The TAs will most likely grade with files that do not contain spaces, but mention the conditions at which your program will and will not work. Student56 |
| Someone else mentioned this, too. It may be an issue with your browser. No matter – we're willing to test ONLY with files that have no spaces in them, as Angela says. Mark Guzdial |
| When you get that error, it means that you have non-matching quotes or parentheses. Mark Guzdial |