微軟認證是國際IT認證體系中最熱門的認證之一。微軟認證主要證照方向是面對系統管理的認證。微軟認證系分為兩大體系,一種是舊的認證體系,MCP, MCSA,MCSE。一種是目前使用的新版微軟認證體系:MCTS, MCITP, MCA,這些是最基本的微軟認證。70-528(C#)就屬于其中的微軟證照科目。考任意一門70-6××或是70-4××科目就可以獲得新版MCTS證照。
最新Microsoft 70-528(C#)考試題庫,包含72道真題,Microsoft 70-528(C#) Exam 全稱:MS.NET Framework 2.0-Web-based Client Development,KillTest考古題網(www.killtest.net) 于2009年10月26日對微軟70-528(c#)進行了最新的更新。關于70-528最新證照考題,KillTest考古題網提供了Microsoft 70-528(c#) DEMO免費下載,部分考題(DEMO)是以PDF的形式出現:Microsoft 70-528(C#)部分考題(Demo)PDF免費下載
Microsoft 70-528(C#)考試部分測試題如下,摘自KillTest考古題網站:
1. Your Web site uses custom Themes. Your Web site must support additional Themes based on the
user’s company name.
The company name is set when a user logs on to the Web site. The company’s Theme name is stored in
a variable named ThemeName.
You need to use this variable to dynamically set the Web site’s Theme.
What should you do?
A. Add the following code segment to the markup source of each page on the Web site.
<%@ Page Theme=”ThemeName” … %>
B. Add the following code segment to the Load event of each page on the Web site.
Page.Theme = ThemeName;
C. Add the following code segment to the PreInit event of each page on the Web site.
Page.Theme = ThemeName;
D. Add the following code segment to the Web site’s configuration file.
<pages theme=”ThemeName” />
Answer: C
2. You write a Web application. This application must support multiple languages. You store the localized
strings in the application as resources. You want these resources to be accessed according to a user ¯ s
language preference. You create the following resource files in the App_GlobalResources folder of your
application.
myStrings.resx
myStrings.en-CA.resx
myString.en-US.resx
myStrings.fr-CA.resx
myStrings.es-MX.resx
Each resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone.
You create a Web Form that contains one label for each of these strings.
You need to ensure that the correct localized version of each string is displayed in each label, according
to a user ¯ s l anguage pr ef er ence.
What should you do?
The safer , easier way to help you pass any IT exams.
3 / 9
A. Add the following configuration section to the Web.config file.
<globalization culture=”Auto” />
B. Set the directive for each page in your site as follows:
<%@ Page UICulture=”Auto” %
C. Add the following code segment to the page ¯ s l oad event
lblName.Text = @”{myStrings}Name”;
lblAddress.Text = @”{myStrings}Address”;
lblEmail.Text = @”{myStrings}Email”;
lblPhone.Text = @”{myStrings}Phone”;
D. Add the following code segment to the page ¯ s l oad event
lblName.Text = Resources.myStrings.Name;
lblAddress.Text = Resources.myStrings.Address;
lblEmail.Text = Resources.myStrings.Email;
lblPhone.Text = Resources.myStrings.Phone;
Answer: D
3. You create a Web Form. The Web Form displays sales information as a chart. The chart must be
rendered to the user ¯ s br owser as a .j peg fil e. The chart i s r etri eved by usi g the following code segment.
Bitmap chart = Chart.GetCurrentSales();
You need to display the chart to the user.
Which code segment should you use?
A. Response.ContentType = “image/jpeg”;
chart.Save(Request.InputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
chart.Dispose();
B. Response.ContentType = “image/bitmap”;
chart.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Bmp);
chart.Dispose();
C. Response.ContentType = “text/html”;
chart.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.MemoryBmp);
chart.Dispose();
The safer , easier way to help you pass any IT exams.
4 / 9
D. Response.ContentType = “image/jpeg”;
chart.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
chart.Dispose();
Answer: D