freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

微軟認(rèn)證考試資料全(已修改)

2025-04-06 23:57 本頁面
 

【正文】 .. .. .. .. question 1You work as the application developer at . uses Visual 2005 as its application development platform.。You are developing a .Net Framework application used to store a typesafe list of names and addresses. Framework ,用來存儲一個包含了姓名和電子郵件的類型安全的列表(清單)。The list will be populated all at once from the sorted data which means you well not always need to perform insertion or deletion operations on thd data.這個列表會被完全的填充從排序的數(shù)據(jù),這就意味著你不需要經(jīng)常對這些數(shù)據(jù)完成插入或刪除操作。You are required to choose a data structure that optimizes(優(yōu)化) memory use and has good performance.請你選擇一個數(shù)據(jù)結(jié)構(gòu),以便優(yōu)化內(nèi)存使用,具有良好的性能。What should you do?該如何做?A、 The class should be usedB、 The class should be usedC、 The class should be usedD、 The class should be used點評:SortedList 表示鍵/值對的集合,這些鍵值對按鍵排序并可按照鍵和索引訪問。HashTable 表示鍵/值對的集合,這些鍵值對根據(jù)鍵的哈希代碼進(jìn)行組織。C 該類不存在D 非類型安全的,沒有引人泛型。 Question 2You work as an application developer at . You have recently created an application that include the code shown below.。最近你創(chuàng)建了一個應(yīng)用程序,包含如下的代碼:public delegate string GetFileContentsDel()。public string GetFileContens(){ //Process file and return results}You now need to invoke the GetFileContents method asynchronously(異步).You have to ensure that the code you use to invoke the GetFileContents method will continue to process other user instructions,and displays the results as soon as the GetFileContents method finishes processing. What should you do?現(xiàn)在你需要異步調(diào)用GetFileContents方法。必須確保你的代碼在調(diào)用GetFileContents方法的同時將繼續(xù)處理其他用戶的指令,并在GetFileContents方法完成處理后顯示結(jié)果。你應(yīng)該怎么做?A、 Use the following code://創(chuàng)建委托對象并且實例化GetFileContentsDel delAsync=new GetFileContentsDel(GetFileContents)。IAsyncResult result=(null,null)。while(!){ //Process other user instructions}string strFile=(result)。B、 Use the following code:GetFileContentsDel delAsync=new GetFileContentsDel(GetFileContents)。string strFile=()。 //直接調(diào)用C、 Use the following code:string strFile=()。//語法錯誤D、 Use the following code:GetFileContentsDel delAsync=new GetFileContentsDel(GetFileContents)。IAsyncResult result=(null,null)。//Process other user instructionsstring strFile=(result)。 點評:IAsyncResult 包含異步操作的方法的類實現(xiàn)。對于只有同步方法的對象,只需要定義一個委托,并使用其BeginInvoke和EndInvoke方法就可以了。 B、直接調(diào)用 C、語法錯誤 D、與題意不符合,沒有狀態(tài)判斷 Question 3You work as the application developer at . You have created a new service application named must still be deployed into the network. A network administrator named Rosanne Keith has already created a user ccount for App01. You must configure App01 to run in the context of this new user should you do next?。在新的用戶帳號下要運(yùn)行App01,你必須做一些相應(yīng)的配置。下一步應(yīng)該做什么?A、 Before Deploying App01,specify the startType property of the ServiceInstaller class.B、 Before delploying App01,specify the Account,Username,and Password properties of the ServiceProcessInstaller class.在部署App01之前,指定賬戶,用戶名和密碼的ServiceProcessInstaller類的屬性。C、 Install the service by using the CONFIG option of the mandline tool.D、 Install the service by using the mandline tool.點評: Question 4You pass a valuetype variable into a procedure as an procedure changes the variable。however,when the procedure returns,the variable has not happened?(Choose one.)你在一個方法中傳入了一個值類型的變量做參數(shù)。方法里改變了這個變量;而當(dāng)方法返回時,變量的值并沒有被改變。這是為什么?(選擇一項)A、 The variable was not initialized before it was passed in.該變量在傳入的時候沒有被初始化B、 Passing a value type into a procedure creates a copy of the data.向方法里傳入值類型的變量,實際上是傳入了一個數(shù)據(jù)的副本。C、 The variable was redeclared within the procedure level.在方法體中重新申明了這個變量。D、 The procedure handled the variable as a reference. 方法按引用處理了該變量點評:考察了數(shù)據(jù)傳參的方式:按值傳參和按引用傳參。 Question 5You work as the application developer at . You are working on a new application named App01. App01 is configured to perform a series of mathematical calculations.。正在開發(fā)一款新的應(yīng)用程序,名字叫App01;App01配置為執(zhí)行一系列的數(shù)學(xué)計算。You create a class named AppClass and create a procedure named AppSP. AppSP must execute on an instance of the class.你創(chuàng)建了一個AppClass的類和一個AppSP的方法。該方法必須作為該類的實例運(yùn)行。You must configure the application’s user interface(UI) so that it continues to respond for the duration that calculations are must write the code segment for calling the AppSP procedure which will acplish your the code segment which you should use.你必須配置應(yīng)用程序的用戶界面,以便它在進(jìn)行計算期間能夠繼續(xù)做出響應(yīng)。你必須編寫用于調(diào)用AppSP程序的代碼,以實現(xiàn)上述目標(biāo)。選擇下面的那段代碼可以使用。A、 private void AppSP(){….}private void DoWork(){ AppClass myValues=new AppClass()。 Thread newThread=new Thread(new ThreadStart(AppSP))。 (myValues)。}B、 private void AppSP(){…}private void DoWork(){AppClass myValues=new AppClass()。ThreadStart delStart=new ThreadStart(AppSP)。Thread newThread=new Thread(delStart)。if(){ new (myValues)。}}C、 private void AppSP(AppClass values){…..}private void DoWork(){AppClass myValues=new AppClass()。()。AppSP(myValues)。()。}D、 private void AppSP(object values){….}private void DoWork(){ AppClass myValues=new AppClass()。 Thread newThread=new Thread(new ParameterizedThreadStart(AppSP))。}點評:引入線程 ThreadStart 該委托不能帶參數(shù) ParameterizedThreadStart 該委托可以帶參數(shù) question 6You work as the application developer at . uses Visual as its application development platform. 。You are developing a .NET Framework financial application and are busy developing a module that backs up the critical data on a separate hard drive. ,并忙于開發(fā)一個模塊,備份關(guān)鍵數(shù)據(jù)到一個獨(dú)立的硬盤驅(qū)動器(硬盤)You are required to decide which properties of the DriveInfo class to use and find the type of file system like FAT or NTFS and the drive free space and the user disk quota(配額/指標(biāo)) should be ignored by the application.你必須決定DriverInfo類使用的參數(shù),找到像FAT或者NTFS類型的文件系統(tǒng)和磁盤的可以空間,并使應(yīng)用程序忽略用戶磁盤的配額。What should you do?該如何做?A、 Use the DriveFormat and TotalFreeSpace properties of the DriveInfo class.B、 Use the DriveType and AvailableFreeSpace prop
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號-1