Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
JavaScript Lab
What is JavaScript?
Like python, JavaScript is a programming language. Just like how Python is 
interpreted by IDLE or a python interpreter, JavaScript is interpreted by web 
browser. This means that we can use JavaScript code on web pages to do some cool 
stuff!
Suggested Reading
http://www.cc.gatech.edu/classes/AY2014/cs1301_spring/presentations/Javascript-
python.ppt
What do to for this lab?
As you should know by now, JavaScript contains very similar functionality to Python.
Both languages have for loops, while loops, conditional, variables, etc. To make this 
fact more apparent, you will take the provided (past) homework 3 functions and 
translate the functions into JavaScript functions. We have provided you with a 
template html file to insert your code into. 
Your responsibility will be to insert your JavaScript functions that you make into the 
template. In addition, there will be some html fields you will need to edit. 
All functions should print out the results (via an alert) while/after running.
Note: All fields that need to be changed will be labeled with a FIX ME
NoteB: A print statement in python is the same as an Alert in JavaScript
How to debug your JavaScript functions
http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors
Read Step 3
How to turn in this lab?
Upload your updated index.html file to T-Square.
How will I be graded?
The same rubric used for the past Homework 3 will also be used for this lab.
30 pts.: All JavaScript functions run correctly in the index.html file
70 pts.: Functions adhere to the rubric in the past homework 3
Note: Points will be deducted based on this rubric.
Made by Ikenna Omekam