




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Take Assessment: Multiple-Choice Quiz 11.*Which of the following must be obtained in order to publish information in the Web? I. Authorization to publish Web pages from the WWW organizationII. Certificate of accuracy of contents from ARPA(a) None(b) II only(c) I only(d) I and II 2.A Web server and a
2、 Web client communicate using the _ protocol. 協(xié)議(a) FTP(b) URL(c) HTML(d) HTTP 3.The Internet is(a) a worldwide computer network(b) a collection of HTML documents(c) an internal part of the World Wide Web(d) a system of computers built to support e-mail delivery 4.Which of the following statements i
3、s (are) true about hyperlinks? I. Ethics dictate (倫理指示)that typically, permission is required from the owner of a Web page in order to create links to their site.II. They will be displayed by default(違約) as green and underlined.(a) II only(b) I only(c) I and II(d) None 5.Which of the following is no
4、t a valid(合法的) URL? (a) http:/www.bell-(b) ftp:/(c) (d) 6.A Web site can be navigated(導(dǎo)航) using (a) a text editor(b) a Web browser(瀏覽器)(c) a Web server(網(wǎng)頁服務(wù)器)(d) an image viewer 7.Which of the following is (are) true about publishing a Web page? I. The WWW committee(委員
5、會) must certify that all information is accurate.II. The WWW committee must certify that all information is up-to-date.(最新的)(a) None(b) II only(c) I and II(d) I only 8.The host name in a URL is typically(a) a series of words separated by slashes(b) an email address(c) http(d) a series of words separ
6、ated by periods 9.In the context(上下文) of the World Wide Web, which of the following is true about a Uniform Resource Locator(統(tǒng)一的資源定位器)? (a) It describes how text in a Web page is to be formatted.(b) It sells customers connections to the Internet.(c) It allows Web sites to trace the geographical loca
7、tion of a client.(d) It specifies(指定) the location of a Web page. 10.Which of the following URLs refer(s) to the same location as the URL /courses/index.html? I. /courses/index.htmII. /index.html(a) II only(b) I only(c) No
8、ne(d) I and II Take Assessment: Multiple-Choice Quiz 2窗體頂端1.Which of the following is a valid HTML tag that sets the size of text characters? (a) (b) (c) (d) 2.In HTML, an ordered list begins with the tag _, and each item in the list begins with the tag _. (a) , (b) , (c) , (d) , 3.In HTML, the tag
9、instructs a browser to (a) display a heading(b) shrink text(c) draw a horizontal line(d) align text to the right of the screen 4.An ordered list in a correctly written HTML page is enclosed within tags(a) and and each numbered item is enclosed within tags and (b) and and each numbered item is enclos
10、ed within tags and (c) and and each numbered item is enclosed within tags and (d) and and each numbered item is enclosed within tags and 5.Which of the following is a valid HTML segment that directs Web browsers to display green text? (a) Text(b) Text(c) Text(d) Text 6.An HTML document(文件) should be
11、gin and end with which pair of tags? (a) and (b) and (c) and (d) and 7.Consider the following segment(段) of HTML code. CNN NewsWhen the segment appears in an HTML document called links.html, the Web browser will (a) ignore the segment because the attribute value for href does not contain the sequenc
12、e :/(b) create a link to the file in the same directory as links.html(c) ignore the segment because the attribute value for attribute href is a relative address(d) create a link to the front page of the server 8.Which of the following is an attribute(屬性) (are attributes) of the HTML tag ? I. HREFII.
13、 NAME(a) I only(b) I and II(c) II only(d) None 9.Which of the following HTML tags is (are) typically found within tags and ? I. II. III. (a) II and III only(b) I and II only(c) I and III only(d) I, II, and III 10.Consider the following table.Which of the following HTML sequences(順序) can be used to l
14、ay out the preceding table?(a) + 01 0 01 1 10 (b) + 01 0 01 1 10 (c) + 01 0 01 1 10 (d) + 01 0 01 1 10 11.Which of the following is (are) true of GIF and JPEG compression? I. Both are image compression techniques.II. Neither technique results in loss of information.(a) I and II(b) None(c) I only(d)
15、II only 12.HTML files can be edited using (a) compilers(b) image editors(c) text editors(d) applet viewers 13.In the context of HTML, Markup refers to(a) an increase in price.(b) defacing a document.(c) annotating text with tags that specify how it is to appear or function.(d) adding lines or curves
16、 to text. 14.Which of the following statements is (are) true about Web browsers? I. The primary purpose of a Web browser is to execute Java programs.II. A Web browser can communicate using HTTP.(a) None(b) I and II(c) II only(d) I only 15.Drawbacks of embedding many images in a Web page include whic
17、h of the following? I. Dramatically increased transfer time to fully display the Web pageII. Dramatically increased storage requirements for the Web page source(a) II only(b) I and II(c) None(d) I only 16.Clicking a browsers View Source or View Frame Source or View Page Source menu option while view
18、ing a Web page will cause the browser to display(a) the location of the Web server that hosts the page(b) the date when the page was last modified(c) the HTML page layout in a text editor(d) the HTML code for the page 17.A link in a Web page is(a) the only part of the Web page which reacts once you
19、click on it(b) any underlined word or group of words(c) always a reference to a different Web page(d) a picture or text that takes your browser to another location when you click on it 18.The main reason to connect two pages in a large Web site via a hyperlink is(a) to avoid copyright violation(b) t
20、o avoid using excessive graphics(c) so you dont lose any pages(d) because a reader of one page may wish to refer to the other 19.Which of the following are tags for changing the logical style of text?I. and II. and III. and (a) I only(b) III only(c) I, II, and III(d) I and II only 20.What is the con
21、ceptual difference between logical and physical styles?(a) Logical styles are intended to be used for graphics, whereas physical styles are intended to be used for text.(b) Logical styles are intended to specify the look of content, whereas physical styles are used to specify the meaning of content.
22、(c) Logical styles are intended to specify the meaning of content, whereas physical styles are used to specify the look of content.(d) Logical styles are intended to be used for text, whereas physical styles are intended to be used for graphics. Take Assessment: Multiple-Choice Quiz 31.Which of the
23、following is (are) necessary for a radio button or checkbox control in an HTML form to be considered successful? I. It must be checked or selected.II. The HTML FORM element in which it appears must contain at least one INPUT element with a type of hidden.III. The HTML element that defines it must se
24、t a value for the attribute named value.(a) I and III only(b) I only(c) II and III only(d) II only 2.Consider the following URL, which corresponds to the submission of an HTML form. /search?keyword=MCQ&course=SSD1According to the URL, the names of the two successful control
25、s in the submitted form are (a) search and HTTP(b) search and GET(c) MCQ and SSD1(d) keyword and course 3.The action attribute of an HTML FORM element determines (a) the network protocol used to submit the data of the form(b) a list of form controls to submit(c) the encoding standard used to encode
26、the data of the form(d) the processing agent to which the data of the form is submitted 4.A Java servlet is a program that typically runs inside which of the following? I. A Web serverII. A Web browser(a) II only(b) None(c) I only(d) I and II only 5.In HTML, which of the following is an attribute of
27、 the INPUT element that can be used to specify the initial value of a single-line text-input control? (a) value(b) initial(c) default(d) name 6.Which of the following HTML INPUT elements will result in a check box that appears initially in a checked state? I. II. III. (a) I, II, and III(b) III only(
28、c) II only(d) II and III only 7.Java servlets enable _ content at the _ of the implementation of an application. (a) dynamic, client side(b) dynamic, server side(c) static, client side(d) static, server side 8.Through a _, Java servlets respond _ to requests from clients. (a) server-push mechanism,
29、indirectly(b) Web server, indirectly(c) Web server, directly(d) server-push mechanism, directly 9.Web servers typically use _ to distinguish between requests from multiple clients. (a) aliases(b) servlets(c) META tags(d) cookies 10.Typically, a request from a client browser is forwarded to a servlet
30、 by a (a) cookie(b) response header(c) Web server(d) request headerTake Assessment: Multiple-Choice Quiz 41.Consider the following class. public class AppletClass extends java.applet.Applet public void paint(java.awt.Graphics g) g.drawString(Welcome to Java!, 30, 30); Before compiling this class, th
31、e Java compiler requires that it be stored with which of the following names? (a) Applet.java(b) AppletClass.java(c) AppletClass.applet(d) Any filename with the extension .java 2.In Java programming, a programmer creates _ files, and then a compiler translates them to _ files.(a) source, HTML(b) HTM
32、L, byte code(c) source, byte code(d) byte code, source 3.When compiling a Java program that contains syntax errors, the compiler will always (a) fix the syntax errors and complete the compilation(b) fail to complete the compilation and report a guess of what and where the errors are(c) ignore the sy
33、ntax errors and create a compiled program without the lines containing errors(d) fail to complete the compilation and report the exact location of each error 4.When programming a Java applet, a programmer creates a(n) _ file, which a Java compiler translates into a(n) _ file. (a) source code, HTML(b
34、) bytecode, source code(c) source code, bytecode(d) HTML, bytecode 5.Upon compilation, the source code of a Java class MyClass will be stored in the file _, and the corresponding byte code will be stored in the file _. (a) MyClass.class, MyClass.java(b) MyClass.java, MyClass.class(c) MyClass.java, M
35、yClass.exe(d) MyClass.class, MyClass.exe 6.Which of the following statements is true of the process of programming? (a) Most of the time spent in programming is usually spent planning the solution to a problem.(b) The best way to program is to begin coding immediately, and then to follow up by testi
36、ng.(c) Programming is synonymous with coding.(d) Programming can be made easier by dividing a larger problem into smaller pieces. 7.When a Java class is designed, which of the following is a part (are parts) of the planning stage? I. Deciding how to display the resultsII. Writing a problem definitio
37、nIII. Identifying the data needed to solve the problem(a) I and II(b) II only(c) I and III(d) II and III 8.Programming involves four general phases that the programmer moves into and out of during the development of a program. The order in which the programmer moves through these phases is generally
38、 which of the following?(a) defining/redefining - planning - implementing/coding - testing/analyzing(b) There is no defined order. The programmer moves into and out of one of the various four phases as dictated by circumstance and situation while writing the program.(c) planning - coding - testing -
39、 analyzing(d) planning - redefining- coding- testing 9.Of the following phases of programming, which is generally the phase on which most time is spent? (a) Coding(b) Planning a solution to the problem(c) Testing and evaluation(d) Defining the problem 10.Valid Java comments include which of the foll
40、owing? I. /* this is an /* embedded */ comment */II. /* this is an / embedded / comment */III. / this is a comment */(a) I only(b) I and II only(c) I and III only(d) II and III only 11.What is the name of the class whose definition is begun by the following line?public class Hello extends Greeting(a
41、) Hello(b) Greeting.Hello(c) Hello.Greeting(d) Greeting 12.Which of the following is a Java statement that imports classes in the package java.sql? (a) import java.sql.all;(b) import all java.sql;(c) import java.sql.*;(d) import java.sql; 13.The following is a Java program segment:public void paint
42、(Graphics g) int x = 10; int y = 20; paintPicture( g, x, y);public void paintPicture(Graphics g, int a, int b) g.setColor(Color.red); / more code followsWhat will be the value of the parameter a, in the method paintPicture when this code is executed?(a) 20(b) This will not compile. This is an error
43、because the parameter a was never declared and never given a value.(c) 10(d) 0 14.Which of the following statements is (are) true about debugging and testing servlets?I. After a change is made to a servlet, the servlet must be recompiled for the change to take effect.II. Modifying the parameters of
44、calls to the method out.println can change the HTML in the response of a servlet.(a) I only(b) II only(c) I and II(d) None 15.A Java servlet can be declared with the type of content it will produce, such as image/gif or text/html, by using a call to which of the following methods of HttpServletRespo
45、nse?(a) setContentType(b) resetBuffer(c) addCookie(d) encodeURL 16.Consider a Java source file that begins with the following line. import javax.servlet.http.*;In this file, which of the following lines of code can introduce a valid definition for a Java servlet class named Welcome? (a) public class
46、 Welcome extends HttpServlet(b) servlet class Welcome(c) public servlet Welcome extends HttpServlet(d) new Welcome extends HttpServlet 17.Which of the following is (are) true regarding the Java API documentation? I. Programmers can view it on the web.II. It consists solely of Java classes and method
47、s.(a) II only(b) I and II(c) I only(d) NoneTake Assessment: Multiple-Choice Quiz 51.In Java, which of the following is true about constructors? (a) Constructors must be declared for every class.(b) Constructors can only accept primitive Java types as parameters.(c) Constructors cannot return a value
48、.(d) Constructors can only return 0 or a negative integer. 2.What operator is used to allocate storage for objects? (a) new(b) =(c) init(d) = 3.Which of the following variable names conforms to Java naming conventions? (a) fuelRemaining(b) FuelRemaining(c) AmountOfFuelRemainingInTheTank(d) fuel_rema
49、ining 4.Which of the following is (are) consistent with Java naming conventions regarding capitalization? I. int numPeople;II. int Counter;III. class serviceElevator(a) I only(b) None(c) I and III only(d) I, II, and III 5.If variable br references an instance of the class java.io.BufferedReader, whi
50、ch of the following statements is a legal call to the method readLine of the class? (a) br(readLine);(b) br.readLine();(c) br.readLine;(d) readLine(br); 6.Valid method definitions in Java include which of the following? I. public method myMethod() II. public void myMethod(int i) III. public void myMethod (a) II only(b) No
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024福建西海岸建筑設(shè)計院有限公司下半年招聘26人筆試參考題庫附帶答案詳解
- 達州市市屬國有企業(yè)“達人英才”2024年赴高校引才考生結(jié)論補檢人員及考察聘用筆試參考題庫附帶答案詳解
- 浙江國企招聘2025金華浦江縣國有企業(yè)招聘14人(03)筆試參考題庫附帶答案詳解
- 小角蛙養(yǎng)護知識培訓(xùn)課件
- 浙江國企招聘2024浙江舟山東大城市運營服務(wù)有限公司物業(yè)分公司招聘筆試參考題庫附帶答案詳解
- 2025年度碎石場安全生產(chǎn)合作協(xié)議
- 二零二五年度大學(xué)生就業(yè)指導(dǎo)與職業(yè)規(guī)劃實施合同
- 二零二五年度網(wǎng)絡(luò)安全服務(wù)傭金支付及風(fēng)險防范合同
- 2025年度電商代發(fā)貨與大數(shù)據(jù)分析合作合同
- 2025年度新能源建筑項目入股投資協(xié)議書
- 小學(xué)科學(xué)湘科版六年級下冊全冊同步練習(xí)含答案
- 人教版小學(xué)五年級英語上冊作文專項練習(xí)題
- (2024年)傳染病培訓(xùn)課件
- 乘務(wù)大隊客艙服務(wù)質(zhì)量
- 海智工作站申報計劃書
- 托管崗前培訓(xùn)教學(xué)課件
- 機房運維管理制度
- 昆明撫仙湖鰭魚灣棋盤山度假娛樂旅游區(qū)總體規(guī)劃方案樣本
- 突發(fā)疾病時的安全駕駛方法
- 污水處理廠入河排污口設(shè)置論證報告
- T-SHNA 0005-2023 成人住院患者腸外營養(yǎng)輸注護理
評論
0/150
提交評論