正在加载图片...
Exercise 1. Choose the best answer for each of the following questions. (1)Which of the following can not be used as the scope when using a JavaBean with JSP a. application b session c request d response (2)How do you display a border like th The top border= 12 pixels The bottom border=5 pixels The left border=20 pixels The right border= 2pixel by CSS? a. border-width: 12px 20px 5px 2px b border-width: 12px 5px 20px 2px c border-width: 12px 2px 5px 20px d border-width 5px 20px 12px 2px (3)What is the correct HTML for adding a background color? a <body bgcolor="yellow"> b <background>yellow</background> c. <body color="yellow"> d <body background="yellow"> (4) How many different kinds of loops are there in Java Script? a. Four. The"for"loop, the"while"loop, the " do.. while"loop, and the"loop. until"loop b Two. The"for"loop and the while"loop One. The"for"loop d Three. The"for"loop, the"while"loop and the"do.while"loop (5)With SQL, how do you select all the records from a table named"Persons"where the value of the column "firstName" starts with a"sea" a select* FRoM Persons where firstName ='seal b SEleCt* FROM Persons WhERE FirstName ='%sea% c SELECT* FROM Persons WhERE FirstName LIKE'sea% d SELECT* FROM Persons WhERE FirstName liKe%se (6)How can you make an e-mail link? a <a href="xxx @yyy"> b <mail href="xxx ayyy" c<mail>xxx @yyy</mail> d <a href="mailto: xxX @yyyExercise 1. Choose the best answer for each of the following questions. (1) Which of the following can not be used as the scope when using a JavaBean with JSP? a. application b. session c. request d. response (2) How do you display a border like this: The top border = 12 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 2pixel by CSS? a. border-width:12px 20px 5px 2px b. border-width:12px 5px 20px 2px c. border-width:12px 2px 5px 20px d. border-width:5px 20px 12px 2px (3) What is the correct HTML for adding a background color? a. <body bgcolor = "yellow"> b. <background>yellow</background> c. <body color = "yellow"> d. <body background = "yellow"> (4) How many different kinds of loops are there in JavaScript? a. Four. The "for" loop, the "while" loop, the "do...while" loop, and the "loop...until" loop b. Two. The "for" loop and the "while" loop c. One. The "for" loop d. Three. The "for" loop, the "while" loop and the "do...while" loop (5) With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with a "sea"? a. SELECT * FROM Persons WHERE FirstName = 'sea' b. SELECT * FROM Persons WHERE FirstName = '%sea%' c. SELECT * FROM Persons WHERE FirstName LIKE 'sea%' d. SELECT * FROM Persons WHERE FirstName LIKE '%sea' (6) How can you make an e-mail link? a. <a href = "xxx@yyy"> b. <mail href = "xxx@yyy"> c. <mail>xxx@yyy</mail> d. <a href = "mailto:xxx@yyy">
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有