´ïÄÚµÚÈý´ÎÔ¿¼ÊÔÌâ-¹²Á½Ì× ÏÂÔر¾ÎÄ

? 9.

(µ¥Ñ¡)ÔÚJSPÖУ¬Ö»ÓÐÒ»ÐдúÂ룺<%=A+B%>£¬ÔËÐеĽá¹ûÊÇ£¨£©¡£

o

A.

A+B

o

B.

AB

o

C.

113

o

D.

´íÎóÐÅÏ¢

ÕýÈ·´ð°¸£ºD

? 10.

(µ¥Ñ¡)ÒÔÏÂÑ¡ÏîÖв»ÊÇwindow¶ÔÏóµÄ·½·¨µÄÊÇ£¨£©¡£

o

A.

prompt

o

B.

opener

o

C.

alert

o

D.

close

ÕýÈ·´ð°¸£ºB

? 11.

(µ¥Ñ¡)ÒÔ϶ÔJavaScriptÀí½âÕýÈ·µÄÊÇ£¨£©¡£

o

A.

JavaScriptÊÇÍø¾°¹«Ë¾¿ª·¢µÄÒ»ÖÖJava½Å±¾ÓïÑÔ£¬ÆäÄ¿µÄÊÇΪÁ˼ò»¯JavaµÄ¿ª·¢ÄѶÈ

o

B.

FireFoxºÍIE´æÔÚ´óÁ¿¼æÈÝÐÔÎÊÌâµÄÖ÷ÒªÔ­ÒòÔÚÓÚËûÃǶÔJavaScriptµÄÖ§³Ö²»Í¬ÉÏ

o

C.

JavaScriptÊÇÒ»ÃÅ¿Í»§¶Ë½Å±¾ÓïÑÔ

o

D.

JavaScript¼¼ÊõºÍCSS¼¼ÊõÒ»Ñù£¬ÊÇΪÁËÉè¼ÆÑùʽ¶ø´æÔÚµÄ

ÕýÈ·´ð°¸£ºC

? 12.

(µ¥Ñ¡)ÒÔÏÂJavaScript´úÂëµÄÊä³ö½á¹ûÊÇ£¨£©¡£ var a = 3; var b = 2; var c = (a+2)/b; document.write (c);

o

A.

2.5

o

B.

2

o

C.

32/2

o

D.

16

ÕýÈ·´ð°¸£ºA

? 13.

(µ¥Ñ¡)ÏÖÔÚsessionÖÐûÓÐÉèÖÃÈκÎÊôÐÔ£¬ÔĶÁÏÂÃæ2¸öJSPÖеĴúÂ룬½«·Ö±ðÊä³ö£º£¨£©¡£ 1.jspÒ³Ãæ´úÂ룺 <% out.print(session.getAttribute(\\, \Ò³Ãæ´úÂ룺 <% session.invalidate(); out.println(session.getAttribute(\

o

A.

null, Òì³£ÐÅÏ¢

o

B.

null, null

o

C.

Òì³£ÐÅÏ¢, Òì³£ÐÅÏ¢

o

D.

Òì³£ÐÅÏ¢, null

ÕýÈ·´ð°¸£ºA

? 14.

(µ¥Ñ¡)ÔĶÁÈçÏ´úÂ룺

ÔÚä¯ÀÀÆ÷Öв鿴¸ÃÒ³Ã棬²¢µã»÷°´Å¥¡°Sort¡±ºó£¬µ¯³öµÄ½á¹ûΪ£¨£©¡£

o

A.

1,3,7,12,56

o

B.

56,12,7,3,1

o

C.

1,12,3,56,7

o

D.

7,56,3,12,1

ÕýÈ·´ð°¸£ºC

? 15.

(µ¥Ñ¡)ÏÂÁÐ˵·¨ÕýÈ·µÄÊÇ£º£¨£©¡£

o

A.

¾ø¶ÔµØÖ·Ó¦¸ÃÒÔ¡°.¡±¿ªÍ·

o

B.

ת·¢Ê±µÄ¾ø¶ÔµØÖ·Ó¦¸Ã°üº¬Ó¦ÓÃÃû£¨Context Path£©

o C.

Öض¨ÏòʱµÄ¾ø¶ÔµØÖ·²»Ó¦°üº¬Ó¦ÓÃÃû£¨Context Path£©

o

D.

ת·¢µÄÒ³Ãæ¿ÉÒÔÊÇWEB-INFĿ¼ÏµÄÒ³Ãæ

ÕýÈ·´ð°¸£ºD

? 16.

(µ¥Ñ¡)ÓйØServletµÄÉúÃüÖÜÆÚ˵·¨²»ÕýÈ·µÄÊÇ£º£¨£©¡£

o

A.

ServletµÄÉúÃüÖÜÆÚÓÉServletʵÀý¿ØÖÆ

o

B.

init()·½·¨ÔÚ´´½¨ÍêServletʵÀýºó¶ÔÆä½øÐгõʼ»¯£¬´«µÝµÄ²ÎÊýΪʵÏÖServletConfigÀàµÄ¶ÔÏó

o

C.

service()·½·¨ÏìÓ¦¿Í»§¶Ë·¢³öµÄÇëÇó

o

D.

ÔÚÈÝÆ÷ÒƳýservlet ʱ£¬µ÷ÓÃdestroy·½·¨£¬½øÐÐ×ÊÔ´µÄÊÍ·Å

ÕýÈ·´ð°¸£ºA

? 17.

(µ¥Ñ¡)ÏÂÁÐJavaScript´úÂë¿ÉÒÔʵÏÖÿ¸ôÒ»ÃëÖÓµ¯³öÒ»¸ö¶Ô»°¿ò£¬´Ëµ¯³ö¹ý³Ì³ÖÐø1·ÖÖӵĴúÂëÊÇ£º£¨£©¡£

o

A.

var id = setInterval(alert(\setTimeout(clearInterval(id), 5 * 1000);

o

B.

setInterval(function() { alert(\setTimeout(function() { alert(\

o

C.

setInterval( alert(\setTimeout(clearInterval(id), 5 * 1000);