SSD1模擬試卷詳解版Word版_第1頁(yè)
SSD1模擬試卷詳解版Word版_第2頁(yè)
SSD1模擬試卷詳解版Word版_第3頁(yè)
SSD1模擬試卷詳解版Word版_第4頁(yè)
SSD1模擬試卷詳解版Word版_第5頁(yè)
已閱讀5頁(yè),還剩8頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、傳播優(yōu)秀Word版文檔 ,希望對(duì)您有幫助,可雙擊去除!一. 單項(xiàng)選擇題1. The term Web server refers to a b(a) person who collects and manipulates Web pages (b) program that provides information requested by a Web client (c) special computer used to run powerful Web browsers (d) Web browser used on a client computer 2. Which of the fo

2、llowing is true about the accuracy of information on the Web? a(a) Information on the Web might not be accurate.(b) Web organizations ensure that information on the Web is accurate. (c) Web server programs ensure that information on the Web is accurate. (d) Web administrators ensure that information

3、 on the Web is accurate. 3. The tag is used to d (a) prefix every line of the enclosed text with its line number (b) instruct the browser to ignore line feeds in the enclosed text(c) instruct the browser to ignore the space in the enclosed text (d) enclose preformatted text 格式化文本 4. Which of the fol

4、lowing HTML hyperlinks references a section of the same page in which the hyperlink appears? a (a) Scroll down 返回底部的標(biāo)簽 (b) Scroll down (c) Scroll down(d) Scroll down 5. What is the conceptual difference between logical and physical styles? d 明確(a) Logical styles are intended to specify the look of c

5、ontent, whereas physical styles are used to specify the meaning of content. (b) Logical styles are intended to be used for text, whereas physical styles are intended to be used for graphics. (c) Logical styles are intended to be used for graphics, whereas physical styles are intended to be used for

6、text. (d) Logical styles are intended to specify the meaning of content, whereas physical styles are used to specify the look of content. 6. The series of interactions a user has with a Web server to carry out a task is known as a d (a) request (b) response (c) transaction (d) session 7. In Java pro

7、gramming, a programmer creates _ files, and then a compiler translates them to _ files. c (a) HTML, byte code (b) source, HTML (c) source, byte code (d) byte code, source 8. Upon compilation, the source code of a Java class MyClass will be stored in the file _, and the corresponding byte code will b

8、e stored in the file _. d (a) MyClass.class, MyClass.exe (b) MyClass.java, MyClass.exe (c) MyClass.class, MyClass.java (d) MyClass.java, MyClass.class9. What is the name of the class whose definition is begun by the following line?d public class Hello extends Greeting (a) Greeting (b) Greeting.Hello

9、 (c) Hello.Greeting (d) Hello 10. In Java, a method with the same name as its class is known as a a (a) constructor 構(gòu)造函數(shù) (b) synonym (c) default behavior (d) clone 11. Which of the following Java statements correctly declares and instantiates a Vector v? b (a) Vector v = new Vector(v); (b) Vector v

10、= new Vector(); (c) Vector v = Vector(); (d) v = new Vector(); 12. Which of the following kinds of relationships between classes does inheritance (繼承)describe? b (a) uses-a(b) is-a-kind-of(c) has-a(d) produces-a 13. In the class defined belowaclass MyClass int age = 19; void myMethod() int counter;

11、(a) age is an instance variable(全局變量) and counter is a local variable(局部變量) (b) age is a local variable and counter is an instance variable (c) both age and counter are instance variables (d) both age and counter are local variables 二. 簡(jiǎn)答題.1. What is the World Wide Web?The World Wide Web (or the Web

12、 for short) refers to that portion of the computers on the Internet that can communicate with each other using a computer-network protocol called HTTP (Hypertext Transfer Protocol). 萬(wàn)維網(wǎng)是指互聯(lián)網(wǎng)上的電腦通過(guò)使用HTTP協(xié)議來(lái)互相進(jìn)行訪(fǎng)問(wèn)2. URL的全稱(chēng)是什么? URL的定義是什么?統(tǒng)一資源定位器(URL,英語(yǔ)Uniform Resource Locator的縮寫(xiě))URL是Internet上用來(lái)描述信息資源的字

13、符串,是指我們所需獲取資源的網(wǎng)絡(luò)地址。具體格式有三個(gè)部分:第一部分是協(xié)議(或稱(chēng)為服務(wù)方式); 第二部分是存有該資源的主機(jī)IP地址(有時(shí)也包括端口號(hào)); 第三部分是主機(jī)資源的具體地址;第一部分和第二部分之間用“:/”符號(hào)隔開(kāi),第二部分和第三部分用“/”符號(hào)隔開(kāi)。第一部分和第二部分是不可缺少的,第三部分有時(shí)可以省略。 3. Please describe the four phases in the process of Programming.1. Defining Webpage content2. Planing the look of the page and the needed lin

14、ks;3. Implementing the webpage by writing it increamentally in small steps;4. Evaluating the webpage in two ways:testing to see if the HTML is correct and looking to see if it meets if it meets the spec.4. 什么是類(lèi)?什么是對(duì)象?什么是消息?類(lèi)是定義同一類(lèi)所有對(duì)象的變量和方法的藍(lán)圖或原型對(duì)象就是類(lèi)的一個(gè)實(shí)例,具有數(shù)據(jù)域和成員函數(shù)消息就是向?qū)ο蟀l(fā)出服務(wù)請(qǐng)求,是對(duì)數(shù)據(jù)成員和成員方法的引用5. 請(qǐng)說(shuō)

15、明面向?qū)ο笾蓄?lèi)與類(lèi)之間有幾種關(guān)系?并舉例說(shuō)明.1.繼承關(guān)系2.實(shí)現(xiàn)關(guān)系3.依賴(lài)關(guān)系4.關(guān)聯(lián)關(guān)系5.聚合關(guān)系6.組合關(guān)系三. 編程題1. 分析下面的代碼,寫(xiě)出運(yùn)行結(jié)果.(題目有錯(cuò)) (1) public class X public static void main(String args) String strHello = “Hello,”; String strHi = “Hi,”; Modify(s); System.out.println(s); public static void modify (string s) s += ”Welcome to CSU!”; (2) int i

16、 = 1, sum = 0; while (i 3) int j = 0; while ( j 2) sum = sum + j; j = j + 1; i = i + 1;System.out.println(“count after loop = ” + count);2. 編寫(xiě)Java代碼, 完成以下功能.假定goals和errors都是類(lèi)型為int的變量。編寫(xiě)一個(gè)if-else語(yǔ)句,要求在goals小于10且errors為0的條件下輸出“Wow”,否則輸出“Oh Well”。if(goals10 & errors=0)System.out.println(Wow);elseSystem

17、.out.println(Oh Well);四. 設(shè)計(jì)題 1. 使用HTML語(yǔ)言編寫(xiě)HTML文檔,使得通過(guò)WWW瀏覽器顯示如下圖所示的效果。要求包括和,采用有序列表(Ordered List)標(biāo)簽。中南大學(xué)軟件學(xué)院設(shè)有如下專(zhuān)業(yè):軟件工程專(zhuān)業(yè)數(shù)字藝術(shù)專(zhuān)業(yè)嵌入式專(zhuān)業(yè)中南大學(xué)網(wǎng)址鏈接,請(qǐng)點(diǎn)擊這里!2. 在一個(gè)學(xué)校教職工管理系統(tǒng)中,需要對(duì)學(xué)校教職工(staff)進(jìn)行建模。教職工信息包括教職工編號(hào)、姓名、年齡。教職工可以分為職工(worker)和教師(teacher)。教師根據(jù)工作性質(zhì)可以分為授課教師和科研教師。教職工入職時(shí)都要辦理入職手續(xù),職工根據(jù)自己的工種來(lái)工作(work),授課教師根據(jù)自己所學(xué)專(zhuān)業(yè)

18、來(lái)授課(teaching),科研教師根據(jù)自己的研究方向來(lái)開(kāi)展科研工作(reseach)。(1)請(qǐng)根據(jù)以上描述設(shè)計(jì)出類(lèi)圖,以顯式表示出繼承關(guān)系。類(lèi)圖中包括類(lèi)名、主要的屬性和主要的方法。(2)試用程序?qū)崿F(xiàn)教職工類(lèi)和職工類(lèi)。(方法的實(shí)現(xiàn),可以利用打印語(yǔ)句來(lái)簡(jiǎn)單模擬實(shí)現(xiàn)。如:System.out.println(“work!”).)(3)思考:如果在這個(gè)系統(tǒng)中,需要建立學(xué)校(school)這個(gè)類(lèi),那么學(xué)校和教職工這兩個(gè)類(lèi)之間是什么關(guān)系?聚合關(guān)系-No:int-name:String-age:intStaff+setNo(int value):void+setName(String value):void+setAge(int value):void+getNo():int+getName():String+getAge():int+setJob(String value):void+getJob():String+work():void-job:StringWorkerTeacher-teachingWork:String+setTeachingWork(String value):void+getTeachingWork():StingReseachingTeacherTeachingTeacher-reseachingWork:Sting-TeachingCours

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論