资源描述:
《JavaScript面试题.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1. WhysoJavaScriptandJavahavesimilarname?A. JavaScriptisastripped-downversionofJavaB. JavaScript'ssyntaxislooselybasedonJava'sC. TheybothoriginatedontheislandofJavaD. Noneoftheabove 2. WhenauserviewsapagecontainingaJavaScriptprogram,whichmachineactuallyexecutesthescript?A. TheUser'smachine
2、runningaWebbrowserB. TheWebserverC. AcentralmachinedeepwithinNetscape'scorporateofficesD. Noneoftheabove 3. ______JavaScriptisalsocalledclient-sideJavaScript.A. MicrosoftB. NavigatorC. LiveWireD. Native 4. __________JavaScriptisalsocalledserver-sideJavaScript.A. MicrosoftB. NavigatorC. L
3、iveWireD. Native 5. WhatarevariablesusedforinJavaScriptPrograms?A. Storingnumbers,dates,orothervaluesB. VaryingrandomlyC. Causinghigh-schoolalgebraflashbacksD. Noneoftheabove 6. _____JavaScriptstatementsembeddedinanHTMLpagecanrespondtousereventssuchasmouse-clicks,forminput,andpagenavigati
4、on.A. Client-sideB. Server-sideC. LocalD. Native 7. WhatshouldappearattheveryendofyourJavaScript?ThetagA. TheB. The