Académique Documents
Professionnel Documents
Culture Documents
1, Web Farm
2, Content
3, Web Form
4, Nested Master 2
2 Using which of the following can you maintain the state data of your web server control, even when the ViewState
property is disabled for the page?
1, ControlState data
2, Session.Start
3, Application.Start
4, StateServer Mode 1
3 Which of the following data-bound controls displays one or more records from a data source, one record at a time?
1, GridView Control
2, TreeView Control
3, DetailsView Control
4, DataList Control 3
4 Which of the following controls features hierarchical data-binding and may be bound to an XmlDataSource or a
SiteMapDataSource?
1, DropDownList Control m
2, Menu Control m
3, DataList Control m
4, GridView Control m 2
5 Which of the following classes provides methods for creating, deleting, and updating user accounts, authenticating users,
and managing passwords?
1, Members Class m
2, Membership Class m
3, Member Class m
4, FormsAuthentication Class m 2
6 Which of the following data-bound controls displays multiple records, typically in a table and does not provide a
predetermined layout for the data.
1, Menu Control m
2, DataList Control m
3, GridView Control m
4, DetailsView Control m 2
7 Which of the following uses a separate resource file for each culture? m
1, Globalization m
2, Implicit Localization m
3, Explicit Localization m
4, Localization m 2
8 The public methods and properties of a master page can be accessed in a content page by assigning a class name to the
master page. Which directive can be used to assign a class name to the master page? M
1, <%@ Master %> m
2, <%@ Page %> m
3, <%@ MasterType %> m
4, <%@ Control %> m 1
1.They have a user interface that is composed of several custom Web server controls.
2, They derive from the System.Web.UI.WebControls.CompositeControls class.
3, They create the child controls by overriding the CreateChildControls method.
4, They are compiled into an assembly in the Bin folder before you deploy the application. 1
10 Repeater, DataList, and GridView Web server controls are examples of which type of controls?
1, User Controls m
2, Custom Web server controls m
3, Template controls m
4, Navigation controls m 3
11 Which of the following can be used to configure the way encryption is used to protect forms authentication cookies and
view state information in a Web form?
1, <trace>
2, <machine Key>
3, <custom Errors>
4, <script> m 2
12 To use the objects of GDI+, an object of the Graphics class must be created. Which of the following methods of the
Graphics class is used to free all the resources being used by the currently loaded graphic? M
1, Flush m
2, Dispose m
3, Clear m
4, Kill m 2
13 The Alternate View class can be used to embed an attachment to an E-mail message. Which of the following enables the
Alternate View class to embed images in a message? M
1, Attachment m
2, Base Uri m
3, Content Link m
4, Linked Resources m 4
14 There are different ways of specifying security permissions in your code. Which of the following uses code attributes to
specify the permissions that are required to execute an assembly? M
1, Imperative syntax m
2, caspol.exe m
3, Declarative syntax m
4, TlbImp.exe m 3
15 Host evidence is the evidence from the application domain or the host in which an assembly executes. Which of the
following is NOT a type of host evidence? M
1, Site m
2, Zone m
3, Subscriber m
4, Hash m 3
16 "Consider the following statements in context of the encryption classes available in .Net Framework 2.0:
Statement A: The Rijndael algorithm in the .Net Framework supports an encryption key from 40 bits to 128 bits in
increments of 8 bits.
Statement B: RC"
1, Statement A is TRUE and statement B is FALSE. M
2, Statement B is TRUE and statement A is FALSE. M
3, Both statements, A and B, are TRUE. M
4, Both statements, A and B, are FALSE. M 4
1, An ASP.NET profile consists of a set of named properties that is stored for each user. M
2, An ASP.NET a profile is a collection of property settings that enable a developer to define the look of pages and controls
and then applies the look consistently across pages. M
3, An ASP.NET profile provides a tracing system that can be used to generate the diagnostic information which can be
written to logs, text file, or the screen. M
4, An ASP.NET profile enables a developer to store objects and data in the server's memory for reuse. m 1
1, An ASP.NET theme consists of a set of named properties that is stored for each user. M
2, An ASP.NET theme is a collection of property settings that enable a developer to define the look of pages and controls
and then applies the look consistently across page
3, An ASP.NET theme provides a tracing system that will used to generate the diagnostic information which can be written
to logs, text file or the screen.
4, An ASP.NET theme enables a developer to store object and data in the server's memory for reuse. m 2
19 After storing the name of the preferred theme for each user in the Preferred Theme property of the user's ASP.NET profile,
which of the following code snippets can be used to set this theme programmatically as each page loads? M
"2, <configuration>
<system.web>
<pages theme = Profile.PreferedTheme />
</system.web>
</configuration> m" "
20 Which of the following can be used to set the "BlueSky" theme for the entire application in the Web.config file? M
"2, <configuration>
<system.web>
<pages theme = "" BlueSky"" />
</system.web>
</configuration> m" "
22 "Consider the following statements in context of the Copy Web Site utility:
Statement A: If the Web site contains source files that do not compile, they will not get copied by the Copy Web Site
utility.
Statement B: If the Copy Web Site utility is used as"
23 While using the Publish Web Site utility, when you choose to prevent editing of the ASPX files at the destination site, the
markup from the ASPX files is removed. What does the utility create instead of the ASPX markup? M
1, .Exe file m
2, DLL assemblies m
3, HTML code m
4, Plain text m 2
24 You can select "Allow this precompiled site to be updateable" option, to be able to bring about changes in the aspx files
after publishing the site. What type of changes can you make to the aspx files on selecting this option? m
25 Visual Studio 2005 includes Device Emulator 1.0. Which of the following is NOT emulated by this software? M
26 Which of the following Mobile controls is used to group child controls and can modify several child controls in a single
operation? M
1, ObjectList m
2, Form m
3, Panel m
4, List m 3
27 In an application you are creating, the icon associated with MS Paint is to be displayed to the users. This is required to
indicate that MS Paint will be opened if the users request to open any image files within the application. Which of the
following code:
28 You are working as a System Administrator with RedSky Inc. You need to set and configure the Security Policies to be
granted to the assemblies being created by the different developers in the organization. Before you carry out this task, you
want to view
1, Assembly class m
2, AssemblyInfo file m
3, Reflection m
4, PropertyInfo class m 2
30 A memory management application developed by you needs to access certain functions provided in kernel32.dll file
located in "C:\windows\system32" directory. How will you locate and call the function included in kernel32.dll from your
application? m
1, Use Delegates. m
2, Use Platform Invoke. m
3, Copy the file in the application folder and reference it in the application.
4, Include the complete path of the file in the application's code. m 2
31 To eliminate the problem of flickering occurring on the screen while rendering graphics, you have decided to implement
double buffering in your code. You need to allocate memory to a specific object for implementing double buffering using
the BufferedGrap
1, Graphics class m
2, BufferredGraphicsManager class m
3,SystemColors class m
4, BufferredGraphics class m 2
32 "Sam wants to configure his ASP.NET application to enable profiles and define a FavColor property to track each user's
favorite color.
Sam also wants to configure the property to track both anonymous users and logged-on users. He has already checked that
" "
1, <system.web>
<properties>
<profile>
<anonymousIdentification enabled= ""true"" />
<add name = ""FavColor"" type= ""System.String"" allowAnonymous= ""true""/>
</profile>
</propertie" "
2, <system.web>
<profile>
<properties>
<anonymousIdentification enabled= ""true"" />
<add name = ""FavColor"" type= ""System.String"" allowAnonymous= ""true""/>
</properties>
</profile>
</system.web> m" "
3, <system.web>
<anonymousIdentification enabled= ""true"" />
<profile>
<properties>
<add name = ""FavColor"" type= ""System.String"" allowAnonymous= ""true""/>
</properties>
</profile>
</system.web> m" "
4, system.web>
<anonymousIdentification enabled= ""true"" />
<properties>
<profile>
<add name = ""FavColor"" type= ""System.String"" allowAnonymous= ""true""/>
</profile>
</properties>
</system.web> m" 3
33 "Sam wants to define his own page theme for his Web application with a name LabelThm. The theme should be defined in
such a way that all Label controls
on the page should appear with the following settings:
Fore color = red
Font size= 14pt
Font name= Verd" "
34 "Sam has created two themes with the names Theme1 and Theme2. Sam wants to implement these themes at run time on
the basis of values of theme variables in the QueryString.
In case value of the theme variable is Thm1, Theme1 should be applied.
In case val" "
case ""Thm2"":
Page.Theme = ""Theme2"";
break;
}
} m" "
case ""Thm2"":
Page.Theme(""Theme2"");
break;
}
} m" "
4, void Page_PreInit(object sender, EventArgs e)
{
switch (Request.QueryString[""theme""])
{
case ""Thm1"":
Page.Theme = ""Theme1"";
break;
case ""Thm2"":
Page.Theme = ""Theme2"";
" 4
35 Sam is developing a Web application. He has already configured his Web site to track a profile property
FavColor. Now he wants to create a page "profile.aspx" to set the value of FavColor profile. In the profile.aspx page, he has
created a Textbox control
36 Sam wants to configure his ASP.NET application to enable profiles. He wants to define a group of two properties,
FirstName and LastName under the group name Person to track each user's name. Sam wants to configure this property to
track only logged-on use "
1, <system.web>
<properties>
<anonymousIdentification enabled=""false""/>
<profile >
<add groupName= ""Person"" name=""FirstName"" type=""System.String"" allowAnonymous=""false"" />
<add groupName = ""Person"" " "
2, <system.web>
<properties>
<anonymousIdentification enabled=""false""/>
<profile >
<group name=""Person"">
<add name=""FirstName"" type=""System.String"" allowAnonymous=""false"" />
" "
3, <system.web>
<anonymousIdentification enabled=""false""/>
<profile >
<properties>
<group name=""Person"">
<add name=""FirstName"" type=""System.String"" allowAnonymous=""false"" />
<add name=""LastName"" type" "
4 , <system.web>
<anonymousIdentification enabled=""false""/>
<profile >
<properties>
<add groupName = ""Person"" name=""FirstName"" type=""System.String"" allowAnonymous=""false"" />
<add groupName= " 3
37 You have created a Web application using ASP.NET. Now you want to test it for compatibility with mobile devices
running Microsoft Pocket PC 2003 SE, by connecting to its Device Emulator using Microsoft ActiveSync. Which of the following
sequence of steps "
1, 1. In Visual Studio, on the Tools menu, click Device Emulator Manager.
2. In the Device Emulator Manager, on the Actions menu, click Cradle.
3. In the Device Emulator Manager, right-click the emulator you want to use and t then click Connect. "
"
38 "Bryan needs to deploy the Web application developed by him. For this he has decided to create a Web Setup project in the
Microsoft Visual Studio
2005 IDE and then add the project output of the Web application to be deployed to the Web Setup project. What" "
1, 1. Using Visual Studio 2005, open the solution containing the Web site to be deployed.
2. On the File menu, point to Add and then click New Project. The Add New Project dialog box appears.
3. In the Templates section of the Add New Project dialog box, " "
2, 1. Using Visual Studio 2005, open the solution containing the Web site to be deployed.
2. On the File menu, point to Add and then click New Project. The Add New Project dialog box appears.
3. Expand the Other Project Types node in the Project types tre" "
3, 1. Using Visual Studio 2005, open the solution containing the Web site to be deployed.
2. On the Tools menu, point to Add and then click New Project. The Add New Project dialog box appears.
3. Expand the Other Project Types node in the Project types tr" "
4, 1. Using Visual Studio 2005, open the solution containing the Web site to be deployed.
2. On the File menu, point to Add and then click New Project. The Add New Project dialog box appears.
3. In the Templates section of the Add New Project dialog box, " 2
39 Bryan needs to deploy the Web application developed by him. For this he has created a Web Setup project in the Microsoft
Visual Studio 2005 IDE. Now he needs to add the project output of the Web application to be deployed to the Web Setup project.
Which o "
1, 1. In Solution Explorer, right-click the new Web Setup project that has been added to the solution.
2. Point to Add on the shortcut menu and then click Project Output. The Add Project Output Group dialog box appears.
3. Ensure that the Web site project" "
2, 1. In Solution Explorer, right-click the new Web Setup project that has been added to the solution.
2. Point to Add on the shortcut menu and then click Project Output. The Add Project Output Group dialog box appears.
3. Click Content Files.
4. Ensure t" "
3, 1. In Solution Explorer, right-click the new Web Setup project that has been added to the solution.
2. Point to Add on the shortcut menu and then click Project Output. The Add Project Output Group dialog box appears.
3. Ensure that Content Files is not" "
4, 1. In Solution Explorer, right-click the new Web Setup project that has been added to the solution.
2. Point to Add on the shortcut menu and then click Project Output. The Add Project Output Group dialog box appears.
3. Ensure that Content Files is not" 2
40 Bryan is a Web developer at RedSky Inc. He has created an intranet application for the employees of RedSky Inc. Now he
needs to distribute the application to the various branches of his organization. The application will be installed on a centrally locate
"
1, 1. In Solution Explorer, right-click the Web Setup project, point to View on the shortcut menu, and then click User
Interface.
2. Right-click the Progress node in the Install section of the tree-view and then click Add Dialog on the shortcut menu. The
"
2, 1. In Solution Explorer, right-click the Web Setup project, point to View on the shortcut menu, and then click User
Interface.
2. Right-click the Start node in the Administrative Install section of the tree-view and then click Add Dialog on the
shortcu" "
3 , 1. In Solution Explorer, right-click the Web Setup project, point to View on the shortcut menu, and then click User
Interface.
2. Right-click the Start node in the Install section of the tree-view and then click Add Dialog on the shortcut menu. The
Add" "
4, 1. In Solution Explorer, right-click the Web Setup project, point to View on the shortcut menu, and then click User
Interface.
2. Right-click the Progress node in the Administrative Install section of the tree-view and then click Add Dialog on the
shor" 3
41 "John needs to test his website's compatibility on different mobile devices. To test his site on the Pocket PC 2003 SE, he
needs to browse a
Web page of his Web Site on the corresponding Emulator. The IP address of the host computer is 172.23.4.227. Which" "
42 John is creating a Web site that allows users to shop online for different products. The site should allow users to select
goods from different categories spanning over different pages on the website. The selected goods are to be added to a shopping cart
1, ControlState m
2, ViewState m
3, Session object m
4, Application object m 3
43 A web application created by Jim in Microsoft Visual Studio 2005 has several forms which connect and store user
information in a single database in the SQL Server 2005. Instead of creating a connection on each form, he has created a connection
string with
2, string dbStr =
ConfigurationManager.ConnectionStrings
[""NewConString""].ConnectionString;
System.Data.SqlClient.SqlConnection sqlConn = new
System.Data.SqlClient.SqlConnection(dbStr);
sqlConn.Open();
m" "
3, string dbStr =
ConfigurationSettings.ConnectionStrings
[""NewConString""].ConnectionString;
System.Data.SqlClient.SqlConnection sqlConn = new
System.Data.SqlClient.SqlConnection(dbStr);
sqlConn.Open();
m" "
4, string dbStr =
ConfigurationSection.ConnectionStrings
[""NewConString""].ConnectionString;
System.Data.SqlClient.SqlConnection sqlConn = new
System.Data.SqlClient.SqlConnection(dbStr);
sqlConn.Open();
m" 2
44 Samantha, a developer with RedSky Inc. has created a Web application which caters to different users based on their
membership types. Samantha wants that access to certain directories on the website should only be given to some particular users and
the re
"1, Samantha should write the following code in Web.config instead of the one already written:
<credentials>
<allow roles=""Samantha""/>
<allow roles=""Bryan""/>
<allow roles=""John""/>
<deny users=""*""/>
</credentials>
m" "
2, Samantha should write the following code in Web.config instead of the one already written:
<authorization>
<allow roles=""Samantha""/>
<allow roles=""Bryan""/>
<allow roles=""John""/>
<deny users=""*""/>
</authorization>
m" "
3, Samantha should write the following code in App.config instead of the one already written in Web.config:
<credentials>
<allow roles=""Samantha""/>
<allow roles=""Bryan""/>
<allow roles=""John""/>
<deny users=""*""/>
</credentials>
m" "
4, Samantha should write the following code in Web.config instead of the one already written:
<authorization>
<allow users=""Samantha""/>
<allow users=""Bryan""/>
<allow users=""John""/>
<deny users=""*""/>
</authorization>
m" 4
45 "John, a software engineer working with NewTech Books has written the following code snippet for adding the username,
password, and country for a new user on the site:
46 John is working as a software developer at BlueMoon Inc., He needs to create a Web page that will enable the users to
provide reviews for various products. To accomplish this task, he has decided to use a FormView control that uses Reviews.cs file as a
bu
1, <ItemTemplate> m
2, <EmptyDataTemplate> m
3, <InsertItemTemplate> m
4, <InsertParameters> m 2
49 To create a Windows service application, you must create a Windows application containing a class that extends the
_________ class. m
1, ServiceInstaller class m
2, ServiceController class m
3, ServiceBase class m
4, ServiceProcessInstaller class m 3
50 Which of the following classes can be used to access the metadata of assemblies during reflection? M
1, Assembly class m
2, FieldInfo class m
3, PropertyInfo class m
4, MethodInfo class m 1
52 While creating a file-system Web site, where can the files be stored other than a folder in the local computer's file system?
M
1, They may be stored in a shared network folder. M
2, They may be stored in a shared local folder. M
3, They may be stored in a shared folder on the remote web server. M
4,They may be stored in a local folder that is not shared. M 1
53 Which of the following files contains the ASP.NET application root settings? M 1, machine.config m
2, web.config m
3, app.config m
4, config.sys m 2
54 Which of the following does ASP.NET use to determine which procedures to call when objects raise events? M
1, Centralized Event Handlers m
2, Event Wire-Ups m
3, Non-Default Event Handlers m
4, Default Event-Handlers m 2
55 Which of the following is a .NET Framework object that is converted by ASP.NET to an HTML element at run time? M
1, HTML Control m
2, Web Farm m
3, WebPart m
4, Web Server Control m 4
56 John works as as software developer in GamingApp Pvt. Ltd. He is assigned a taskt to develop an application that
generates the sales report on a monthly basis in the form of a pic chart and bar diagrams. Which type of performance
library should John use t
1,Graphic Library m
2,Math Library m
3,Image Processing Library m
4,Engineering and Scienc Library m 1
57 John works as a software developer in Quick Solutions Pvt. Ltd. He is required to develop a software that keeps track of th
records of the employees. The application should be capable of storing and retrieving, and editing the photo of the
employees. Which
1,Math Library m
2,Image Processing Library m
3,Graphic Library m
4,Enguneering and Science Library m 2
By observing the preceeding code snippet, identify the correct method that would optimize the preceeding code snippet. M
1, Combining Loops m
2,Remove unwanted parts of Loops m
3,Reduce work inside loops m
4,Use setinel value m 1
59 "Identify the technique that needs to be used to optimize the following code snippet:
Statement A: To collect performance-related data with reference to the time taken for execution, you can use a stopwatch, a timing
function inserted in code, or a performance-analyzing tool to measure the time.
Statement B: After "
1,Statement A is true and Statement B is false. M
2,Statement A is false and Statement B is true. M
3,Both, statements A and B, are true. M
4,Both, statements A and B, are false. m 3
63 Tom Wilkins is working as a software developer at Good Graphics Inc. Tom is analyzing the performance of a C#
application. Tom identifies that a data structure that is too large, is retarding the application performance. What should
Tom Wilkins do to reso
Statement A: For optimizing memory operations, you need to write code that accesses memory sequentially.
Statement B: Accessing memory locations that are located at a distance from each other will require more processor time
and "
1,Statement A is true and Statement B is false. M
2,Statement A is false and Statement B is true. M
3,Both, statements A and B, are true. M
4,Both, statements A and B, are false. m 3
66 Which is the key factor that a developer can optimize to suit different specifications and obtain best performance
on a given hardware? M
1,System resources m
2,Source code m
3,Hardware resources m
4,Processor performance m 2
67 A small code executed independently by the processor that enables a computer to perform several tasks simultaneously is
known as: m
1,Library m
2,Performance library m
3,Module m
4,Thread m 4
68 Why is Application optimization used? Select the best answer. M
1,To make the best use of available resources and as an alternative to upgrading hardware resources. M
2,As an alternative to upgrading hardware resources. M
3,To debug the application and as an alternative to upgrading hardware resources.
4,To obtain error free results and as an alternative to upgrading hardware resources. m 1
69 Which of the following levels of optimization will be used to tune application performance with respect to system level
DLLs and APIs? M
1,Application Level m
2,Computer Architecture Level m
3,System Level m
4,Application Level and Computer Architecture Level m 3
70 "For optimizing the performance of an inventory management system, Jim gathers the performance data for the application
by using the VTune performance Analyzer.
From the options given below, identify the next step he needs to perform to successfully compl"
1,He needs to analyze alternatives before identifying issues that necessitate application enhancement. M
2,He needs to implement enhancements and identify the data that necessitate enhancement before generating
alternatives. M
3,He needs to analyze the gathered data and identify the performance issues before generating alternatives. M
71 Jack develops a payroll application. He implements enhancements for the application and tests the optimized version. He
notices that results that the optimized version computed are correct. However, the optimized version does not reach the
desired level o
1,He needs to analyze the application for system calls and implement enhancements. M
2,He needs to identify alternatives and optimize issues that necessitate application enhancement. M
3,He needs to optimize memory operations, floating point operations, and system calls. M
4,He needs to reiterate through the entire optimization process step-by-step and stop the optimization process when the
desired level of optimization is achieved. m 4
72 Sam has written a code to search for a string from the give list. However, on carefully analysing the code, Sam found that a
lot of ime is wasted in performing an additional task of checking the end of the search string. How should Sam optimize his
code?
1,Use unrolling m
2,Use sentinel value m
3,Reduce work inside loops m
4,Combine loops m 2
73 Sam has developed an application in C# whose performance needs to be analysed using Vtune. Sam wants to use the
tuning assistant feature of Vtune to get some advice for optimizing the application. After invoking the tuning the assistant,
Sam wishes to vie
1,Workload insights m
2,System Info m
3,Hotspot insights m
4,Module insights m 2
74 Henry needs to collect remote sampling data for a remote Java application. He has prepared the target and controlling
systems by installing VTune Performance Analyzer on the controlling system, enabling all three DCOM components on
target system, and spec
1,He needs to install the remote agent configuration required for performing remote sampling on the target system and
enable the remote agent on target system. M
2,He needs to install the Java application on the controlling system and restart the target system. M
3,He needs to install a remote agent on the controlling system as on the target system. M
1, He needs to copy the application to his computer and then optimize the source code. M
2, He needs to analyze the system level performance of the server. M
3, He needs to analyze the performance of the remote application on the remote system using VTune
Performance Analyzer. M
4, He needs to launch the application in interactive mode on his local computer . m 3
76 "In order to analyze the performance of a remote application, Jack installed the VTune Performance Analyzer on the
controlling system and restarted the system. He has performed the following steps:
A. Enabled the remote agent on the target system
B. Enable"
1,Jack did not install the remote application on the controlling system before starting with remote data
collection. M
2,Jack did not specify the address of the controlling system on the target system. M
3,Jack did not check if the configuration of the target system was same as that of the controlling system before
starting with remote data collection. M
4,Jack did not install the DCOM component DbgExeCtrl on the target system before starting with remote data
collection. m 4
77 "Sam needs to launch an application interactively on 100 mobile phones using VTune Performance Analyzer.
Which of the following would enable Sam to launch the application interactively? m"
1, He needs to install the full VTune analyzer product on all the mobile phones and configure each one of them
system to act as the controlling system. m
2, He needs to install the full VTune remote agent on all the mobile phones and configure controlling system by
installing Vtune analyzer on it. M
3, He needs to install the full VTune analyzer product on at least half of the mobile phones and configure these
systems to act as the controlling systems. M
4, He needs to install the full VTune analyzer product on at least half ofthe mobile phones and configure these
systems to act as the target systems. m 2
78 Henry needs to optimize the memory operations and system calls for a web application. This application is a static web
page that accepts and displays information about the products and services of a company. This information is stored in a
database. Which
1,He needs to write code that accesses memory sequentially and built custom routines for accessing operating system
services.
2,He needs to reduce the number of floating-point operations and load data into the memory before executing instructions,
so that the process need not wait for data. m
4,He needs to identify the floating-point operations and build custom routines so that the process need not wait for data. m
1
1,At system level, improve application interaction with the system with respect to DLLs and APIs and at
application level, improve algorithms. M
2,At system level, improve algorithms and at application level, improve application interaction with the system.
M
3,At system level, tune the processor according to the application and at application level, improve algorithms.
M
4,At system level, improve algorithms and at application level, improve application interaction with the
processor. m 1
82 Mike Womack is working as a software developer at SuperGraphics Inc. He needs to use VTune to collect data for a
specific performance counter. In addition, he wants to analyze the performance of the system during runtime to identify
system-related perform
1,Invoke Tuning Assistant for Counter-monitor based advice m
2,Invoke Tuning Assistant for call graph results m
3,Invoke Tuning Assistant for time-based sampling results m
4,Invoke Tuning Assistant for event-based sampling results m 1
Execution time for a program = SUM (Execution time for each instruction).
Use the CPI standard metric to measure processor performance. m""
Execution time for a program = Number of instructions * (Clock cycles per instruction) * (Number of seconds per clock
cycle).
Use the Instructions Retired standard metric to measure processor performance.
Execution time for a program = SUM (Execution time for each instruction).
Use the Instruction Retired standard metric to measure processor performance. m"
Execution time for a program = Number of instructions * (Clock cycles per instruction) * (Number of seconds per clock
cycle).
Use the Percentage of Floating-Point Instructions standard metric to measure processor performance" 3
84 Jim Lewis is working as a software developer at Technology Systems. Jim observes that the chat application developed by
him performs slowly because the processor has to wait for the data to be loaded into the cache. In addition, the capacity of
cache is a
1,Only A m
2,Only B m
3,Both A and B m
4,Both B and C m 1
85 Pat Greene is working as a software developer. He is assigned a task of developing an application that will be used by a
space research organization to launch a satellite. The performance of the application should be the top priority. Pat
develops the app
86 Ken Burton is working as a software developer at SuperGraphics Inc. Ken observes that the performance of the phone book
application is slow due to the time taken during memory reads and writes. In addition, the capacity of the cache is limited
and data ne
1,Only A m
2,Only B m
3,Both A and B m
4,Both B and C m 1
87 "Pat Greene is working as a software developer at Super Graphics. He develops a .Net application, which helps to store,
edit and retrieve reminders. He analyzes the performance of the code in VTune Performance Analyzer.
Pat needs to view information about"
1,Module insights and the More Information window m
2,Hotspots insights and System Info m
3,Top Insights and Relevance scale m
4,Top insights and the More Information window m 3
88 True Travel Services uses a .Net application for reservation of tickets. However, the users complain that the application
takes more time than usual to close after the details of the customers are entered. Donna Bard is working as a software
developer at
1,Top Insights m
2,Workload Insights m
3,Module Insights m
4,System Info m 1
89 Jim Lewis is working as a software developer at GoodGraphics Inc. The performance of the inventory management
application that he has developed is affected due to mismatch in process and memory speed.He wants to optimize his
application in such a way so t
90 Larry Williams wants to view the insights that have significant impact on the performance of his application. Which of the
following options should Larry view using the tuning assitant? M
1,Workload Insights m
2,Static Analysis m
3,Top Analysis m
4,System Info m 3
91 Pat Greene is working as a software developer at Technology Systems. Pat has developed a jukebox application on Java
platform. Now, he needs to view the possible optimization that can be made to the performance of the code using VTune.
Pat uses Sampling W
1,Check the "One sampling run with minimal advice" option and view the Module insights for a selected process. M
3,Check the "Few sampling run with some advice" option and view the Hotspots insights for a selected process. M
4,Check the "Many sampling run with more advice" option and view the Modules insights for a selected process. m
4
92 "Ken Burton, a Software developer at Red Sky IT Systems, has developed a chat application. However, it is observed that
the application is performing slowly. Some files of the application, such as .dll files, interact at system level.
To analyze performan" "
93 Ken Burton is working as a software developer at InfoSuper Corp. Ken needs to track system activity during
runtime to determine if reduced available memory or file I/O performance slows down applications. He uses Counter Monitor
Wizard of VTune to collec
94 Steve Irwin is working as a software developer at Blue Moon Computer Inc. ocated at Texas. Steve develops a chat
application in Java for an educational institute. The chat application enables students at remote locations to communicate with each
other. H
1, Software Prefetch m
2, Data Alignment m
3, Cache Compulsory Loads m
4, Cache Conflict Loads m 1
95 "Tom Wilkins is working as a software developer at Technology Systems. He needs to use Sampling Wizard to collect
performance data and analyze the performance of a code using Vtune.
He wants to configure the wizard to automatically generate the tuning adv"
96 "You are working as an application developer. You develop a C# application and written the following code:
When you run the application you find that the applicant"
1, Graphic Libraries m
2, Image Processing Libraries m
3, Math Libraries m
4, Audio/Video Libraries m 1
99 "Identify the optimization technique that can be used to improve the performance of the following code:
1, using unrolling m
2, Using sentinel values m
3, Using faster functions m
4, Changing the order of loops m 4
101 Identify the level of memory hierarchy that speeds up the execution of instructions by providing fast access to intermediate
values computed during a calculation. m
1, Virtual Memory m
2, Main Memory m
3, Level1 Cache m
4, Registers m 4
102 Identify the processor performance parameter that indicates the amount of time it takes to execute a particular process. m
1, Turnaround Time m
2, Instruction Execution Time m
3, Program Execution Time m
4, Response Time m 1
103 Which of the following indicates the number of processes that complete their execution per unit time? m
1, Throughput m
2, Turnaround time m
3, Instruction execution time m
4, Program execution time m 1
104 Which one of the following options enables a processor to load a specific location of memory before it is required for
processing? m
105 A high value of which of the following processor's utilization measures, indicates low resource utilization? m
106 Jim is a software developer, working with SSPT Corporation, develops a process-intensive application. Jim needs to
perform micro architecture-level tuning to increase the performance of the application. Jim decides to use the Vtune Performance
Analyzer to
1,Sampling m
2,Call Graph m
3,Counter Monitor m
4,Tuning Assistant m 1
107 Jim Lewis, the software developer at Global Systems Inc, develops an application on .NET platform. Jim decides to use
VTune Performance Analyzer to monitor the system-level performance information, such as resource consumption, during the
execution of the
1,Call Graph m
2,Counter Monitor m
3,Sampling m
4,Both Call Graph and Sampling m 2
1,Call Graph m
2,Time-based Sampling m
3,Event-based Sampling m
4,Counter Monitor m 4
110 Jim is a software developer, working with InfoSuper Corp, develops a gamming application on Java platform. Jim finds
that the application is performing slowly. He decides to tune the application by observing the functional flow of the application and
imp
1,Counter Monitor m
2,Time-based Sampling m
3,Event-based Sampling m
4,Call Graph m 4
111 Which of the following enables you to identify the threads that are running serially and the threads that are running in
parallel? m
113 John Barrett is working as a Software developer. John develops a gaming application on the .NET platform. He finds that
the application is performing slowly. He decides to use the Intel Vtune Performance Analyzer to monitor the performance of the
applica
1,Sampling Wizard m
,Quick Performance Analysis Wizard m
3,Complete Setup Wizard m
4,Advance Activity Configuration m 4
114 Sam has developed an application in C# whose perfornamce needs to be analyzed using the sampling feature of Vtune.
Sam decides to use the Over Time view to gather various information relating to the application. Which of the following option Sam
will not
1,Context Switching m
2,Function calling Sequence m
3,Thread interaction m
4,Processor utilization m 2
116 Which of the one following options enables you to tune application performance and its usage of system resources? m
1, Sampling m
2, Call Graph m
3, Counter Monitor m
4, Tuning Assistant m 4
117 Which feature of tuning assistant suggests steps to remove or avoid a problem? m
1, Insight m
2, Relevance Scale m
3, Advice m
4, Workload m 3
118 Which feature of Tuning Assistant indicates the problem that could be hindering the performance of the application? m
1, Insight m
2, Relevance Scale m
3, Advice m
4, Workload m 1
119 Which feature of Tuning Assistant mentions about the applications that were running when VTune Performance Analyzer
was profiling the system? m
1, Insight m
2, Relevance Scale m
3, Advice m
4, Workload m 4
120 Which of the following is NOT true about remote data collection in Intel Vtune? m
1, To initiate remote data collection, you need to enable the remote agent on the target system. m
2, To initiate remote data collection, you need to disable DCOM components on the target system. m
3, To initiate remote data collection, you need to enable the controlling system from which the remote performance data needs to be
collected. m
4, To initiate remote data collection, you need to specify the target system on which the remote application is running. m 2
1, Threads increases the performance and the ability to use multi-core processors. m
2, Threads do not facilitate data sharing. m
3, Threads enables you to effectively utilize the hardware resources. m
4, Improper use of threads leads to degraded performance. m 2
122 According to which condition for a deadlock to occur, a resource can be released by a thread holding it? m
1, Mutual exclusion m
2, No preemption m
3, Hold and wait m
4, Circular wait m 2
1, A condition when two or more threads simultaneously access the same memory location while atleast one thread is updating that
location. m
2, A condition that occurs when a programmer assumes a particular order of execution and guarantees that order through
synchronization. m
3, A condition that occurs when a thread does not progress on assigned computations, but the thread is not blocked or waiting. m
4, A condition that occurs when a thread does not progress on assigned computations because it is blocked or waiting. m 1
1, It refers to a program logic in which only one thread should be executing in a critical region at any time. m
2, It is a portion of code that access shared variables. m
3, It is a situation in which a thread waits for a resource which is currently held by some other thread. m
4, It is a measure of how busy the threads are during parallel computations. m 1
126 Sam is a Web Developer at RedSky Inc. He is developing a Web Application in ASP.NET. He has already configured the
application to enable ASP.NET profiles and defined the FavColor property to track the user's favorite color. Next, he adds a Label
control w "1,void Page_Load(object sender, System.EventArgs e)
{
lblFavColor.Text = Profile.properties(""FavColor"");
}
128 Sam is developing an ASP.NET application which displays values of controls on the review.aspx page according to the
language and culture preferred by the user. He creates a default resource file review.aspx.resx and a review.aspx.fr.resx resource file
for
1,Store the resource files in the App_LocalResources folder in place of App_GlobalResources folder. m
2,Enable automatic culture determination for the page by adding uiculture="true" to the <%Page%> directive. m
3,Rename the file "review.aspx.fr.resx" as "review.aspx.en.fr.resx" m
4,Enable automatic culture determination for the page by adding uiculture="enable" to the <%Page%> directive. m 1
129 Sam is developing an ASP.NET application which contains an enquiry.aspx page. This page accepts three parameters from
the user as "name", "city" and "country". To improve the performance of the application he wants to cache multiple versions of the
enquir "
1,Response.Cache.VaryByParams(""country"", true);
Response.Cache.VaryByParams(""city"", true); m"
3,Response.Cache.VaryByParams[""country""] = true;
Response.Cache.VaryByParams[""city""] = true; m"
130 Sam is the administrator of the shopping site of RedSky Inc. In the SurveyReport.aspx page of this site he wants to add the
code that will log data in the Microsoft Windows event log. This data will contain the time when the loading of SurveyReport.aspx p
"
131 "Sam is a Web developer at RedSky Inc. He needs to create custom server controls for his application with the name
WelcomeLabel.
For that he creates a file called WelcomeLabel.cs and adds the following code to this file.
using System;
…
…
using System.W" "
132 How can a content page refer to a master page at run time? m
1,By using Master.FindControl method. m
2,By setting the Page.MasterPageFile property. m
3,By setting the value of masterPageFile attribute in the <%@ Page%> directive as <%@Page masterPageFile ="xxx"%>. m
4,By setting the value of virtualPath attribute in the<%@ MasterType %> directive as <%@ MasterType virtualPath ="xxx"%>. m
2
133 Which of the following statements is NOT true about user controls? m
134 Which of the following statements correctly describes a custom Web server control? m
1,A custom Web server control is saved as a file with an extension of .acsx. m
2,Custom Web server controls are written entirely by managed code and have no markup file. m
3,Custom Web server controls have a user interface that is composed of several existing Web Server controls. m
4,Custom Web server control is a special kind of Composite Control that gives the developer more power over the presentation of data
on the page. m 2
135 What happens after adding the attribute trace="true" to the <%@Page%> directive in an ASP.NET page? m
136 To cache a page, the user includes the <%@OutputCache%> directive in the page markup as: <%OutputCache Duration
="60" VaryByParam="None"%>. In addtion, the user marks certain sections of the page by surrounding them with an ASP.NET
Substitution control.
1,Application Cache m
2,Page Output Cache for caching a complete, single page m
3,Page Output Cache with Partial Page Caching m
4,Page Output Cache with support for caching multiple page versions m 3
137 What would be the extension of the skin file created with name MyTheme? m
1,MyTheme.theme m
,MyTheme.aspx.theme m
3,MyTheme.skin m
4,MyTheme.aspx.skin m 3
138 While configuring profile properties in the Web.config file for an application which of the following tags defines name,
type, and allowAnonymous attributes? m
1,<profile> m
2,<properties> m
3,<add> m
4,<configuration> m 3
1,<pages theme="XXX"> m
2,<profile theme="XXX"> m
3,<properties theme="XXX"> m
4,<configuration theme="XXX"> m 1
141 To enable users to personalize a page, you must set the Page.Theme property. During or before which event handler should
this be done? m
1,Page_PreRender ( ) m
2,Page_Load ( ) m
3,Page_PreInit ( ) m
4,Page_Render ( ) m 3
142 "Sam is a developer at RedSky Inc. He is developing a Web application using ASP.NET. He has created two themes in the
App_Themes folder with the names Green and Red.
Initially Sam has set the Green theme for the application by adding <pages theme =""Green""" "
3,Remove the <page src= ~/Profile.aspx theme = ""Red""/> tag from the Web.config file and add
<%@ Page theme = ""Red"" %> directive in the Profile.aspx page m" "
4,Remove the <page src= ~/Profile.aspx theme = ""Red""/> tag from the Web.config file and add
<Page theme = ""Red"" > tag in the Profile.aspx page m" 3
143 "Sam is a developer at RedSky Inc. He is developing a Web application using ASP.NET. In the application, he creates an
ASP.NET theme with the name
GlobalRed and adds a sample.aspx page to the application. To apply the theme to the page he adds <%@ Page Th" "
1,Modify the code in Web.config file as:
<configuration>
<system.web>
<%@ Page DeafultTheme =""GlobalRed"" %>
</system.web>
</configuration>
m" "
144 "Sam is a developer at RedISky Inc. He is developing a Web application using ASP.NET. In this application he has created
an ASP.NET theme with the name GlobalRed. In this theme he has created a Red.skin file with the following code:
<asp:Button runat=""ser" "
145 Sam is a Web developer at RedSky Inc. He wants to configure his application to store a profile property "PrefLocation" in
each user profile for all types of users whether they have logged in or are visiting the site as anonymous users. To configure the pr
"
<system.web>
<profile>
<properties>
<add name = ""PrefLocation type =""System.String"" allowAnonymous= ""true""/>
</properties>
</profile>
</system.web> m" "
<system.web>
<anonymousIdentification enabled=""true""/>
<profile>
<properties>
<add name = ""PrefLocation type =""System.String"" allowAnonymous= ""true""/>
</pro" "
<system.web>
<anonymousIdentification enabled=""true""/>
<profile>
<properties>
<add name = ""PrefLocation type =""System.String""/>
</properties>
</profile" "
<system.web>
<allowAnonymous enable = ""true"">
<profile>
<properties>
<add name = ""PrefLocation type =""System.String"" allowAnonymous enable = ""true""/>
</prop" 2
146 You are creating a site and you want that on a page requested by a client, if the server generates an error with status codes
500 or 404, a custom error page "PageNotFound.htm" should be displayed. In case an error is generated with a status code differen
"
1, <configuration>
<system.web>
<customErrors defaultRedirect=""GenericError.htm"" mode=""RemoteOnly"">
<error statusCode=""500"" redirect=""PageNotFound.htm""/>
<error statusCode=""404"" redirect=""PageNotFound.htm""/>
</customErrors>
</system.web>
</configuration>
" "
2, <configuration>
<system.web>
<customErrors defaultRedirect=""GenericError.htm"" mode=""RemoteOnly"">
<error statusCode=""500"" Or ""404"" redirect=""PageNotFound.htm""/>
</customErrors>
</system.web>
</configuration>
m" "
3, <configuration>
<system.web>
<customErrors>
<statusCode=""500"" redirect=""PageNotFound.htm""/>
<statusCode=""404"" redirect=""PageNotFound.htm""/>
</customErrors>
</system.web>
</configuration>
m" "
4, <configuration>
<system.web>
<customErrors error= ""404"" Or ""500"" redirect=""PageNotFound.htm"" mode=""RemoteOnly"">
</customErrors>
</system.web>
</configuration>
m" 1
147 You want to specify the default programming language for your entire ASP.NET Web application as C#. You also want to
specify the number of recompiles to perform before the application gets unloaded and loaded again. Which of the following
configuration se "
1, <configuration>
<system.web>
<defaultLanguage=""C#""/>
<compilation numRecompilesBeforeAppRestart=""10"">
</compilation>
</system.web>
</configuration>
2, <configuration>
<system.web>
<compilation>
defaultLanguage=""C#"" numRecompilesBeforeAppRestart=""10""
</compilation>
</system.web>
</configuration>
m" "
3, <configuration>
<system.web>
<compilation defaultLanguage=""C#"">
numRecompilesBeforeAppRestart=""10""
</compilation>
</system.web>
</configuration>
m" "
4, <configuration>
<system.web>
<compilation defaultLanguage=""C#"" numRecompilesBeforeAppRestart=""10""> </compilation>
</system.web>
</configuration>
m" 4
148 You are required to provide an option to the customers of a restaurant for giving feedback about its services through its
website.The customer can choose to give feedback about the "Home Delivery Service" or the "Food Quality" by clicking the
correspondin "
1, switch (Response.QueryString[""Feedback""])
{
case ""HomeDelivery"":
Page.Header.Title = ""Feedback about our Home Delivery Services"";
break;
case ""FoodQuality"":
Page.Header.Tit" "
2, switch (QueryString[""Feedback""])
{
case ""HomeDelivery"":
Page.Header.Title = ""Feedback about our Home Delivery Services"";
break;
case ""FoodQuality"":
Page.Header.Title = ""Fee" "
3, switch (Request.QueryString[""Feedback""])
{
case ""HomeDelivery"":
Page.Header.Title = ""Feedback about our Home Delivery Services"";
break;
case ""FoodQuality"":
Page.Header.Titl" "
4, switch (Request.QueryString(""Feedback""))
{
case ""HomeDelivery"":
Page.Header.Title = ""Feedback about our Home Delivery Services"";
break;
case ""FoodQuality"":
Page.Header.Titl" 3
149 On the feedback form of your website, you have created a text box which is a Web server control. The user enters his name
in this text box and clicks the Submit button. The name entered by the user should be retrieved and stored in a variable declared in
150 "You want some common options and graphics to be displayed in all the Web pages of your site. However, you do not
want to copy the common
code in all the pages. You decide to write this code in a master page and include that page in all other pages of you"
151 Which of the following is NOT a type of Web site that can be created using Visual Studio 2005? m
152 When you type code in the Source view, a drop down list is displayed that helps you complete the syntax of the code.
Which feature of Visual Studio makes this possible? m
1, ComboBox m
2, IntelSense m
3, Intellisense m
4, ListView m 3
153 In your web application, you need to ensure that the format of the pages that you display is supported by the requesting
browsers. Which of the following is a property that can be used to detect the type of the browser requesting the pages, so that they c
1, Request.Browser m
2, Response.Browser m
3, Request.Browser.Browser m
4, Request.Browser.Type m 3
154 Using the CompareValidator control, you can compare the user input to which type of value? m
1, Constant value m
2, Variable value m
3, Memory address m
4, URL m 1
155 "Consider the following statements in context of the validation controls available in ASP.NET:
Statement A: The validation controls can perform simple validation in the user's Web browser by generating VBScript code, if the
browser supports it.
Statement "
156 Which mechanism is provided by ASP.NET that preserves the contents and state of the controls on a Web page when a
user enters data and submits the form and when the page is re-displayed? m
1, StateServer m
2, ViewState m
3, HttpSessionState m
4, HttpApplicationState m 2
157 In the context of ASP.NET, when the server needs to free the memory, it can remove an item from the application's cache.
What is this process known as? m
1, Absolute expiration m
2, Sliding expiration m
3, Flush m
4, Scavenging m 4
158 Which of the following is a delegate that defines the signature to use for an event handlers that responds when an item is
deleted from the cache? m
1, onRemoveCallback m
2, CacheItemRemovedCallback m
3, CacheItemRemovedReason m
4, RemovedCallback m 2
159 "Which of the following can you configure to retrieve data from the following:
-- XML files
-- Web services that return XML data
-- String variables that contain XML data m"
1, XmlDataDocument objects m
2, XmlDataSource control m
3, SqlDataSource control m
4, FormView control m 2
1, Windows authentication m
2, Logon authentication m
3, Forms authentication m
4, Passport authentication m 2
161 Which of the following is a File Status displayed by the Copy Web Site tool? m
1, Edited m
2, Modified m
3, Changed m
4, Converted m 3
162 How does the Copy Web tool make sure that all files on the local and remote sites are up to date? m
163 Which of the following tags should be inserted into the Web.Config file to handle the mobile devices that do not accept
relative URLs? m
1, <httpRuntime> tag m
2, <DeviceSpecific> tag m
3, <Filter> tag m
4, <deviceFilters> tag m 1
164 What is the file extension of a Microsoft Windows Installer file that is used to distribute and install an application? m
1, .exe m
2, .msc m
3, .msi m
4, .jar m 3
165 A mobile web page must contain at least one __________ tag. m
1, <mobile:Form> tag m
2, <mobile> tag m
3, <MobileForm> tag m
4, <IsMobileDevice> tag m 1
166 Joanne, a software developer with EverSoft Inc. had developed an inventory control application, StockNInventory 1.0,
using COM components. Now, the requirements and the processes followed by the users have become complicated. Therefore, Joanne
has upgrade
1,She should create assemblies in her application providing the same features as the previously created components. m
2,She should create an assembly that will handle converting the .Net Framework types to the corresponding types of the COM
components being used by the application. m
3,She should place the COM components in the same directory as the Assembly for the upgraded application and reference the
components in the assembly. m
4,She should create a Shared assembly for her application to communicate with the COM components. m 2
167 Ben had developed an application which used a COM component to provide certain functionality. He has now upgraded
the application using .Net Framework. In his upgraded application, he has created a .Net Framework component with which the
previously availa
1,Ben implemented the default class interface for the .Net Framework component. m
2,Ben did not create a public constructor with no parameters for the .Net Framework component. m
3,Ben created the constant fields and static methods of the .Net Framework component as Public members. m
4,Ben created a public constructor with no parameters for the .Net Framework component. m 2
168 Bryan has created an application that processes credit card information supplied to it by the users, encrypts it using the
DES encryption class and stores it in a database. However, he has been receiving complaints from the users that their credit card i
169 You have created a simple file processing application. The application performs simple tasks such as copying, renaming,
and creating files and folders. Each task is performed using a separate thread that is created for that purpose. After execution of the
170 Jonathan has created a Web application which requires the users to register prior to browsing and availing the services
offered by it. The application needs to store and update various tables in its database with user details. The user is also sent a welc
1,Jonathan should make individual calls to these methods from within the class that executes the registration process. m
2,Jonathan should use singlecasting. m
3,Jonathan should use Multithreading. m
4,Jonathan should use multicasting. m 4
171 To use GDI+ objects, an object of the ________ class must be created. m 1,SystemColors m
2,Pen m
3,Graphics m
4,Image m 3
172 The _______ class provides the primary access point for code to interact with the security system. m
1,SecurityManagement m
2,SecurityManager m
3,PolicyLevel m
4,CodeGroup m 2
174 The ________ allows the .NET Framework to communicate with the COM component by providing a middle layer
between your .NET Framework code and the COM component. m
1,Interop assembly m
2,Shared assembly m
3,Multifile assembly m
4,Private assembly m 1
175 The primary class used to manage threads directly is the ______ class. m
1,ThreadStart class m
2,Thread Class m
3,ParameterizedThreadStart class m
4,ThreadPool class m 2