| Haomin Wang | 9/26/2002 | 7:52:15 PM | hello, Cliff |
| Lisa Williams | 9/26/2002 | 7:52:19 PM | Hello Mr. Wang and everyone else |
| Cliff De Long | 9/26/2002 | 7:52:19 PM | hi |
| Haomin Wang | 9/26/2002 | 7:52:22 PM | hello, Lisa |
| Lisa Williams | 9/26/2002 | 7:52:35 PM | boy am I in trouble this week! |
| Cliff De Long | 9/26/2002 | 7:52:41 PM | just wanted to say that this is a terrific class and I'm really enjoying it... |
| Haomin Wang | 9/26/2002 | 7:52:42 PM | Sorry, i was delayed by some trouble-shooting with the quiz center |
| Lisa Williams | 9/26/2002 | 7:53:07 PM | I thought this would be a bit easier than it is.... not that it isn't fun, but it is frustrating |
| Haomin Wang | 9/26/2002 | 7:53:14 PM | i'm glad you enjoyed it so far |
| Haomin Wang | 9/26/2002 | 7:54:06 PM | Lisa, you need to use some strategies |
| Haomin Wang | 9/26/2002 | 7:54:11 PM | and patience of course |
| Lisa Williams | 9/26/2002 | 7:54:35 PM | Yes, strategies would be nice. :) I need a bit more patience I know.... so where can I start? |
| Haomin Wang | 9/26/2002 | 7:54:38 PM | strategies such as starting with some basic components, then building upon them |
| Lisa Williams | 9/26/2002 | 7:54:48 PM | yes, i feel like i am missing out on something |
| Haomin Wang | 9/26/2002 | 7:55:01 PM | which task has been particularly demanding? |
| Cliff De Long | 9/26/2002 | 7:55:02 PM | users (people) are frustrating - computers are just machines that try to do exactly what we tell them - being the go-between is what I do for a living |
| Haomin Wang | 9/26/2002 | 7:55:43 PM | knowing the nature of computer helps a lot |
| Lisa Williams | 9/26/2002 | 7:55:47 PM | beginning the script and understanding which .prompt, .write, etc to use |
| Haomin Wang | 9/26/2002 | 7:56:20 PM | Lisa: it's hard to think of all the things all at once |
| Haomin Wang | 9/26/2002 | 7:56:49 PM | breaking the task down into some managable components and then take a step by step approach |
| Lisa Williams | 9/26/2002 | 7:56:57 PM | last week we had the appVersion, appName, etc. and then this week it is totally different. i know that scripts have different tasks ans need diff. directions... but there is sooo many |
| Haomin Wang | 9/26/2002 | 7:57:50 PM | the appName and appVersion task is basiclly a practice on adapting some code |
| Lisa Williams | 9/26/2002 | 7:58:28 PM | i see the loop and i am not sure where to start. i wrote a message on the board and Bruce said he found all the "parts" he needed in the lesson and assignment notes... i missed it. :) |
| Haomin Wang | 9/26/2002 | 7:58:34 PM | right now, it's difficult for us to take up a major project involving extensive structure and multiple parts of tasks |
| Cliff De Long | 9/26/2002 | 7:58:37 PM | Copy and Paste, then edit??? |
| Lisa Williams | 9/26/2002 | 7:59:05 PM | right cliff, but what do i copy and paste??? maybe i am not seeing the similar parts to the scripts. hmmmm |
| Haomin Wang | 9/26/2002 | 7:59:26 PM | that's an easy way to start: modifying an existing program to make it do something different |
| Cliff De Long | 9/26/2002 | 7:59:39 PM | I copy from the class web page and a basic template that seems to stay the same so far... |
| Lisa Williams | 9/26/2002 | 8:00:02 PM | is there something in our lesson and assignments that i could copy then? |
| Haomin Wang | 9/26/2002 | 8:00:22 PM | Yes, Lisa |
| Haomin Wang | 9/26/2002 | 8:00:56 PM | You can copy some major structurre from the lesson notes for all the assignments so far |
| Lisa Williams | 9/26/2002 | 8:01:02 PM | i see things that i understand, but i can't seem to put them together |
| Haomin Wang | 9/26/2002 | 8:02:02 PM | Cliff: do you have any experience to share here? |
| Lisa Williams | 9/26/2002 | 8:02:04 PM | i just went to week 4 on our lesson page.... something there? |
| Cliff De Long | 9/26/2002 | 8:02:05 PM | I'm going to Mark's now - Lisa - you' get it!!! :) |
| Haomin Wang | 9/26/2002 | 8:02:14 PM | OK |
| Lisa Williams | 9/26/2002 | 8:02:22 PM | i will be there shortly cliff |
| Jan Bolluyt | 9/26/2002 | 8:03:09 PM | hi, Haomin |
| Lisa Williams | 9/26/2002 | 8:03:10 PM | i am looking at the grade script in the lessons, and i understand it.... well mostly, but how do i take that and make it work for the factoral script? |
| Cliff De Long | 9/26/2002 | 8:03:11 PM | I just use the sam basic notepad file every time, paste in the java from the web page - save it as html, try and open it and IE tells me the line number and character where I made my mistake.... |
| Haomin Wang | 9/26/2002 | 8:03:12 PM | OK. Lisa: how about the factorial task? |
| Lisa Williams | 9/26/2002 | 8:03:27 PM | hi jan |
| Haomin Wang | 9/26/2002 | 8:03:43 PM | hi, Jan |
| Haomin Wang | 9/26/2002 | 8:04:06 PM | first of all, you need an integer input from the user, right? |
| Lisa Williams | 9/26/2002 | 8:04:11 PM | my huband wrote out this whole flow chart on this one, and it works... now i just have to get it to program right |
| Haomin Wang | 9/26/2002 | 8:04:38 PM | how do you get an integer input from the user? |
| Lisa Williams | 9/26/2002 | 8:04:55 PM | yes, an integer input..... such as var A?? |
| Lisa Williams | 9/26/2002 | 8:05:04 PM | you prompt the user to input a value |
| Haomin Wang | 9/26/2002 | 8:05:12 PM | right |
| Cliff De Long | 9/26/2002 | 8:05:17 PM | a prompt window for them to type in their respons? |
| Lisa Williams | 9/26/2002 | 8:05:30 PM | okay, got that |
| Lisa Williams | 9/26/2002 | 8:05:47 PM | that is the window.prompt command? |
| Lisa Williams | 9/26/2002 | 8:05:54 PM | inputText |
| Haomin Wang | 9/26/2002 | 8:05:54 PM | once you have that integer, you know how many times your loop should run in order to get the factorial |
| Cliff De Long | 9/26/2002 | 8:05:56 PM | :) |
| Lisa Williams | 9/26/2002 | 8:06:16 PM | loop=5 (or whatever the number may be??) |
| Cliff De Long | 9/26/2002 | 8:06:26 PM | I pulled that statement right out of the book |
| Lisa Williams | 9/26/2002 | 8:06:30 PM | is that it? or is it more complex |
| Haomin Wang | 9/26/2002 | 8:06:37 PM | I'm copying the lines from the lesson notes: // get the user input to start inputText = window.prompt("Enter a grade, -1 to stop:", "0"); |
| Haomin Wang | 9/26/2002 | 8:06:50 PM | Not a grade, but an integer |
| Lisa Williams | 9/26/2002 | 8:06:57 PM | right, i see that YEAH! |
| Lisa Williams | 9/26/2002 | 8:07:11 PM | then.... |
| Haomin Wang | 9/26/2002 | 8:07:13 PM | an integer not too big, cuz a large integer can make the computer work forever |
| Cliff De Long | 9/26/2002 | 8:07:20 PM | but, it comes in as text... |
| Lisa Williams | 9/26/2002 | 8:07:36 PM | so do you have to write something that will not let it be too big? |
| Haomin Wang | 9/26/2002 | 8:07:54 PM | yes, we need to convert the text into integer: // convert the text input into integer inputValue = parseInt(inputText); |
| Lisa Williams | 9/26/2002 | 8:08:13 PM | yeah, this is where i loose it..... what is that parseInt |
| Lisa Williams | 9/26/2002 | 8:08:41 PM | thanks for hanging in here cliff... this is helping. :) |
| Haomin Wang | 9/26/2002 | 8:09:20 PM | parseInt() is a method that converts a text string into a numerical value |
| Lisa Williams | 9/26/2002 | 8:09:27 PM | ahhhhh |
| Haomin Wang | 9/26/2002 | 8:09:30 PM | more specifially an integer |
| Lisa Williams | 9/26/2002 | 8:09:42 PM | that is why the (inputText) is there |
| Lisa Williams | 9/26/2002 | 8:09:44 PM | ok |