答案,正式使用前請祛除答案以及選項(xiàng)的紅色顏色!
1:C2:C3:D4:D5:B
6:B7:D8:B9:A10:D
11:B12:D13:A14:C15:D
16:C17:C18:A19:A20:B
21:B22:D23:A24:A25:D
26:C27:C28:D29:C30:D
31:D32:D33:C34:B35:B
36:C37:C38:B39:C40:A
41:B42:C43:C44:B45:C
46:A47:B48:C49:C50:C
51:A52:A53:A54:A55:A
56:A57:D58:C59:C60:D
61:D62:C63:C64:C65:A
66:D67:B68:D69:D70:C
71:A72:B73:D74:C75:C
76:B77:C78:B79:D80:A
81:D82:D83:D84:B85:B
86:B87:C88:D89:C90:C
91:C92:C93:D94:C95:A
96:C97:C98:C99:A100:D
101:A102:C103:C104:C105:B
106:A107:A108:B109:D110:C
111:B112:D113:B114:C115:C
116:C117:A118:A119:A120:B
121:A122:D123:C124:A125:D
126:D127:C128:A129:D130:A
131:C132:B133:C134:C135:A
136:D137:B138:D139:B140:C
141:B142:B143:D144:D145:D
146:A147:B148:A149:D150:D
151:C152:A153:A154:A155:D
156:B157:D158:C159:C160:D
161:B162:A163:C164:C165:D
166:D167:D168:B169:D170:A
171:A172:B173:C174:D175:B
176:AD177:ABC178:ABCD179:CD180:CD
181:BC182:ABD183:BCD184:ABD185:AC
186:BCD187:BD188:ABCD189:ABC190:AD
191:BC192:AB193:CD194:AD195:ABC
196:AD197:BCD198:AD199:BD200:ABCD
2020年4月18日模擬筆試 第二場
200題_共100.00分_及格60.00分
?第1題 【單選題】【0.50分】【特性分析】
假設(shè)網(wǎng)站根目錄有一名為:MyMaster.master的母版頁,則內(nèi)容頁的MasterPageFile屬性設(shè)置正確的是?
[if !supportLists]A.?[endif]MyMaster
[if !supportLists]B.?[endif]MyMaster.cs
[if !supportLists]C.?[endif]~/MyMaster.master
[if !supportLists]D.?[endif]~/MyMaster.master.cs
?第2題 【單選題】【0.50分】【概念理解】
在CSS樣式文件中,下列注釋正確的是()。
[if !supportLists]A.?[endif]// this is a comment //
[if !supportLists]B.?[endif]// this is a comment
[if !supportLists]C.?[endif]/* this is a comment */
[if !supportLists]D.?[endif]this is a comment
?第3題 【單選題】【0.50分】【結(jié)果判斷】
在CSS中為DIV設(shè)置如下樣式肝匆,則該標(biāo)簽的實(shí)際寬度為()。div{width:200px;padding:0 20px;border:1px;}
[if !supportLists]A.?[endif]200px
[if !supportLists]B.?[endif]221px
[if !supportLists]C.?[endif]240px
[if !supportLists]D.?[endif]242px
?第4題 【單選題】【0.50分】【概念理解】
在ASP.NET中顺献,Application是( )類的實(shí)例旗国。
[if !supportLists]A.?[endif]HttpApplication
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]HttpApplicationUtility
[if !supportLists]D.?[endif]HttpApplicationState
?第5題 【單選題】【0.50分】【概念理解】
關(guān)于站點(diǎn)地圖,以下說法錯(cuò)誤的是()注整。
[if !supportLists]A.?[endif]站點(diǎn)地圖的文件名必須是web.sitemap
[if !supportLists]B.?[endif]站點(diǎn)地圖文件可以有多個(gè)
[if !supportLists]C.?[endif]站點(diǎn)地圖文件必須放置在應(yīng)用程序的根目錄下
[if !supportLists]D.?[endif]可以使用其PathSeparator屬性更改鏈接分隔符
?第6題 【單選題】【0.50分】【概念理解】
在數(shù)據(jù)庫技術(shù)中能曾,獨(dú)立于計(jì)算機(jī)系統(tǒng)的模型是()。
[if !supportLists]A.?[endif]層次模型
[if !supportLists]B.?[endif]E—R模型
[if !supportLists]C.?[endif]關(guān)系模型
[if !supportLists]D.?[endif]面向?qū)ο蟮哪P?/p>
?第7題 【單選題】【0.50分】【特性分析】
在ASP.NET中设捐,下列不屬于FileUpload控件的屬性是()。
[if !supportLists]A.?[endif]HasFile
[if !supportLists]B.?[endif]FileName
[if !supportLists]C.?[endif]Enable
[if !supportLists]D.?[endif]SaveAs
?第8題 【單選題】【0.50分】【結(jié)果判斷】
設(shè)頁面中有一個(gè)ID為:txtName的文本框控件塘淑,如果在頁面按鈕的點(diǎn)擊事件中編寫以下代碼: Response.Redirect("~/List.aspx?name="+txtName.Text); 則在List.aspx頁面中使用以下哪行代碼可以獲取到文本框填寫的數(shù)據(jù)萝招?
[if !supportLists]A.?[endif]Request.QueryString["txtName"]
[if !supportLists]B.?[endif]Request.QueryString["name"]
[if !supportLists]C.?[endif]Request.Form["txtName"]
[if !supportLists]D.?[endif]Request.Form["name"]
?第9題 【單選題】【0.50分】【概念理解】
javascript變量命名不正確的是()。
[if !supportLists]A.?[endif]3name
[if !supportLists]B.?[endif]_age
[if !supportLists]C.?[endif]$gender
[if !supportLists]D.?[endif]student_name
?第10題 【單選題】【0.50分】【概念理解】
如要在網(wǎng)站上提供一個(gè)logo.zip文件下載存捺,在以下下劃線處應(yīng)填寫的代碼是槐沼? protected void btnDown1_Click(object sender, EventArgs e) { Response.ContentType = "application/x-zip-compressed"; Response.AddHeader("Content-Disposition", "attachment;filename=logo.zip"); string filename = Server.MapPath("logo.zip"); ________________________________ }
[if !supportLists]A.?[endif]Response.Write(filename);
[if !supportLists]B.?[endif]Response.SaveAs(filename);
[if !supportLists]C.?[endif]Response.Redirect(filename);
[if !supportLists]D.?[endif]Response.TransmitFile(filename);
?第11題 【單選題】【0.50分】【概念理解】
Web Forms窗體頁面的后綴是?
[if !supportLists]A.?[endif].asp
[if !supportLists]B.?[endif].aspx
[if !supportLists]C.?[endif].ascx
[if !supportLists]D.?[endif].asax
?第12題 【單選題】【0.50分】【代碼糾錯(cuò)】
假設(shè)有一名為:list的集合對象捌治,需要在下劃線中添加的代碼是岗钩? // 創(chuàng)建webgrid對象 var webgrid = new WebGrid(list); // 輸出表格顯示數(shù)據(jù) @webgrid.__________
[if !supportLists]A.?[endif]WriteText()
[if !supportLists]B.?[endif]WriteHtml()
[if !supportLists]C.?[endif]GetText()
[if !supportLists]D.?[endif]GetHtml()
?第13題 【單選題】【0.50分】【概念理解】
關(guān)于DropDownList控件,下列說法正確的是()
[if !supportLists]A.?[endif]在客戶端被解釋成的HTML標(biāo)記
[if !supportLists]B.?[endif]可以有多個(gè)選項(xiàng)處于選中狀態(tài)
[if !supportLists]C.?[endif]SelectedValue屬性用于獲取選中的項(xiàng)的Text屬性
[if !supportLists]D.?[endif]SelectedIndex屬性用于獲取選中的項(xiàng)的索引肖油,索引從1開始
?第14題 【單選題】【0.50分】【概念理解】
關(guān)于單值綁定說法正確的是()兼吓。
[if !supportLists]A.?[endif]<%DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
[if !supportLists]B.?[endif]<%--DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
[if !supportLists]C.?[endif]<%=DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
[if !supportLists]D.?[endif]<%#DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
?第15題 【單選題】【0.50分】【概念理解】
三層架構(gòu)中的數(shù)據(jù)訪問層描述,正確的是()森枪。
[if !supportLists]A.?[endif]數(shù)據(jù)訪問層就是對數(shù)據(jù)庫的數(shù)據(jù)進(jìn)行查詢
[if !supportLists]B.?[endif]表現(xiàn)層可以直接依賴數(shù)據(jù)訪問層
[if !supportLists]C.?[endif]數(shù)據(jù)訪問層依賴于業(yè)務(wù)邏輯層
[if !supportLists]D.?[endif]數(shù)據(jù)訪問層可以訪問各種類型的數(shù)據(jù)源视搏,不僅僅是SQL SERVER 數(shù)據(jù)庫
?第16題 【單選題】【0.50分】【概念理解】
Http協(xié)議默認(rèn)的端口號是?
[if !supportLists]A.?[endif]21
[if !supportLists]B.?[endif]25
[if !supportLists]C.?[endif]80
[if !supportLists]D.?[endif]110
?第17題 【單選題】【0.50分】【特性分析】
下列關(guān)于Repeater控件的說法县袱,正確的是()浑娜。
[if !supportLists]A.?[endif]Repeater控件不能顯示分頁
[if !supportLists]B.?[endif]Repeater控件不能顯示HTML內(nèi)容
[if !supportLists]C.?[endif]Repeater控件不會(huì)自動(dòng)添加HTML相關(guān)內(nèi)容
[if !supportLists]D.?[endif]Repeater控件不會(huì)顯示沒有設(shè)置格式的內(nèi)容
?第18題 【單選題】【0.50分】【概念理解】
網(wǎng)上競拍系統(tǒng)要求驗(yàn)證競拍物品價(jià)格必須在0至10000之間。最適合使用的ASP.NET驗(yàn)證控件是式散?
[if !supportLists]A.?[endif]RangeValidator
[if !supportLists]B.?[endif]RegularExpressionValidator
[if !supportLists]C.?[endif]RequireFieldValidator
[if !supportLists]D.?[endif]CompareValidator
?第19題 【單選題】【0.50分】【特性分析】
在ASP.NET中,可使用FileUpload控件實(shí)現(xiàn)文件上傳筋遭,下列( )屬性用于判斷是否選擇需要上傳的文件。
[if !supportLists]A.?[endif]HasFile
[if !supportLists]B.?[endif]FileName
[if !supportLists]C.?[endif]Enable
[if !supportLists]D.?[endif]SaveAs
?第20題 【單選題】【0.50分】【特性分析】
ViewState說法正確的是( )。
[if !supportLists]A.?[endif]Viewstate的值存儲(chǔ)于服務(wù)器端漓滔,不會(huì)在客戶端出現(xiàn)
[if !supportLists]B.?[endif]Viewstate的值會(huì)跟隨客戶端請求發(fā)送到服務(wù)器端
[if !supportLists]C.?[endif]Viewstate不可以存儲(chǔ)服務(wù)器控件的一些狀態(tài)
[if !supportLists]D.?[endif]Viewstate不會(huì)造成帶寬浪費(fèi)
?第21題 【單選題】【0.50分】【特性分析】
在三層架構(gòu)中ADO.NET數(shù)據(jù)訪問類放在( )中使用编饺。
[if !supportLists]A.?[endif]表現(xiàn)層
[if !supportLists]B.?[endif]數(shù)據(jù)訪問層
[if !supportLists]C.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]D.?[endif]每一層都可以
?第22題 【單選題】【0.50分】【概念理解】
關(guān)于Application 對象,下列說法錯(cuò)誤的是( )
[if !supportLists]A.?[endif]用于共享應(yīng)用程序級信息次和,即多個(gè)用戶共享一個(gè)Application 對象
[if !supportLists]B.?[endif]當(dāng)?shù)谝粋€(gè)用戶請求ASP.NET 文件時(shí)反肋,將啟動(dòng)應(yīng)用程序并創(chuàng)建 Application 對象
[if !supportLists]C.?[endif]一旦Application 對象被創(chuàng)建,在整個(gè)應(yīng)用程序中都可以訪問該對象的值踏施,直到應(yīng)用程序結(jié)束
[if !supportLists]D.?[endif]Application 對象的用法和 Cookie 對象相同,賦值和取值需要用到 Reponse 對象和 Request 對象
?第23題 【單選題】【0.50分】【概念理解】
如果希望控件內(nèi)容改變之后立刻回傳表單石蔗,需要在控件中添加屬性()
[if !supportLists]A.?[endif]AutoPostBack=″True″
[if !supportLists]B.?[endif]IsPostBack=″True″
[if !supportLists]C.?[endif]IsPostBack=″False″
[if !supportLists]D.?[endif]AutoPostBack=″False″
?第24題 【單選題】【0.50分】【概念理解】
在SQL Server數(shù)據(jù)庫中,字符串函數(shù)可以用于控制返回給用戶的字符串內(nèi)容畅形,下列()函數(shù)用于將傳遞給它的字符串轉(zhuǎn)變?yōu)榇髮憽?/p>
[if !supportLists]A.?[endif]upper
[if !supportLists]B.?[endif]lower
[if !supportLists]C.?[endif]rtrim
[if !supportLists]D.?[endif]stuff
?第25題 【單選題】【0.50分】【概念理解】
關(guān)于三層架構(gòu)的優(yōu)勢,下列說法錯(cuò)誤的是( )
[if !supportLists]A.?[endif]適于變化,利于維護(hù)
[if !supportLists]B.?[endif]適用于協(xié)作開發(fā)
[if !supportLists]C.?[endif]主流趨勢
[if !supportLists]D.?[endif]提高系統(tǒng)性能
?第26題 【單選題】【0.50分】【結(jié)果判斷】
在ASP.NET中养距,為了才當(dāng)前頁面跳轉(zhuǎn)到一個(gè)相同目錄下名為Main.htm的頁面,下面方法正確的是()日熬。
[if !supportLists]A.?[endif]Server.Execute(“Main.htm”);
[if !supportLists]B.?[endif]Servlet.Transfer(“Main.htm”);
[if !supportLists]C.?[endif]Response.Redirect(“Main.htm”);
[if !supportLists]D.?[endif]Response.Write(“Main.htm”);
?第27題 【單選題】【0.50分】【特性分析】
關(guān)于DataList控件棍厌,下列說法正確的是有()。
[if !supportLists]A.?[endif]DataList不會(huì)自動(dòng)生成任何代碼
[if !supportLists]B.?[endif]DataList不能使用ObjectDataSource控件進(jìn)行數(shù)據(jù)綁定
[if !supportLists]C.?[endif]DataList沒有分頁功能
[if !supportLists]D.?[endif]DataList只有模板列
?第28題 【單選題】【0.50分】【概念理解】
以下不是WebGrid的功能的是竖席?
[if !supportLists]A.?[endif]自動(dòng)建立顯示數(shù)據(jù)的HTML表格
[if !supportLists]B.?[endif]支持不同的格式化選項(xiàng)
[if !supportLists]C.?[endif]支持?jǐn)?shù)據(jù)分頁
[if !supportLists]D.?[endif]支持控件內(nèi)的數(shù)據(jù)編輯
?第29題 【單選題】【0.50分】【概念理解】
內(nèi)容頁中耘纱,除了頁面指令,在Content控件外可以出現(xiàn)的是毕荐?
[if !supportLists]A.?[endif]div標(biāo)簽
[if !supportLists]B.?[endif]js腳本
[if !supportLists]C.?[endif]服務(wù)器腳本
[if !supportLists]D.?[endif]純文本
?第30題 【單選題】【0.50分】【概念理解】
下列關(guān)于C#接口的使用束析,描述錯(cuò)誤的是()。
[if !supportLists]A.?[endif]接口是一組規(guī)范和標(biāo)準(zhǔn)
[if !supportLists]B.?[endif]接口可以約束類的行為
[if !supportLists]C.?[endif]接口只能含有未實(shí)現(xiàn)的方法
[if !supportLists]D.?[endif]接口中的方法可以有默認(rèn)實(shí)現(xiàn)
?第31題 【單選題】【0.50分】【概念理解】
在CSS中屬性()可以設(shè)置元素的疊放順序憎亚。
[if !supportLists]A.?[endif]A. position
[if !supportLists]B.?[endif]display
[if !supportLists]C.?[endif]overflow
[if !supportLists]D.?[endif]z-index
?第32題 【單選題】【0.50分】【特性分析】
關(guān)于IIS(Internet信息服務(wù)器)员寇,下列說法錯(cuò)誤的是()。
[if !supportLists]A.?[endif]ASP.NET站點(diǎn)通過IIS運(yùn)行
[if !supportLists]B.?[endif]可以在計(jì)算機(jī)“管理”界面中啟動(dòng)IIS
[if !supportLists]C.?[endif]可以在IIS中創(chuàng)建多個(gè)站點(diǎn)
[if !supportLists]D.?[endif]只能在IIS中創(chuàng)建一個(gè)站點(diǎn)
?第33題 【單選題】【0.50分】【概念理解】
下列關(guān)于泛型集合Dictionarylist=new Dictionary()的操作,正確的是()第美。
[if !supportLists]A.?[endif]list.Remove(list[0])
[if !supportLists]B.?[endif]list.RemoveAt(0)
[if !supportLists]C.?[endif]foreach(Person per in list.Values){}
[if !supportLists]D.?[endif]foreach(Person per in list.Keys){}
?第34題 【單選題】【0.50分】【概念理解】
在ASP.NET中蝶锋,下列關(guān)于Cookie對象說法錯(cuò)誤的是( )。
[if !supportLists]A.?[endif]Cookie對象用于存儲(chǔ)文本信息什往,伴隨著用戶請求和頁面在Web服務(wù)器和瀏覽器之間傳遞
[if !supportLists]B.?[endif]可通過Request.Cookies向客戶端寫入Cookie
[if !supportLists]C.?[endif]設(shè)置過期時(shí)間的Cookie扳缕,到達(dá)過期時(shí)間將自動(dòng)清除
[if !supportLists]D.?[endif]未設(shè)置過期時(shí)間的Cookie,存儲(chǔ)于瀏覽器的內(nèi)存中
?第35題 【單選題】【0.50分】【概念理解】
寫入Cookie數(shù)據(jù)别威,需要通過哪個(gè)對象進(jìn)行第献?
[if !supportLists]A.?[endif]Page
[if !supportLists]B.?[endif]Response
[if !supportLists]C.?[endif]Request
[if !supportLists]D.?[endif]Server
?第36題 【單選題】【0.50分】【概念理解】
可以使用Response對象的()方法實(shí)現(xiàn)文件的下載功能。
[if !supportLists]A.?[endif]Write
[if !supportLists]B.?[endif]FileWrite
[if !supportLists]C.?[endif]TransmitFile
[if !supportLists]D.?[endif]DownloadFile
?第37題 【單選題】【0.50分】【概念理解】
以下描述兔港,哪個(gè)不是Repeater控件的特點(diǎn)庸毫?
[if !supportLists]A.?[endif]完全由模板驅(qū)動(dòng)
[if !supportLists]B.?[endif]不生成任何類似于“”的布局代碼
[if !supportLists]C.?[endif]可以實(shí)現(xiàn)在控件中編輯數(shù)據(jù)
[if !supportLists]D.?[endif]比DataList更輕量
?第38題 【單選題】【0.50分】【概念理解】
現(xiàn)有C#變量username,需要在頁面顯示其值衫樊,則下列書寫正確的是飒赃?
[if !supportLists]A.?[endif]<%username%>
[if !supportLists]B.?[endif]<%=username%>
[if !supportLists]C.?[endif]<%$Eval("username")%>
[if !supportLists]D.?[endif]<%#Eval("username")%>
?第39題 【單選題】【0.50分】【概念理解】
TextBox控件的( )屬性值用于標(biāo)示是密碼框利花。
[if !supportLists]A.?[endif]Text
[if !supportLists]B.?[endif]Password
[if !supportLists]C.?[endif]TextMode
[if !supportLists]D.?[endif]Multiline
?第40題 【單選題】【0.50分】【概念理解】
如果需要保存用戶登錄的狀態(tài),下次訪問網(wǎng)站時(shí)自動(dòng)登錄载佳,需要使用的狀態(tài)管理技術(shù)是炒事?
[if !supportLists]A.?[endif]Cookie
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Session
[if !supportLists]D.?[endif]查詢字符串
?第41題 【單選題】【0.50分】【特性分析】
關(guān)于用戶密碼的加密,下列說法錯(cuò)誤的是()蔫慧。
[if !supportLists]A.?[endif]為了防止用戶密碼泄露所帶來的信息安全隱患
[if !supportLists]B.?[endif]在進(jìn)行用戶登錄驗(yàn)證時(shí)需要解密
[if !supportLists]C.?[endif]MD5加密是不可逆的
[if !supportLists]D.?[endif]進(jìn)行用戶登錄驗(yàn)證時(shí)無需解密
?第42題 【單選題】【0.50分】【概念理解】
在一個(gè)ASP.NET項(xiàng)目中挠乳,可以使用()控件來判斷TextBox控件中的內(nèi)容是一個(gè)數(shù)字,并且數(shù)字范圍在1~99之間姑躲。
[if !supportLists]A.?[endif]RequiredFieldValidator
[if !supportLists]B.?[endif]CompareValidator
[if !supportLists]C.?[endif]RangeFieldValidator
[if !supportLists]D.?[endif]RegularExpressionValidator
?第43題 【單選題】【0.50分】【特性分析】
在asp.net中睡扬,為了把頁面中一個(gè)名為name的string類型的字段幫定到一個(gè)textbox控件的文本屬性中,下列代碼正確的是()
[if !supportLists]A.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<#%name%>”></asp:textbox>
[if !supportLists]B.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<%name%>”></asp:textbox>
[if !supportLists]C.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<%#name%>”></asp:textbox>
[if !supportLists]D.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<name>”></asp:textbox>?
?第44題 【單選題】【0.50分】【概念理解】
關(guān)于C#泛型描述不正確的是()黍析。
[if !supportLists]A.?[endif]泛型集合可以約束存儲(chǔ)數(shù)據(jù)的類型
[if !supportLists]B.?[endif]泛型集合在訪問元素時(shí)卖怜,需要將數(shù)據(jù)轉(zhuǎn)回存儲(chǔ)前的類型
[if !supportLists]C.?[endif]使用泛型可以極大限度的重用代碼
[if !supportLists]D.?[endif]泛型是從C#2.0版本開始添加的功能
?第45題 【單選題】【0.50分】【特性分析】
在CSS中有一個(gè)名為nav的類,下列選項(xiàng)中可以將該類樣式應(yīng)用到id為nav_header的標(biāo)簽上()阐枣。
[if !supportLists]A.?[endif]$("#nav_header").css('nav')
[if !supportLists]B.?[endif]$("#nav_header").class('nav')
[if !supportLists]C.?[endif]$("#nav_header").addClass('nav')
[if !supportLists]D.?[endif]$("#nav_header").cssName='nav'
?第46題 【單選題】【0.50分】【特性分析】
在ASP.NET中,可使用FileUpload控件實(shí)現(xiàn)文件上傳马靠,下列( )屬性用于判斷是否選擇需要上傳的文件。
[if !supportLists]A.?[endif]HasFile
[if !supportLists]B.?[endif]FileName
[if !supportLists]C.?[endif]Enable
[if !supportLists]D.?[endif]SaveAs
?第47題 【單選題】【0.50分】【概念理解】
ValidationSummary控件收集本頁中所有驗(yàn)證控件的哪個(gè)屬性值蔼两?
[if !supportLists]A.?[endif]Text
[if !supportLists]B.?[endif]ErrorMessage
[if !supportLists]C.?[endif]Display
[if !supportLists]D.?[endif]ControlToValidate
?第48題 【單選題】【0.50分】【概念理解】
javascript中對于未聲明的變量使用typeof運(yùn)算符會(huì)輸出()甩鳄。
[if !supportLists]A.?[endif]string
[if !supportLists]B.?[endif]object
[if !supportLists]C.?[endif]undefined
[if !supportLists]D.?[endif]null
?第49題 【單選題】【0.50分】【概念理解】
在三層架構(gòu)中,每個(gè)層中均會(huì)使用的到的是()
[if !supportLists]A.?[endif]表現(xiàn)層
[if !supportLists]B.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]C.?[endif]模型層
[if !supportLists]D.?[endif]數(shù)據(jù)訪問層
?第50題 【單選題】【0.50分】【概念理解】
在asp.net中判斷頁面首次加載一般應(yīng)檢查( )屬性额划。
[if !supportLists]A.?[endif]IsFristLoad
[if !supportLists]B.?[endif]ViewState
[if !supportLists]C.?[endif]IsPostBack
[if !supportLists]D.?[endif]IsValid
?第51題 【單選題】【0.50分】【結(jié)果判斷】
在ASP.NET中妙啃,Server.MapPath("/")獲取的是()。
[if !supportLists]A.?[endif]站點(diǎn)的根目錄的絕對路徑
[if !supportLists]B.?[endif]站點(diǎn)的根目錄的相對路徑
[if !supportLists]C.?[endif]代碼所在頁面的絕對路徑
[if !supportLists]D.?[endif]代碼所在頁面的相對路徑
?第52題 【單選題】【0.50分】【特性分析】
在ASP.NET的頁面中,下列關(guān)于母版頁和普通頁區(qū)別的描述,正確的是( )
[if !supportLists]A.?[endif]母版頁的擴(kuò)展名為master,而普通頁的擴(kuò)展名為aspx
[if !supportLists]B.?[endif]母版頁能直接訪問
[if !supportLists]C.?[endif]普通頁可以使用ContentPlaceHolder控件
[if !supportLists]D.?[endif]母版頁的頁面指令是@Page
?第53題 【單選題】【0.50分】【概念理解】
在類的成員中锁孟,可以用于存儲(chǔ)數(shù)據(jù)的是()
[if !supportLists]A.?[endif]字段
[if !supportLists]B.?[endif]屬性
[if !supportLists]C.?[endif]方法
[if !supportLists]D.?[endif]事件
?第54題 【單選題】【0.50分】【特性分析】
在ASP.NET的頁面中,下列關(guān)于母版頁和普通頁區(qū)別的描述,正確的是( )
[if !supportLists]A.?[endif]母版頁的擴(kuò)展名為master,而普通頁的擴(kuò)展名為aspx
[if !supportLists]B.?[endif]母版頁能直接訪問
[if !supportLists]C.?[endif]普通頁可以使用ContentPlaceHolder控件
[if !supportLists]D.?[endif]母版頁的頁面指令是@Page
?第55題 【單選題】【0.50分】【概念理解】
表現(xiàn)層的主要職責(zé)是彬祖?
[if !supportLists]A.?[endif]數(shù)據(jù)展示
[if !supportLists]B.?[endif]數(shù)據(jù)處理
[if !supportLists]C.?[endif]數(shù)據(jù)傳遞
[if !supportLists]D.?[endif]數(shù)據(jù)庫訪問
?第56題 【單選題】【0.50分】【概念理解】
為了驗(yàn)證用戶在文本框中輸入的用戶名不為空茁瘦,需要使用的驗(yàn)證控件是品抽?
[if !supportLists]A.?[endif]RequiredFieldValidator
[if !supportLists]B.?[endif]Comparevalidator
[if !supportLists]C.?[endif]RangeValidator
[if !supportLists]D.?[endif]RegularExpressionValidator
?第57題 【單選題】【0.50分】【結(jié)果判斷】
CSS樣式background-position:10px -10px 代表的意義是()
[if !supportLists]A.?[endif]背景圖片向左偏移10px,向下偏移10px
[if !supportLists]B.?[endif]背景圖片向左偏移10px,向上偏移10px
[if !supportLists]C.?[endif]背景圖片向右偏移10px,向下偏移10px
[if !supportLists]D.?[endif]背景圖片向右偏移10px,向上偏移10px
?第58題 【單選題】【0.50分】【概念理解】
在ASP.NET中,下列不屬于DataList的模板是()甜熔。
[if !supportLists]A.?[endif]ItemTemplate
[if !supportLists]B.?[endif]SeparatorTemplate
[if !supportLists]C.?[endif]PagerTemplate
[if !supportLists]D.?[endif]AlternatingItemTemplate
?第59題 【單選題】【0.50分】【概念理解】
DataList控件默認(rèn)在客戶端瀏覽器圆恤,會(huì)生成何種html標(biāo)簽?
[if !supportLists]A.?[endif]div
[if !supportLists]B.?[endif]select
[if !supportLists]C.?[endif]table
[if !supportLists]D.?[endif]ul
?第60題 【單選題】【0.50分】【概念理解】
以下數(shù)據(jù)綁定表達(dá)式腔稀,正確的是盆昙?
[if !supportLists]A.?[endif]<%Eval("ID")%>
[if !supportLists]B.?[endif]<%=Eval("ID")%>
[if !supportLists]C.?[endif]<%$Eval("ID")%>
[if !supportLists]D.?[endif]<%#Eval("ID")%>
?第61題 【單選題】【0.50分】【概念理解】
在html中,要通過無列表符號來實(shí)現(xiàn)導(dǎo)航菜單焊虏,css屬性中的()可以實(shí)現(xiàn)導(dǎo)航菜單橫向排列淡喜。
[if !supportLists]A.?[endif]list-style
[if !supportLists]B.?[endif]padding
[if !supportLists]C.?[endif]z-index
[if !supportLists]D.?[endif]float
?第62題 【單選題】【0.50分】【結(jié)果判斷】
分析下述SQL代碼: declare @i int; set @i=6; if @i>=5 print @i-1; else print @i+1; print @i; 執(zhí)行上述代碼,結(jié)果是()诵闭。
[if !supportLists]A.?[endif]5
[if !supportLists]B.?[endif]6
[if !supportLists]C.?[endif]5 6
[if !supportLists]D.?[endif]以上結(jié)果均不是
?第63題 【單選題】【0.50分】【概念理解】
如果要實(shí)現(xiàn)一個(gè)小型的購物車功能炼团,可以使用如下內(nèi)置對象實(shí)現(xiàn)澎嚣?
[if !supportLists]A.?[endif]Cookie
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Session
[if !supportLists]D.?[endif]Server
?第64題 【單選題】【0.50分】【概念理解】
T-SQL中用于事務(wù)回滾的語句是()。
[if !supportLists]A.?[endif]begin transaction
[if !supportLists]B.?[endif]commit transaction
[if !supportLists]C.?[endif]rollback transaction
[if !supportLists]D.?[endif]return transaction
?第65題 【單選題】【0.50分】【概念理解】
在ASP.NET中瘟芝,下列哪種方式可以從客戶端獲取表單數(shù)據(jù)易桃?
[if !supportLists]A.?[endif]Request.Form
[if !supportLists]B.?[endif]Request.QuerString
[if !supportLists]C.?[endif]Respone.Write
[if !supportLists]D.?[endif]Server.Transfer
?第66題 【單選題】【0.50分】【概念理解】
關(guān)于Application 對象,下列說法錯(cuò)誤的是( )
[if !supportLists]A.?[endif]用于共享應(yīng)用程序級信息锌俱,即多個(gè)用戶共享一個(gè)Application 對象
[if !supportLists]B.?[endif]當(dāng)?shù)谝粋€(gè)用戶請求ASP.NET 文件時(shí)晤郑,將啟動(dòng)應(yīng)用程序并創(chuàng)建 Application 對象
[if !supportLists]C.?[endif]一旦Application 對象被創(chuàng)建,在整個(gè)應(yīng)用程序中都可以訪問該對象的值贸宏,直到應(yīng)用程序結(jié)束
[if !supportLists]D.?[endif]Application 對象的用法和 Cookie 對象相同,賦值和取值需要用到 Reponse 對象和 Request 對象
?第67題 【單選題】【0.50分】【特性分析】
下列關(guān)于DataList控件的說法造寝,正確的是()。
[if !supportLists]A.?[endif]DataList控件以層布局方式顯示多條數(shù)據(jù)記錄
[if !supportLists]B.?[endif]DataList控件不支持分頁功能锚赤,會(huì)將數(shù)據(jù)源提供的所有數(shù)據(jù)全部呈現(xiàn)在頁面上
[if !supportLists]C.?[endif]DataList控件不支持修改和刪除功能
[if !supportLists]D.?[endif]DataList控件執(zhí)行效率低于GirdView控件
?第68題 【單選題】【0.50分】【特性分析】
在ASP.NET中匹舞,下列關(guān)于Session對象說法正確的是( )。
[if !supportLists]A.?[endif]每次打開一個(gè)Web頁面會(huì)創(chuàng)建一個(gè)Session對象
[if !supportLists]B.?[endif]用戶關(guān)閉客戶端Web頁面后线脚,Session對象會(huì)立即消失
[if !supportLists]C.?[endif]應(yīng)用程序關(guān)閉以后赐稽,Session對象才消失
[if !supportLists]D.?[endif]每個(gè)Session對象相互獨(dú)立,不能相互訪問
?第69題 【單選題】【0.50分】【特性分析】
ASP.NET中包含多種維護(hù)狀態(tài)的技術(shù),下列選項(xiàng)將信息保存在客戶端的是()
[if !supportLists]A.?[endif]ViewState
[if !supportLists]B.?[endif]Session
[if !supportLists]C.?[endif]Application
[if !supportLists]D.?[endif]Cookie
?第70題 【單選題】【0.50分】【概念理解】
要獲取文檔中指定標(biāo)簽名的HTML頁面元素對象浑侥,應(yīng)該使用document對象的()方法姊舵。
[if !supportLists]A.?[endif]getElementById()
[if !supportLists]B.?[endif]getElementsByName()
[if !supportLists]C.?[endif]getElementsByTagName()
[if !supportLists]D.?[endif]createElement()
?第71題 【單選題】【0.50分】【概念理解】
對于驗(yàn)證匯總控件ValidationSummary,以下()屬性可以將錯(cuò)誤消息以消息對話框的形式彈出寓落?
[if !supportLists]A.?[endif]ShowMessageBox
[if !supportLists]B.?[endif]IsShowMessageBox
[if !supportLists]C.?[endif]Show
[if !supportLists]D.?[endif]IsShow
?第72題 【單選題】【0.50分】【特性分析】
3括丁、 以下是某程序員在一個(gè)Web窗體中編寫的部分C#代碼,已知GetJobDs是一個(gè)返回一個(gè)數(shù)據(jù)集的方法伶选,當(dāng)某個(gè)用戶第一次訪問該頁面時(shí)史飞,下列說法正確的是()。 private void Page_Load(object sender , System.EventArgs e){ if(!this.IsPostBack){ //1 DataSet ds=this.GetJobDs(); //2 this.GridView1.DataSource=ds.Tables[0]; //3 } }(選擇一項(xiàng))
[if !supportLists]A.?[endif]用戶不能在GridView控件中看到數(shù)據(jù)集中的數(shù)據(jù)仰税,因?yàn)闆]有設(shè)置GridView控件的DataMember屬性
[if !supportLists]B.?[endif]用戶不能在GridView控件中看到數(shù)據(jù)集中的數(shù)據(jù)构资,因?yàn)闆]有進(jìn)行數(shù)據(jù)綁定
[if !supportLists]C.?[endif]用戶不能在GridView控件中看到數(shù)據(jù)集中的數(shù)據(jù),因?yàn)榇a行2陨簇、3不能被執(zhí)行
[if !supportLists]D.?[endif]用戶可以在GridView控件中看到數(shù)據(jù)集中的數(shù)據(jù)
?第73題 【單選題】【0.50分】【特性分析】
在ASP.NET中吐绵,下列不屬于FileUpload控件的屬性是()。
[if !supportLists]A.?[endif]HasFile
[if !supportLists]B.?[endif]FileName
[if !supportLists]C.?[endif]Enable
[if !supportLists]D.?[endif]SaveAs
?第74題 【單選題】【0.50分】【概念理解】
以下代碼:string sql = "select * from users"; 應(yīng)該出現(xiàn)在哪一層河绽?
[if !supportLists]A.?[endif]表現(xiàn)層
[if !supportLists]B.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]C.?[endif]數(shù)據(jù)訪問層
[if !supportLists]D.?[endif]模型層
?第75題 【單選題】【0.50分】【概念理解】
關(guān)于單值綁定說法正確的是()己单。
[if !supportLists]A.?[endif]<%DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
[if !supportLists]B.?[endif]<%--DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
[if !supportLists]C.?[endif]<%=DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
[if !supportLists]D.?[endif]<%#DateTime.Now %>可以在頁面輸出當(dāng)前時(shí)間
?第76題 【單選題】【0.50分】【特性分析】
在C#中,程序使用( )語句拋出系統(tǒng)異嘲沂危或自定義異常纹笼。
[if !supportLists]A.?[endif]run
[if !supportLists]B.?[endif]throw
[if !supportLists]C.?[endif]catch
[if !supportLists]D.?[endif]finally
?第77題 【單選題】【0.50分】【概念理解】
多態(tài)是指不同子類對于同一個(gè)方法實(shí)現(xiàn)不同操作的方式。C#中的多態(tài)不能通過()實(shí)現(xiàn)苟跪。
[if !supportLists]A.?[endif]接口
[if !supportLists]B.?[endif]虛方法
[if !supportLists]C.?[endif]密封類
[if !supportLists]D.?[endif]抽象類
?第78題 【單選題】【0.50分】【結(jié)果判斷】
Sqlserver中廷痘,已知執(zhí)行語句:Select count(score),sum(score)from score 返回的結(jié)果是5和750矮嫉,那么執(zhí)行語句:Select avg(score) from score,返回的結(jié)果是( )牍疏。
[if !supportLists]A.?[endif]5
[if !supportLists]B.?[endif]150
[if !supportLists]C.?[endif]1500
[if !supportLists]D.?[endif]750
?第79題 【單選題】【0.50分】【概念理解】
在ASP.NET中蠢笋,Application是( )類的實(shí)例。
[if !supportLists]A.?[endif]HttpApplication
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]HttpApplicationUtility
[if !supportLists]D.?[endif]HttpApplicationState
?第80題 【單選題】【0.50分】【概念理解】
C#中鳞陨,若定義一個(gè)類Person昨寞,期望該類不能被其他類所繼承,則可以使用()關(guān)鍵字修飾該類厦滤。
[if !supportLists]A.?[endif]sealed
[if !supportLists]B.?[endif]abstract
[if !supportLists]C.?[endif]static
[if !supportLists]D.?[endif]virtual
?第81題 【單選題】【0.50分】【結(jié)果判斷】
假設(shè)站點(diǎn)在服務(wù)器上的根目錄在“F:\WWWRoot\”下援岩,則Server.MapPath(“~/default.aspx”)的返回值是?
[if !supportLists]A.?[endif]F:\WWWRoot\
[if !supportLists]B.?[endif]default.aspx
[if !supportLists]C.?[endif]/default.aspx
[if !supportLists]D.?[endif]F:\WWWRoot\default.aspx
?第82題 【單選題】【0.50分】【代碼糾錯(cuò)】
如果需要代碼只在頁面第一次加載時(shí)執(zhí)行掏导,則下劃線處理應(yīng)填寫的代碼是享怀?protected void Page_Load(object sender, EventArgs e) { if (________________) { //代碼 } }
[if !supportLists]A.?[endif]IsValid
[if !supportLists]B.?[endif]!IsValid
[if !supportLists]C.?[endif]IsPostBack
[if !supportLists]D.?[endif]!IsPostBack
?第83題 【單選題】【0.50分】【概念理解】
在SQL Server中,執(zhí)行帶參數(shù)的存儲(chǔ)過程趟咆,下列語法描述正確是()添瓷。
[if !supportLists]A.?[endif]存儲(chǔ)過程名
[if !supportLists]B.?[endif]參數(shù)存儲(chǔ)過程名
[if !supportLists]C.?[endif]EXECUTE 參數(shù)存儲(chǔ)過程名
[if !supportLists]D.?[endif]EXECUTE 存儲(chǔ)過程名參數(shù)
?第84題 【單選題】【0.50分】【特性分析】
為了完成在網(wǎng)頁上添加用于統(tǒng)計(jì)人數(shù)的計(jì)算器,可以通過()對象對計(jì)數(shù)變量Count的加法操作來實(shí)現(xiàn)值纱。
[if !supportLists]A.?[endif]Session
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Page
[if !supportLists]D.?[endif]Cookie
?第85題 【單選題】【0.50分】【特性分析】
為了完成在網(wǎng)頁上添加用于統(tǒng)計(jì)人數(shù)的計(jì)算器鳞贷,可以通過()對象對計(jì)數(shù)變量Count的加法操作來實(shí)現(xiàn)。
[if !supportLists]A.?[endif]Session
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Page
[if !supportLists]D.?[endif]Cookie
?第86題 【單選題】【0.50分】【概念理解】
三層架構(gòu)的描述正確的是()
[if !supportLists]A.?[endif]三層架構(gòu)可以使程序設(shè)計(jì)“低內(nèi)聚虐唠、高耦合”
[if !supportLists]B.?[endif]三層架構(gòu)設(shè)計(jì)中搀愧,將問題劃分開來各個(gè)解決,易于控制疆偿、擴(kuò)展咱筛、分配資源及維護(hù)
[if !supportLists]C.?[endif]三層架構(gòu)指的是一個(gè)應(yīng)用程序分為3 個(gè)小程序
[if !supportLists]D.?[endif]三層架構(gòu)的表現(xiàn)層只能是web 應(yīng)用程序
?第87題 【單選題】【0.50分】【概念理解】
下列不屬于ASP.NET中Response對象的屬性或方法是?
[if !supportLists]A.?[endif]Cache
[if !supportLists]B.?[endif]Cookies
[if !supportLists]C.?[endif]QueryString
[if !supportLists]D.?[endif]End
?第88題 【單選題】【0.50分】【概念理解】
下列關(guān)于Response 對象中屬性和事件的說法杆故,錯(cuò)誤的是( )
[if !supportLists]A.?[endif]Cookies 獲取響應(yīng)的 Cookie 集合
[if !supportLists]B.?[endif]Redirect 將客戶端重定向到新的 URL
[if !supportLists]C.?[endif]Write 向頁面輸出數(shù)據(jù)
[if !supportLists]D.?[endif]Write 不能向頁面輸出 JavaScript 腳本
?第89題 【單選題】【0.50分】【概念理解】
關(guān)于數(shù)據(jù)庫存儲(chǔ)過程描述錯(cuò)誤的是()迅箩。
[if !supportLists]A.?[endif]存儲(chǔ)過程可以加快系統(tǒng)運(yùn)行速度
[if !supportLists]B.?[endif]存儲(chǔ)過程僅在創(chuàng)建時(shí)編譯,以后每次執(zhí)行無需重新編譯
[if !supportLists]C.?[endif]存儲(chǔ)過程存放于數(shù)據(jù)庫客戶機(jī)
[if !supportLists]D.?[endif]存儲(chǔ)過程可封裝數(shù)據(jù)庫的復(fù)雜操作
?第90題 【單選題】【0.50分】【特性分析】
javascript要實(shí)現(xiàn)彈出一個(gè)帶“確定”和“取消”按鈕的對話框反番,應(yīng)該使用window對象的哪個(gè)方法()沙热。
[if !supportLists]A.?[endif]alert
[if !supportLists]B.?[endif]prompt
[if !supportLists]C.?[endif]confirm
[if !supportLists]D.?[endif]open
?第91題 【單選題】【0.50分】【特性分析】
在ASP.NET應(yīng)用程序中叉钥,登錄后在后續(xù)多個(gè)頁面中均需要獲取登錄用戶的信息罢缸,可使用()對象保存用戶信息
[if !supportLists]A.?[endif]Cookie
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Session
[if !supportLists]D.?[endif]Request
?第92題 【單選題】【0.50分】【概念理解】
對于驗(yàn)證控件,以下屬性如果不設(shè)置會(huì)報(bào)錯(cuò)的是投队?
[if !supportLists]A.?[endif]Text
[if !supportLists]B.?[endif]ErrorMessage
[if !supportLists]C.?[endif]ControlToValidate
[if !supportLists]D.?[endif]Display
?第93題 【單選題】【0.50分】【概念理解】
在C#中枫疆,下列()關(guān)鍵字用于重寫父類的虛方法。
[if !supportLists]A.?[endif]new
[if !supportLists]B.?[endif]base
[if !supportLists]C.?[endif]virtual
[if !supportLists]D.?[endif]override
?第94題 【單選題】【0.50分】【特性分析】
關(guān)于數(shù)據(jù)庫存儲(chǔ)過程描述錯(cuò)誤的是()敷鸦。
[if !supportLists]A.?[endif]存儲(chǔ)過程可以加快系統(tǒng)運(yùn)行速度
[if !supportLists]B.?[endif]存儲(chǔ)過程僅在創(chuàng)建時(shí)編譯息楔,以后每次執(zhí)行無需重新編譯
[if !supportLists]C.?[endif]存儲(chǔ)過程存放于數(shù)據(jù)庫客戶機(jī)
[if !supportLists]D.?[endif]存儲(chǔ)過程可封裝數(shù)據(jù)庫的復(fù)雜操作
?第95題 【單選題】【0.50分】【概念理解】
下拉菜單中寝贡,用戶更改元素select中的值時(shí),會(huì)調(diào)用()事件處理程序值依。
[if !supportLists]A.?[endif]onchange
[if !supportLists]B.?[endif]onfocus
[if !supportLists]C.?[endif]onmouseover
[if !supportLists]D.?[endif]onclick
?第96題 【單選題】【0.50分】【特性分析】
在asp.net中圃泡,為了把頁面中一個(gè)名為name的string類型的字段幫定到一個(gè)textbox控件的文本屬性中,下列代碼正確的是()
[if !supportLists]A.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<#%name%>”></asp:textbox>
[if !supportLists]B.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<%name%>”></asp:textbox>
[if !supportLists]C.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<%#name%>”></asp:textbox>
[if !supportLists]D.?[endif]<asp:TextBox?id=”TextBox1”?Text=”<name>”></asp:textbox>?
?第97題 【單選題】【0.50分】【概念理解】
在ASP.NET中愿险,下列不屬于Repeater的模板是()颇蜡。
[if !supportLists]A.?[endif]ItemTemplate
[if !supportLists]B.?[endif]SeparatorTemplate
[if !supportLists]C.?[endif]PagerTemplate
[if !supportLists]D.?[endif]AlternatingItemTemplate
?第98題 【單選題】【0.50分】【特性分析】
關(guān)于DataList控件,下列說法正確的是有()辆亏。
[if !supportLists]A.?[endif]DataList不會(huì)自動(dòng)生成任何代碼
[if !supportLists]B.?[endif]DataList不能使用ObjectDataSource控件進(jìn)行數(shù)據(jù)綁定
[if !supportLists]C.?[endif]DataList沒有分頁功能
[if !supportLists]D.?[endif]DataList只有模板列
?第99題 【單選題】【0.50分】【結(jié)果判斷】
在一個(gè)ASPX頁面的Page_Load事件中风秤,編寫了如下代碼,則執(zhí)行該頁面后扮叨,將在頁面中輸出()缤弦。 private void Page_Load(object sender , System.EventArgs e){ Response . Write(“歡迎光臨”); Response .End(); Response . Write(“歡迎下次光臨”); }
[if !supportLists]A.?[endif]歡迎光臨
[if !supportLists]B.?[endif]歡迎下次光臨
[if !supportLists]C.?[endif]歡迎光臨歡迎下次光臨
[if !supportLists]D.?[endif]歡迎光臨歡迎下次光臨
?第100題 【單選題】【0.50分】【概念理解】
如果要驗(yàn)證兩個(gè)文本框輸入的密碼是否一致,一般情況下使用的驗(yàn)證控件是彻磁?
[if !supportLists]A.?[endif]RangeValidator
[if !supportLists]B.?[endif]RegularExpressionValidator
[if !supportLists]C.?[endif]RequireFieldValidator
[if !supportLists]D.?[endif]CompareValidator
?第101題 【單選題】【0.50分】【概念理解】
一個(gè)倉庫可以存放多種零件碍沐,每一種零件可以存放在不同的倉庫中,倉庫和零件之間為()的聯(lián)系衷蜓。
[if !supportLists]A.?[endif]多對多
[if !supportLists]B.?[endif]一對多
[if !supportLists]C.?[endif]一對一
[if !supportLists]D.?[endif]多對一
?第102題 【單選題】【0.50分】【概念理解】
在ASP.NET中抢韭,應(yīng)用程序啟動(dòng)時(shí)觸發(fā)的事件為()。
[if !supportLists]A.?[endif]Session_Start
[if !supportLists]B.?[endif]Session_End
[if !supportLists]C.?[endif]Application_Start
[if !supportLists]D.?[endif]Application_End
?第103題 【單選題】【0.50分】【特性分析】
在ASP.NET應(yīng)用程序中恍箭,登錄后在后續(xù)多個(gè)頁面中均需要獲取登錄用戶的信息刻恭,可使用()對象保存用戶信息
[if !supportLists]A.?[endif]Cookie
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Session
[if !supportLists]D.?[endif]Request
?第104題 【單選題】【0.50分】【概念理解】
Web Pages頁面文件的后綴是?
[if !supportLists]A.?[endif].html
[if !supportLists]B.?[endif].shtml
[if !supportLists]C.?[endif].cshtml
[if !supportLists]D.?[endif].xhtml
?第105題 【單選題】【0.50分】【概念理解】
下列選項(xiàng)中不能與下述C#代碼片段中的方法構(gòu)成重載的是()扯夭。 public void test(string s) { Console.Write(s); }
[if !supportLists]A.?[endif]public void test(string a,string b){ Console.Write(b);}
[if !supportLists]B.?[endif]public int test(string a){ return 123;}
[if !supportLists]C.?[endif]public void test(int a){ Console.Write(a);}
[if !supportLists]D.?[endif]public void test(string a,int b){ Console.Write(a);}
?第106題 【單選題】【0.50分】【概念理解】
如需為超級鏈接添加下劃線鳍贾,下列語法正確的是()。
[if !supportLists]A.?[endif]a{text-decoration: underline}
[if !supportLists]B.?[endif]a{underline:none}
[if !supportLists]C.?[endif]a{decoration:no underline}
[if !supportLists]D.?[endif]a{text-decoration:none}
?第107題 【單選題】【0.50分】【概念理解】
下列關(guān)于接口的使用交洗,錯(cuò)誤的是()骑科。
[if !supportLists]A.?[endif]接口可以直接實(shí)例化
[if !supportLists]B.?[endif]接口可以作為參數(shù)進(jìn)行傳遞
[if !supportLists]C.?[endif]接口可以作為一個(gè)函數(shù)的返回值
[if !supportLists]D.?[endif]實(shí)現(xiàn)多個(gè)接口可以說是變相實(shí)現(xiàn)了多重繼承
?第108題 【單選題】【0.50分】【特性分析】
在三層架構(gòu)中ADO.NET數(shù)據(jù)訪問類放在( )中使用。
[if !supportLists]A.?[endif]表現(xiàn)層
[if !supportLists]B.?[endif]數(shù)據(jù)訪問層
[if !supportLists]C.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]D.?[endif]每一層都可以
?第109題 【單選題】【0.50分】【概念理解】
Razor代碼塊的語法是构拳?
[if !supportLists]A.?[endif]<%...%>
[if !supportLists]B.?[endif]@<...>
[if !supportLists]C.?[endif]@(...)
[if !supportLists]D.?[endif]@{...}
?第110題 【單選題】【0.50分】【概念理解】
在三層架構(gòu)中咆爽,一個(gè)實(shí)體類對象用于封裝一條記錄,那么多條記錄使用()進(jìn)行存儲(chǔ)置森。
[if !supportLists]A.?[endif]實(shí)體類對象
[if !supportLists]B.?[endif]數(shù)組
[if !supportLists]C.?[endif]List<T>
[if !supportLists]D.?[endif]多個(gè)實(shí)體類對象
?第111題 【單選題】【0.50分】【特性分析】
ViewState說法正確的是( )斗埂。
[if !supportLists]A.?[endif]Viewstate的值存儲(chǔ)于服務(wù)器端,不會(huì)在客戶端出現(xiàn)
[if !supportLists]B.?[endif]Viewstate的值會(huì)跟隨客戶端請求發(fā)送到服務(wù)器端
[if !supportLists]C.?[endif]Viewstate不可以存儲(chǔ)服務(wù)器控件的一些狀態(tài)
[if !supportLists]D.?[endif]Viewstate不會(huì)造成帶寬浪費(fèi)
?第112題 【單選題】【0.50分】【概念理解】
三層架構(gòu)中凫海,存儲(chǔ)過程的調(diào)用應(yīng)該寫在哪一層()?
[if !supportLists]A.?[endif]模型層
[if !supportLists]B.?[endif]表現(xiàn)層
[if !supportLists]C.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]D.?[endif]數(shù)據(jù)訪問層
?第113題 【單選題】【0.50分】【概念理解】
在SQL Server中呛凶,部分匹配查詢有關(guān)通配符“_”的正確描述是()。
[if !supportLists]A.?[endif]“_”代表多個(gè)字符
[if !supportLists]B.?[endif]“_”代表一個(gè)字符
[if !supportLists]C.?[endif]“_”不能與“%”一同使用
[if !supportLists]D.?[endif]“_”可以代表零個(gè)或多個(gè)字符
?第114題 【單選題】【0.50分】【概念理解】
下列不屬于ASP.NET中Response對象的屬性或方法是行贪?
[if !supportLists]A.?[endif]Cache
[if !supportLists]B.?[endif]Cookies
[if !supportLists]C.?[endif]QueryString
[if !supportLists]D.?[endif]End
?第115題 【單選題】【0.50分】【概念理解】
在asp.net中判斷頁面首次加載一般應(yīng)檢查( )屬性漾稀。
[if !supportLists]A.?[endif]IsFristLoad
[if !supportLists]B.?[endif]ViewState
[if !supportLists]C.?[endif]IsPostBack
[if !supportLists]D.?[endif]IsValid
?第116題 【單選題】【0.50分】【特性分析】
javascript中要將IP地址“192.168.1.100”按”.”分割成4個(gè)字符串,應(yīng)該使用哪個(gè)方法()模闲。
[if !supportLists]A.?[endif]substring()???????????
[if !supportLists]B.?[endif]substr()??????????????
[if !supportLists]C.?[endif]split()??????????
[if !supportLists]D.?[endif]indexOf()
?第117題 【單選題】【0.50分】【概念理解】
網(wǎng)上競拍系統(tǒng)要求驗(yàn)證競拍物品價(jià)格必須在0至10000之間。最適合使用的ASP.NET驗(yàn)證控件是崭捍?
[if !supportLists]A.?[endif]RangeValidator
[if !supportLists]B.?[endif]RegularExpressionValidator
[if !supportLists]C.?[endif]RequireFieldValidator
[if !supportLists]D.?[endif]CompareValidator
?第118題 【單選題】【0.50分】【概念理解】
在A類中定義protected的屬性Name尸折,下列說法正確的( )。
[if !supportLists]A.?[endif]定義B類繼承A類殷蛇,則B類也具有Name屬性
[if !supportLists]B.?[endif]在B類中創(chuàng)建A類對象翁授,可以通過“對象.成員"訪問Name
[if !supportLists]C.?[endif]無論B類是否繼承A類,Name只能在A類中使用
[if !supportLists]D.?[endif]Name可以在任何地方使用
?第119題 【單選題】【0.50分】【概念理解】
在C#中晾咪,可以通過()來實(shí)現(xiàn)方法重載收擦。
[if !supportLists]A.?[endif]方法名相同,不同的參數(shù)個(gè)數(shù)
[if !supportLists]B.?[endif]方法名相同谍倦,不同的參數(shù)名稱
[if !supportLists]C.?[endif]不同的方法名稱塞赂,相同的參數(shù)個(gè)數(shù)
[if !supportLists]D.?[endif]相同的方法名,相同的參數(shù)個(gè)數(shù)昼蛀,不同的返回值
?第120題 【單選題】【0.50分】【概念理解】
關(guān)于GET方法提交和POST方法提交描述正確的是()
[if !supportLists]A.?[endif]少量且長度小的數(shù)據(jù)使用Post請求宴猾,大量且長度較大的數(shù)據(jù)使用GET請求
[if !supportLists]B.?[endif]在以URL地址為參數(shù)的方法中,只能使用GET請求
[if !supportLists]C.?[endif]希望用戶能夠保存結(jié)果地址用于下次訪問時(shí)使用POST請求
[if !supportLists]D.?[endif]涉及需要保密的數(shù)據(jù)時(shí)使用GET請求
?第121題 【單選題】【0.50分】【概念理解】
在Razor語法中叼旋,行內(nèi)表達(dá)式(變量和函數(shù))以什么符號開始仇哆?
[if !supportLists]A.?[endif]@
[if !supportLists]B.?[endif]#
[if !supportLists]C.?[endif]$
[if !supportLists]D.?[endif]%
?第122題 【單選題】【0.50分】【概念理解】
下列關(guān)于繼承的說法,錯(cuò)誤的是()夫植。
[if !supportLists]A.?[endif]在C#中讹剔,object類是所有類的基類
[if !supportLists]B.?[endif]子類不能直接訪問父類的私有成員
[if !supportLists]C.?[endif]在創(chuàng)建子類對象時(shí)會(huì)自動(dòng)調(diào)用父類的構(gòu)造函數(shù)
[if !supportLists]D.?[endif]調(diào)用類中成員時(shí)使用base關(guān)鍵字,調(diào)用父類成員時(shí)使用this關(guān)鍵字
?第123題 【單選題】【0.50分】【概念理解】
對于web.sitemap的內(nèi)容描述錯(cuò)誤的是详民?
[if !supportLists]A.?[endif]站點(diǎn)地圖根節(jié)點(diǎn)為元素延欠,每個(gè)文件有且僅有一個(gè)根節(jié)點(diǎn)
[if !supportLists]B.?[endif]<siteMap>下一級有且僅有一個(gè)<siteMapNode>節(jié)點(diǎn)
[if !supportLists]C.?[endif]在站點(diǎn)地圖中,同一個(gè)URL能出現(xiàn)多次
[if !supportLists]D.?[endif]站點(diǎn)地圖文件指定的頁面關(guān)系是邏輯關(guān)系沈跨,而不是存儲(chǔ)位置間的關(guān)系
?第124題 【單選題】【0.50分】【概念理解】
為了驗(yàn)證用戶在文本框中輸入的用戶名不為空由捎,需要使用的驗(yàn)證控件是?
[if !supportLists]A.?[endif]RequiredFieldValidator
[if !supportLists]B.?[endif]Comparevalidator
[if !supportLists]C.?[endif]RangeValidator
[if !supportLists]D.?[endif]RegularExpressionValidator
?第125題 【單選題】【0.50分】【概念理解】
下列關(guān)于Response 對象中屬性和事件的說法饿凛,錯(cuò)誤的是( )
[if !supportLists]A.?[endif]Cookies 獲取響應(yīng)的 Cookie 集合
[if !supportLists]B.?[endif]Redirect 將客戶端重定向到新的 URL
[if !supportLists]C.?[endif]Write 向頁面輸出數(shù)據(jù)
[if !supportLists]D.?[endif]Write 不能向頁面輸出 JavaScript 腳本
?第126題 【單選題】【0.50分】【概念理解】
關(guān)于C#中ArrayList和HashTable描述不正確的是()狞玛。
[if !supportLists]A.?[endif]ArrayList和HashTable的容量都是根據(jù)需要自動(dòng)擴(kuò)展的
[if !supportLists]B.?[endif]ArrayList和HashTable存儲(chǔ)的元素可以是不同類型的數(shù)據(jù)心肪。
[if !supportLists]C.?[endif]ArrayList和HashTable取出數(shù)據(jù)時(shí)都需要轉(zhuǎn)回存儲(chǔ)前的類型
[if !supportLists]D.?[endif]ArrayList和HashTable都可以通過索引訪問元素
?第127題 【單選題】【0.50分】【概念理解】
在asp.net中的母版頁中恭陡,母版頁的文件擴(kuò)展是( )
[if !supportLists]A.?[endif]aspx
[if !supportLists]B.?[endif]asax
[if !supportLists]C.?[endif]master
[if !supportLists]D.?[endif]ascx
?第128題 【單選題】【0.50分】【概念理解】
E-R圖是數(shù)據(jù)庫設(shè)計(jì)的一種表現(xiàn)形式永部,其適用于建立數(shù)據(jù)庫的()罚随。
[if !supportLists]A.?[endif]概念模型
[if !supportLists]B.?[endif]邏輯模型
[if !supportLists]C.?[endif]結(jié)構(gòu)模型
[if !supportLists]D.?[endif]物理模型
?第129題 【單選題】【0.50分】【概念理解】
下列javascript內(nèi)置對象實(shí)例化錯(cuò)誤的是()。
[if !supportLists]A.?[endif]var x=new Date()
[if !supportLists]B.?[endif]var x=new Array();
[if !supportLists]C.?[endif]var x=new String();
[if !supportLists]D.?[endif]var x=new Math();
?第130題 【單選題】【0.50分】【概念理解】
在ASP.NET應(yīng)用中缨历,改變Button控件的( )屬性,可以設(shè)置控件的大小、顏色飞蛹、位置等拒贱。
[if !supportLists]A.?[endif]Style
[if !supportLists]B.?[endif]Text
[if !supportLists]C.?[endif]Name
[if !supportLists]D.?[endif]Type
?第131題 【單選題】【0.50分】【代碼糾錯(cuò)】
在下劃線中需要添加的代碼是?@{var isOK = true; } @if (isOK) { ___好霸旗!很好 } else { ___錯(cuò)!大錯(cuò) }
[if !supportLists]A.?[endif]@
[if !supportLists]B.?[endif]@=
[if !supportLists]C.?[endif]@:
[if !supportLists]D.?[endif]@%
?第132題 【單選題】【0.50分】【結(jié)果判斷】
ASP.NET代碼“Response.Write(Server.HtmlEncode(“<H1>HtmlEncode 樣例</H1>”))”的輸出結(jié)果是( )戚揭。
[if !supportLists]A.?[endif]在窗口打印樣式為H1的“HtmlEncode樣例”字體
[if !supportLists]B.?[endif]在窗口打印“
HtmlEncode樣例
”[if !supportLists]C.?[endif]在窗口打印“H1HtmlEncode樣例H1”
[if !supportLists]D.?[endif]出現(xiàn)錯(cuò)誤信息诱告,說明嵌入的串中包含非法字符
?第133題 【單選題】【0.50分】【結(jié)果判斷】
分析下述C#片段中的屬性,該屬性是( )屬性民晒。 private string name; public string Name { get{return name;} }
[if !supportLists]A.?[endif]可讀可寫
[if !supportLists]B.?[endif]只寫
[if !supportLists]C.?[endif]只讀
[if !supportLists]D.?[endif]靜態(tài)
?第134題 【單選題】【0.50分】【概念理解】
在ASP.NET中精居,下列關(guān)于Application對象的說法,正確的是潜必?
[if !supportLists]A.?[endif]每次打開一個(gè)Web頁面會(huì)創(chuàng)建一個(gè)Application對象
[if !supportLists]B.?[endif]用戶關(guān)閉客戶端Web頁面后粪躬,Application對象會(huì)立即消失
[if !supportLists]C.?[endif]應(yīng)用程序退出以后翔脱,Application對象才會(huì)消失
[if !supportLists]D.?[endif]Application對象不能被其他用戶訪問
?第135題 【單選題】【0.50分】【概念理解】
在SQL Server中炉奴,下列哪句是case語句的標(biāo)準(zhǔn)語法擦酌?()
[if !supportLists]A.?[endif]case...when...then...else...end
[if !supportLists]B.?[endif]case...begin...end...else...
[if !supportLists]C.?[endif]case...while...end
[if !supportLists]D.?[endif]case...if...else...end
?第136題 【單選題】【0.50分】【概念理解】
在.NET框架下開發(fā)三層架構(gòu)的數(shù)據(jù)庫應(yīng)用系統(tǒng)時(shí),實(shí)體對象在下列哪里使用?
[if !supportLists]A.?[endif]表現(xiàn)層
[if !supportLists]B.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]C.?[endif]數(shù)據(jù)訪問層
[if !supportLists]D.?[endif]以上都可以
?第137題 【單選題】【0.50分】【概念理解】
在C#中维雇,類成員默認(rèn)的訪問修飾符是( )淤刃。
[if !supportLists]A.?[endif]public
[if !supportLists]B.?[endif]private
[if !supportLists]C.?[endif]protected
[if !supportLists]D.?[endif]internal
?第138題 【單選題】【0.50分】【概念理解】
關(guān)于三層架構(gòu)的優(yōu)勢,下列說法錯(cuò)誤的是( )
[if !supportLists]A.?[endif]適于變化,利于維護(hù)
[if !supportLists]B.?[endif]適用于協(xié)作開發(fā)
[if !supportLists]C.?[endif]主流趨勢
[if !supportLists]D.?[endif]提高系統(tǒng)性能
?第139題 【單選題】【0.50分】【概念理解】
現(xiàn)需要生成Chart圖表,若需將其保存為一張圖片存于項(xiàng)目的Images目錄下谆沃,可調(diào)用其()方法钝凶。
[if !supportLists]A.?[endif]Save()
[if !supportLists]B.?[endif]SaveAs()
[if !supportLists]C.?[endif]Write()
[if !supportLists]D.?[endif]WriteAs()
?第140題 【單選題】【0.50分】【概念理解】
如果要實(shí)現(xiàn)一個(gè)小型的購物車功能仪芒,可以使用如下內(nèi)置對象實(shí)現(xiàn)唁影?
[if !supportLists]A.?[endif]Cookie
[if !supportLists]B.?[endif]Application
[if !supportLists]C.?[endif]Session
[if !supportLists]D.?[endif]Server
?第141題 【單選題】【0.50分】【概念理解】
三層架構(gòu)的描述正確的是()
[if !supportLists]A.?[endif]三層架構(gòu)可以使程序設(shè)計(jì)“低內(nèi)聚、高耦合”
[if !supportLists]B.?[endif]三層架構(gòu)設(shè)計(jì)中掂名,將問題劃分開來各個(gè)解決据沈,易于控制、擴(kuò)展饺蔑、分配資源及維護(hù)
[if !supportLists]C.?[endif]三層架構(gòu)指的是一個(gè)應(yīng)用程序分為3 個(gè)小程序
[if !supportLists]D.?[endif]三層架構(gòu)的表現(xiàn)層只能是web 應(yīng)用程序
?第142題 【單選題】【0.50分】【概念理解】
在ASP.NET中锌介,下列關(guān)于Cookie對象說法錯(cuò)誤的是( )。
[if !supportLists]A.?[endif]Cookie對象用于存儲(chǔ)文本信息猾警,伴隨著用戶請求和頁面在Web服務(wù)器和瀏覽器之間傳遞
[if !supportLists]B.?[endif]可通過Request.Cookies向客戶端寫入Cookie
[if !supportLists]C.?[endif]設(shè)置過期時(shí)間的Cookie孔祸,到達(dá)過期時(shí)間將自動(dòng)清除
[if !supportLists]D.?[endif]未設(shè)置過期時(shí)間的Cookie,存儲(chǔ)于瀏覽器的內(nèi)存中
?第143題 【單選題】【0.50分】【概念理解】
在SQL?Server中发皿,使用CRAETE?TABLE語句建立的是崔慧?()
[if !supportLists]A.?[endif]數(shù)據(jù)庫
[if !supportLists]B.?[endif]索引
[if !supportLists]C.?[endif]視圖
[if !supportLists]D.?[endif]?表
?第144題 【單選題】【0.50分】【概念理解】
關(guān)于C#序列化和反序列化,描述錯(cuò)誤的是()穴墅。
[if !supportLists]A.?[endif]序列化是將對象的狀態(tài)存儲(chǔ)到特定存儲(chǔ)介質(zhì)中的過程
[if !supportLists]B.?[endif]標(biāo)識(shí)一個(gè)類可以序列化惶室,要在類前加上[Serializable]特性
[if !supportLists]C.?[endif]如果一個(gè)類被標(biāo)識(shí)為可序列化,則其包含的成員也必須可序列化
[if !supportLists]D.?[endif]反序列化是將對象實(shí)例的狀態(tài)存儲(chǔ)到媒體中的過程
?第145題 【單選題】【0.50分】【概念理解】
asp.net中玄货,以下對DropDownList服務(wù)器控件描述錯(cuò)誤的是( )
[if !supportLists]A.?[endif]DropDownList服務(wù)器控件不支持多重選擇
[if !supportLists]B.?[endif]可以用SelectedIndex屬性或者SelectedItem屬性來判斷哪一項(xiàng)被選取
[if !supportLists]C.?[endif]當(dāng)用戶更改選項(xiàng)時(shí)會(huì)引發(fā)SelectedIndexChanaged事件
[if !supportLists]D.?[endif]類似WinForm中?的?ComboBox?控件皇钞,允許用戶在運(yùn)行時(shí)輸入文本
?第146題 【單選題】【0.50分】【特性分析】
三種常見數(shù)據(jù)綁定控件的對比,說法正確的是
[if !supportLists]A.?[endif]功能對比:GridView>DataList>Repeater
[if !supportLists]B.?[endif]功能對比:DataList>Repeater>GridView
[if !supportLists]C.?[endif]布局靈活度:GridView>Repeater和DataList
[if !supportLists]D.?[endif]性能對比:DataList>Repeater>GridView
?第147題 【單選題】【0.50分】【特性分析】
要選擇id='div1'所有span子元素,請選出正確的選擇器()
[if !supportLists]A.?[endif]$('#div1 span')
[if !supportLists]B.?[endif]$('#div1>span')
[if !supportLists]C.?[endif]$('#div1+span')
[if !supportLists]D.?[endif]$('#div1~span')
?第148題 【單選題】【0.50分】【概念理解】
C#提供一種集合類型HashTable(哈希表)松捉,哈希表中元素的對應(yīng)關(guān)系是()夹界。
[if !supportLists]A.?[endif]一個(gè)鍵對應(yīng)一個(gè)值
[if !supportLists]B.?[endif]一個(gè)鍵對應(yīng)多個(gè)值
[if !supportLists]C.?[endif]一個(gè)值對應(yīng)多個(gè)鍵
[if !supportLists]D.?[endif]多個(gè)鍵對應(yīng)多個(gè)值
?第149題 【單選題】【0.50分】【概念理解】
下列不屬于DIV+CSS布局優(yōu)勢的是()。
[if !supportLists]A.?[endif]表現(xiàn)和內(nèi)容分離
[if !supportLists]B.?[endif]大大縮減頁面代碼隘世,提高頁面瀏覽速度
[if !supportLists]C.?[endif]便于搜索引擎搜索
[if !supportLists]D.?[endif]比table布局更容易學(xué)習(xí)
?第150題 【單選題】【0.50分】【概念理解】
如果需要一行顯示多列掉盅,需要設(shè)置DataList控件的哪個(gè)屬性?
[if !supportLists]A.?[endif]Items
[if !supportLists]B.?[endif]Columns
[if !supportLists]C.?[endif]Repeat
[if !supportLists]D.?[endif]RepeatColumns
?第151題 【單選題】【0.50分】【概念理解】
在asp.net中的母版頁中以舒,母版頁的文件擴(kuò)展是( )
[if !supportLists]A.?[endif]aspx
[if !supportLists]B.?[endif]asax
[if !supportLists]C.?[endif]master
[if !supportLists]D.?[endif]ascx
?第152題 【單選題】【0.50分】【結(jié)果判斷】
在ASP.NET中趾痘,Server.MapPath("/")獲取的是()。
[if !supportLists]A.?[endif]站點(diǎn)的根目錄的絕對路徑
[if !supportLists]B.?[endif]站點(diǎn)的根目錄的相對路徑
[if !supportLists]C.?[endif]代碼所在頁面的絕對路徑
[if !supportLists]D.?[endif]代碼所在頁面的相對路徑
?第153題 【單選題】【0.50分】【概念理解】
下列哪個(gè)ASP.NET內(nèi)置對象作用是將數(shù)據(jù)從服務(wù)器發(fā)送到客戶機(jī)瀏覽器蔓钟?
[if !supportLists]A.?[endif]Response
[if !supportLists]B.?[endif]Request
[if !supportLists]C.?[endif]Cookie
[if !supportLists]D.?[endif]Session
?第154題 【單選題】【0.50分】【結(jié)果判斷】
下列屬于全局應(yīng)用程序類文件的是()永票。
[if !supportLists]A.?[endif]Global.asax
[if !supportLists]B.?[endif]Web.config
[if !supportLists]C.?[endif]Styles.css
[if !supportLists]D.?[endif]AssemblyInfo.cs
?第155題 【單選題】【0.50分】【概念理解】
在C#中,下列使用鍵值對存儲(chǔ)數(shù)據(jù)的是( )。
[if !supportLists]A.?[endif]ArrayList
[if !supportLists]B.?[endif]Array
[if !supportLists]C.?[endif]字符型數(shù)組
[if !supportLists]D.?[endif]HashTable
?第156題 【單選題】【0.50分】【結(jié)果判斷】
設(shè)頁面中有一個(gè)ID為:txtName的文本框控件侣集,如果在頁面按鈕的點(diǎn)擊事件中編寫以下代碼: Response.Redirect("~/List.aspx?name="+txtName.Text); 則在List.aspx頁面中使用以下哪行代碼可以獲取到文本框填寫的數(shù)據(jù)键俱?
[if !supportLists]A.?[endif]Request.QueryString["txtName"]
[if !supportLists]B.?[endif]Request.QueryString["name"]
[if !supportLists]C.?[endif]Request.Form["txtName"]
[if !supportLists]D.?[endif]Request.Form["name"]
?第157題 【單選題】【0.50分】【結(jié)果判斷】
查詢student表中的所有非空email信息, 下列語句正確的是()。
[if !supportLists]A.?[endif]Select email from student where email !=null
[if !supportLists]B.?[endif]Select email from student where email not is null
[if !supportLists]C.?[endif]Select email from student where email <> null
[if !supportLists]D.?[endif]Select email from student where email is not null
?第158題 【單選題】【0.50分】【概念理解】
在css中世分,下列()不是定位頁面元素的方式编振。
[if !supportLists]A.?[endif]static
[if !supportLists]B.?[endif]absolute?
[if !supportLists]C.?[endif]top
[if !supportLists]D.?[endif]fixed
?第159題 【單選題】【0.50分】【概念理解】
在ASP.NET的web.config文件中,用于網(wǎng)站與數(shù)據(jù)庫連接的配置節(jié)是()臭埋。
[if !supportLists]A.?[endif]<configSections/> ?
[if !supportLists]B.?[endif]<connectionString/>
[if !supportLists]C.?[endif]<connectionStrings/>
[if !supportLists]D.?[endif]<appSettings/>
?第160題 【單選題】【0.50分】【概念理解】
三層架構(gòu)中的數(shù)據(jù)訪問層描述踪央,正確的是()。
[if !supportLists]A.?[endif]數(shù)據(jù)訪問層就是對數(shù)據(jù)庫的數(shù)據(jù)進(jìn)行查詢
[if !supportLists]B.?[endif]表現(xiàn)層可以直接依賴數(shù)據(jù)訪問層
[if !supportLists]C.?[endif]數(shù)據(jù)訪問層依賴于業(yè)務(wù)邏輯層
[if !supportLists]D.?[endif]數(shù)據(jù)訪問層可以訪問各種類型的數(shù)據(jù)源瓢阴,不僅僅是SQL SERVER 數(shù)據(jù)庫
?第161題 【單選題】【0.50分】【概念理解】
以下不是驗(yàn)證控件的是畅蹂?
[if !supportLists]A.?[endif]RequiredFieldValidator
[if !supportLists]B.?[endif]Repeater
[if !supportLists]C.?[endif]Comparevalidator
[if !supportLists]D.?[endif]RangeValidator
?第162題 【單選題】【0.50分】【結(jié)果判斷】
分析下述JavaScript代碼,經(jīng)過運(yùn)算后a的值為()荣恐。 var x= "12"; var y=34; var a=x+y;
[if !supportLists]A.?[endif]1234
[if !supportLists]B.?[endif]46
[if !supportLists]C.?[endif]34
[if !supportLists]D.?[endif]程序報(bào)錯(cuò)
?第163題 【單選題】【0.50分】【概念理解】
WebGrid顯示中文標(biāo)題名液斜,需要調(diào)用的方法是?
[if !supportLists]A.?[endif]Title()
[if !supportLists]B.?[endif]Header()
[if !supportLists]C.?[endif]Column()
[if !supportLists]D.?[endif]Row()
?第164題 【單選題】【0.50分】【概念理解】
以下常用軟件中叠穆,哪些是B/S模式少漆?
[if !supportLists]A.?[endif]騰訊QQ
[if !supportLists]B.?[endif]微信
[if !supportLists]C.?[endif]淘寶網(wǎng)
[if !supportLists]D.?[endif]英雄聯(lián)盟游戲
?第165題 【單選題】【0.50分】【特性分析】
在ASP.NET中,下列關(guān)于Session對象說法正確的是( )硼被。
[if !supportLists]A.?[endif]每次打開一個(gè)Web頁面會(huì)創(chuàng)建一個(gè)Session對象
[if !supportLists]B.?[endif]用戶關(guān)閉客戶端Web頁面后示损,Session對象會(huì)立即消失
[if !supportLists]C.?[endif]應(yīng)用程序關(guān)閉以后,Session對象才消失
[if !supportLists]D.?[endif]每個(gè)Session對象相互獨(dú)立祷嘶,不能相互訪問
?第166題 【單選題】【0.50分】【特性分析】
ASP.NET中包含多種維護(hù)狀態(tài)的技術(shù),下列選項(xiàng)將信息保存在客戶端的是()
[if !supportLists]A.?[endif]ViewState
[if !supportLists]B.?[endif]Session
[if !supportLists]C.?[endif]Application
[if !supportLists]D.?[endif]Cookie
?第167題 【單選題】【0.50分】【特性分析】
下列選項(xiàng)中屎媳,可以設(shè)置頁面中某個(gè)DIV標(biāo)簽相對于頁面水平居中的CSS樣式是()。
[if !supportLists]A.?[endif]padding:0px auto
[if !supportLists]B.?[endif]text-align:center
[if !supportLists]C.?[endif]vertical-align:middle
[if !supportLists]D.?[endif]margin:0px auto
?第168題 【單選題】【0.50分】【概念理解】
下列Math對象哪個(gè)函數(shù)可以實(shí)現(xiàn)將小數(shù)四舍五入為最接近的整數(shù)功能()论巍。
[if !supportLists]A.?[endif]ceil()
[if !supportLists]B.?[endif]round()
[if !supportLists]C.?[endif]random()
[if !supportLists]D.?[endif]floor()
?第169題 【單選題】【0.50分】【概念理解】
下列jQuery函數(shù)不能執(zhí)行動(dòng)畫效果的是()烛谊。
[if !supportLists]A.?[endif]animate
[if !supportLists]B.?[endif]slidedown
[if !supportLists]C.?[endif]show
[if !supportLists]D.?[endif]append
?第170題 【單選題】【0.50分】【概念理解】
以下對動(dòng)態(tài)網(wǎng)頁理解錯(cuò)誤的是?
[if !supportLists]A.?[endif]帶有動(dòng)畫效果
[if !supportLists]B.?[endif]具有交互性
[if !supportLists]C.?[endif]內(nèi)容可以自動(dòng)更新
[if !supportLists]D.?[endif]內(nèi)容會(huì)根據(jù)訪問的時(shí)間和訪問者而改變
?第171題 【單選題】【0.50分】【結(jié)果判斷】
下列屬于全局應(yīng)用程序類文件的是()嘉汰。
[if !supportLists]A.?[endif]Global.asax
[if !supportLists]B.?[endif]Web.config
[if !supportLists]C.?[endif]Styles.css
[if !supportLists]D.?[endif]AssemblyInfo.cs
?第172題 【單選題】【0.50分】【概念理解】
如果要驗(yàn)證用戶名的合法性(至少6位丹禀,包含英文字母和數(shù)字),一般情況下使用的驗(yàn)證控件是鞋怀?
[if !supportLists]A.?[endif]RangeValidator
[if !supportLists]B.?[endif]RegularExpressionValidator
[if !supportLists]C.?[endif]RequireFieldValidator
[if !supportLists]D.?[endif]CompareValidator
?第173題 【單選題】【0.50分】【概念理解】
在成績表grade中双泪,字段score代表分?jǐn)?shù),下列()語句可以返回成績表中的最低分密似。
[if !supportLists]A.?[endif]select max(score) from grade
[if !supportLists]B.?[endif]select avg(score) from grade
[if !supportLists]C.?[endif]select min(score) from grade
[if !supportLists]D.?[endif]select group(score) from grade
?第174題 【單選題】【0.50分】【特性分析】
一個(gè)DataSet中可以包含( )DataTable焙矛。
[if !supportLists]A.?[endif]1個(gè)
[if !supportLists]B.?[endif]2個(gè)
[if !supportLists]C.?[endif]3個(gè)
[if !supportLists]D.?[endif]多個(gè)
?第175題 【單選題】【0.50分】【結(jié)果判斷】
ASP.NET代碼“Response.Write(Server.HtmlEncode(“<H1>HtmlEncode 樣例</H1>”))”的輸出結(jié)果是( )。
[if !supportLists]A.?[endif]在窗口打印樣式為H1的“HtmlEncode樣例”字體
[if !supportLists]B.?[endif]在窗口打印“
HtmlEncode樣例
”[if !supportLists]C.?[endif]在窗口打印“H1HtmlEncode樣例H1”
[if !supportLists]D.?[endif]出現(xiàn)錯(cuò)誤信息残腌,說明嵌入的串中包含非法字符
?第176題 【多選題】【0.50分】【結(jié)果判斷】
在ASP.NET中村斟,為了在當(dāng)前頁面獲得其他頁面從地址欄中傳遞過來的參數(shù)ExamLevel的值贫导,以下方法正確的有( )◇№铮【選兩項(xiàng)】 http://localhost:55212/WebForm1.aspx?ExamLevel=10
[if !supportLists]A.?[endif]Request.QueryString[“ExamLevel”];
[if !supportLists]B.?[endif]Request.QueryString[1];
[if !supportLists]C.?[endif]Request.Form["ExamLevel"];
[if !supportLists]D.?[endif]Request[“ExamLevel”];
?第177題 【多選題】【0.50分】【概念理解】
在ASP.NET中孩灯,下列關(guān)于Session對象的說法,不正確的是逾滥?
[if !supportLists]A.?[endif]每次打開一個(gè)Web頁面會(huì)創(chuàng)建一個(gè)Session對象
[if !supportLists]B.?[endif]用戶關(guān)閉客戶端Web頁面后峰档,Session對象會(huì)立即消失
[if !supportLists]C.?[endif]應(yīng)用程序退出以后,Session對象才會(huì)消失
[if !supportLists]D.?[endif]每個(gè)用戶的Session對象不能被其他用戶訪問
?第178題 【多選題】【0.50分】【概念理解】
關(guān)于母版頁的描述正確的是寨昙?
[if !supportLists]A.?[endif]母版頁是一種“特殊”頁面讥巡,可以使用html標(biāo)簽、腳本毅待、控件等進(jìn)行編程
[if !supportLists]B.?[endif]母版頁不能直接訪問
[if !supportLists]C.?[endif]母版頁文件的后綴是.master
[if !supportLists]D.?[endif]母版頁需要至少包含一個(gè)ContentPlaceHolder控件
?第179題 【多選題】【0.50分】【特性分析】
下列系統(tǒng)對象不會(huì)針對每一次頁面請求都創(chuàng)建一個(gè)實(shí)例的是()尚卫。
[if !supportLists]A.?[endif]Response對象
[if !supportLists]B.?[endif]Request對象
[if !supportLists]C.?[endif]Session對象
[if !supportLists]D.?[endif]Application對象
?第180題 【多選題】【0.50分】【概念理解】
對POST請求描述正確的是归榕?
[if !supportLists]A.?[endif]GET請求方式可以傳送二進(jìn)制數(shù)據(jù)如音頻尸红、視頻等文件
[if !supportLists]B.?[endif]POST請求方式僅能傳送文本給服務(wù)器
[if !supportLists]C.?[endif]GET請求方式提交的數(shù)據(jù)會(huì)暴露在地址欄,不安全
[if !supportLists]D.?[endif]POST請求方式提交的數(shù)據(jù)則不會(huì)暴露在地址欄刹泄,安全性高
?第181題 【多選題】【0.50分】【概念理解】
對于DropDownList控件外里,除了設(shè)置DataSource屬性和調(diào)用DataBind方法,還需要設(shè)置哪些屬性特石?
[if !supportLists]A.?[endif]AutoPostBack
[if !supportLists]B.?[endif]DataTextField
[if !supportLists]C.?[endif]DataValueField
[if !supportLists]D.?[endif]Items
?第182題 【多選題】【0.50分】【概念理解】
在ASP.NET中盅蝗,下列關(guān)于Application對象的說法,不正確的是姆蘸?
[if !supportLists]A.?[endif]每次打開一個(gè)Web頁面會(huì)創(chuàng)建一個(gè)Application對象
[if !supportLists]B.?[endif]用戶關(guān)閉客戶端Web頁面后墩莫,Application對象會(huì)立即消失
[if !supportLists]C.?[endif]應(yīng)用程序退出以后,Application對象才會(huì)消失
[if !supportLists]D.?[endif]Application對象不能被其他用戶訪問
?第183題 【多選題】【0.50分】【概念理解】
在三層的引用關(guān)系中逞敷,正確的是狂秦?
[if !supportLists]A.?[endif]表現(xiàn)層引用業(yè)務(wù)邏輯層和數(shù)據(jù)訪問層
[if !supportLists]B.?[endif]業(yè)務(wù)邏輯層引用數(shù)據(jù)訪問層
[if !supportLists]C.?[endif]數(shù)據(jù)訪問層引用模型層
[if !supportLists]D.?[endif]表現(xiàn)層和業(yè)務(wù)邏輯層引用模型層
?第184題 【多選題】【0.50分】【概念理解】
CompareValidator控件執(zhí)行數(shù)據(jù)為日期類型檢查的步驟包括?
[if !supportLists]A.?[endif]設(shè)置ValueToCompare和ControlToCompare的值
[if !supportLists]B.?[endif]設(shè)置Type類型為Date
[if !supportLists]C.?[endif]設(shè)置Operator的值為Equal
[if !supportLists]D.?[endif]設(shè)置Operator的值為DataTypeCheck
?第185題 【多選題】【0.50分】【概念理解】
下面關(guān)于Server對象的方法說法錯(cuò)誤的是()[選兩項(xiàng)]
[if !supportLists]A.?[endif]通過UrlEncode()方法可以解碼字符串推捐,使其符合URL地址的格式的要求
[if !supportLists]B.?[endif]通過HtmlEncode()方法可以解碼字符串裂问,使其在瀏覽器中的顯示與原字符串一致
[if !supportLists]C.?[endif]可以通過MapPath()方法返回與Web服務(wù)器上實(shí)際路徑對應(yīng)的物理文件路徑
[if !supportLists]D.?[endif]可以用Transfer()方法終止當(dāng)前頁的執(zhí)行,并在當(dāng)前請求中執(zhí)行其他頁
?第186題 【多選題】【0.50分】【概念理解】
以下那些說法是正確的()牛柒。
[if !supportLists]A.?[endif]Server對象的Transfer方法會(huì)改變地址欄的地址
[if !supportLists]B.?[endif]Response對象的Redirect 方法會(huì)改變地址欄的地址
[if !supportLists]C.?[endif]Response對象的Redirect方法執(zhí)行的結(jié)果是轉(zhuǎn)向后的頁面
[if !supportLists]D.?[endif]Server 對象的Execute方法執(zhí)行的結(jié)果是由轉(zhuǎn)向前的頁面和轉(zhuǎn)向后的頁面的合并而成
?第187題 【多選題】【0.50分】【概念理解】
以下對B/S模式描述正確的是堪簿?
[if !supportLists]A.?[endif]客戶端需要安裝專用的客戶端軟件
[if !supportLists]B.?[endif]客戶端統(tǒng)一采用瀏覽器
[if !supportLists]C.?[endif]充分利用兩端硬件環(huán)境的優(yōu)勢
[if !supportLists]D.?[endif]由Web服務(wù)端處理客戶端請求,并將處理結(jié)果逐級傳向客戶端瀏覽器
?第188題 【多選題】【0.50分】【特性分析】
關(guān)于GridView控件皮壁,下列說法正確的有()椭更。
[if !supportLists]A.?[endif]Columns屬性用于獲取GridView控件中列字段的集合
[if !supportLists]B.?[endif]AllowSorting屬性用于啟用排序功能
[if !supportLists]C.?[endif]每列表示一個(gè)字段,而每行表示一條記錄
[if !supportLists]D.?[endif]PageSize用于設(shè)置每次顯示的最大記錄條數(shù)
?第189題 【多選題】【0.50分】【概念理解】
三層架構(gòu)包括蛾魄?
[if !supportLists]A.?[endif]表現(xiàn)層
[if !supportLists]B.?[endif]業(yè)務(wù)邏輯層
[if !supportLists]C.?[endif]數(shù)據(jù)訪問層
[if !supportLists]D.?[endif]模型層
?第190題 【多選題】【0.50分】【結(jié)果判斷】
在HTML文檔中包含如下超鏈接: 返回 下列選項(xiàng)中虑瀑,對此鏈接描述正確的有( )协饲。
[if !supportLists]A.?[endif]當(dāng)鼠標(biāo)移入此鏈接時(shí),超鏈接文本顏色變?yōu)榧t色
[if !supportLists]B.?[endif]當(dāng)鼠標(biāo)移入此鏈接時(shí)缴川,超鏈接文本顏色變?yōu)樗{(lán)色
[if !supportLists]C.?[endif]當(dāng)鼠標(biāo)移出此鏈接時(shí)茉稠,超鏈接文本顏色變?yōu)榧t色
[if !supportLists]D.?[endif]當(dāng)鼠標(biāo)移出此鏈接時(shí),超鏈接文本顏色變?yōu)樗{(lán)色
?第191題 【多選題】【0.50分】【概念理解】
對于DropDownList控件把夸,除了設(shè)置DataSource屬性和調(diào)用DataBind方法而线,還需要設(shè)置哪些屬性?
[if !supportLists]A.?[endif]AutoPostBack
[if !supportLists]B.?[endif]DataTextField
[if !supportLists]C.?[endif]DataValueField
[if !supportLists]D.?[endif]Items
?第192題 【多選題】【0.50分】【概念理解】
在ASP.NET中的TreeView控件恋日,可使用()作為其數(shù)據(jù)源膀篮。
[if !supportLists]A.?[endif]XML文件
[if !supportLists]B.?[endif]站點(diǎn)地圖文件
[if !supportLists]C.?[endif]DataTable
[if !supportLists]D.?[endif]DataSet
?第193題 【多選題】【0.50分】【特性分析】
下列系統(tǒng)對象不會(huì)針對每一次頁面請求都創(chuàng)建一個(gè)實(shí)例的是()。
[if !supportLists]A.?[endif]Response對象
[if !supportLists]B.?[endif]Request對象
[if !supportLists]C.?[endif]Session對象
[if !supportLists]D.?[endif]Application對象
?第194題 【多選題】【0.50分】【結(jié)果判斷】
在ASP.NET中岂膳,為了在當(dāng)前頁面獲得其他頁面從地址欄中傳遞過來的參數(shù)ExamLevel的值誓竿,以下方法正確的有( )√附兀【選兩項(xiàng)】 http://localhost:55212/WebForm1.aspx?ExamLevel=10
[if !supportLists]A.?[endif]Request.QueryString[“ExamLevel”];
[if !supportLists]B.?[endif]Request.QueryString[1];
[if !supportLists]C.?[endif]Request.Form["ExamLevel"];
[if !supportLists]D.?[endif]Request[“ExamLevel”];
?第195題 【多選題】【0.50分】【概念理解】
ASP.NET支持哪幾種開發(fā)模式筷屡?
[if !supportLists]A.?[endif]Web Pages
[if !supportLists]B.?[endif]MVC
[if !supportLists]C.?[endif]Web Forms
[if !supportLists]D.?[endif]Win Forms
?第196題 【多選題】【0.50分】【特性分析】
在開發(fā)C#程序過程中,會(huì)大量地使用類和對象簸喂,其中使用方法正確的有( )毙死。
[if !supportLists]A.?[endif]先創(chuàng)建類再創(chuàng)建對象
[if !supportLists]B.?[endif]先創(chuàng)建對象再創(chuàng)建類
[if !supportLists]C.?[endif]通過類調(diào)用字段和方法(字段和方法都是非靜態(tài)的)
[if !supportLists]D.?[endif]通過對象調(diào)用字段和方法(字段和方法都是非靜態(tài)的)
?第197題 【多選題】【0.50分】【概念理解】
WebGrid分頁相關(guān)的屬性有哪些?
[if !supportLists]A.?[endif]allowPaging
[if !supportLists]B.?[endif]rowsPerPage
[if !supportLists]C.?[endif]canPage
[if !supportLists]D.?[endif]pageFieldName
?第198題 【多選題】【0.50分】【概念理解】
以下系統(tǒng)對象不會(huì)每次頁面請求都會(huì)創(chuàng)建實(shí)例的有()
[if !supportLists]A.?[endif]Application
[if !supportLists]B.?[endif]Response
[if !supportLists]C.?[endif]Request
[if !supportLists]D.?[endif]Session
?第199題 【多選題】【0.50分】【概念理解】
關(guān)于Cookie描述喻鳄,正確的是扼倘?
[if !supportLists]A.?[endif]Cookie數(shù)據(jù)存儲(chǔ)在服務(wù)器上
[if !supportLists]B.?[endif]Cookie數(shù)據(jù)存儲(chǔ)在客戶機(jī)上
[if !supportLists]C.?[endif]Cookie數(shù)據(jù)安全性較高
[if !supportLists]D.?[endif]Cookie可以設(shè)置過期時(shí)間
?第200題 【多選題】【0.50分】【概念理解】
Chart的常見方法有哪些?
[if !supportLists]A.?[endif]AddTitle()
[if !supportLists]B.?[endif]AddSeries()
[if !supportLists]C.?[endif]DataBindTable()
[if !supportLists]D.?[endif]Write()