madnick
06-05-2006, 10:49 AM
Hey everyone
I was doing a mock exam for a exam I am doing later on this year. I am stuck on a few questions. Could anyone help? Thanks everyone!
Question 1: Using a For Loop
Construct a form with two buttons, labelled PLUS and MINUS respectively, which will the number 1 to 10 with the + or - as appropriate using the for loop statement. It should look like the image below:
http://i83.photobucket.com/albums/j300/planetnickproductions/80141b75.jpg
Question 2: Using a While Loop
Construct a form with two buttons, labelled PLUS and MINUS respectively, which will the number 1 to 10 with the + or - as appropriate using the while loop statement. It should look like the image below:
http://i83.photobucket.com/albums/j300/planetnickproductions/80141b75.jpg
Now this one I am really confused with!!!
Question 3: Displaying Object Properties
Construct a webpage which will display all of the properties of the document object, displaying six properties per line of text and sparating each property with a semi-colon and a space. It should look something like this:
http://i83.photobucket.com/albums/j300/planetnickproductions/9f8444e0.jpg
Thanks for all your help - im only a rookie coder and this would mean so much to me! Thanks again!
I was doing a mock exam for a exam I am doing later on this year. I am stuck on a few questions. Could anyone help? Thanks everyone!
Question 1: Using a For Loop
Construct a form with two buttons, labelled PLUS and MINUS respectively, which will the number 1 to 10 with the + or - as appropriate using the for loop statement. It should look like the image below:
http://i83.photobucket.com/albums/j300/planetnickproductions/80141b75.jpg
Question 2: Using a While Loop
Construct a form with two buttons, labelled PLUS and MINUS respectively, which will the number 1 to 10 with the + or - as appropriate using the while loop statement. It should look like the image below:
http://i83.photobucket.com/albums/j300/planetnickproductions/80141b75.jpg
Now this one I am really confused with!!!
Question 3: Displaying Object Properties
Construct a webpage which will display all of the properties of the document object, displaying six properties per line of text and sparating each property with a semi-colon and a space. It should look something like this:
http://i83.photobucket.com/albums/j300/planetnickproductions/9f8444e0.jpg
Thanks for all your help - im only a rookie coder and this would mean so much to me! Thanks again!