You are not logged in.

#1 2012-03-28 06:16:43

AgentVinod12
User RankUser RankUser RankUser RankUser RankUser Rank
Agent Vinod
From: India
Registered: 2012-03-23
Posts: 1,149
Website

MCSD.NET - 70-316 Exam Interview Questions And Answers

Education and Science :: MCSD.NET - 70-316 Exam Job Interview Questions and Answers

MCSD.NET - 70-316 Exam guideline for job interview preparation. Explore list of MCSD.NET - 70-316 Exam frequently asked questions(FAQs) asked in number of MCSD.NET - 70-316 Exam interviews. Post your comments as your suggestions, questions and answers on any MCSD.NET - 70-316 Exam Interview Question or answer. Ask MCSD.NET - 70-316 Exam Question, your question will be answered by our fellow friends.

1 Suppose You develop a Windows-based application by using Visual Studio .NET. The application includesa form named XYZForm and a class named Contact. XYZForm includes a button namedcmdCreateContact. You must ensure that your application creates an instance of Contact when auser clicks this button. You want to write the most efficient code possible.Which code segment should you use?A. Contact contact = new Object();B. Contact contact = new Contact;C. Object contact = new Contact;D. Contact contact = new Object;
2 You use Visual Studio .NET to create an assembly, called XYZAssembly, that will be used byother applications, including a standard COM client application.You must deploy your assembly on the COM application to a client computer. You must ensurethat the COM application can instantiate components within the assembly as COM components.What should you do?A. Create a strong name of the assembly by using the Strong Name tool (Sn.exe).B. Generate a registry file for the assembly by using the Assembly Registration tool(Regasm.exe)Register the file on the client computer.C. Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe).Register the file on the client computer.D. Deploy the assembly to the global assembly cache on the client computer.Add a reference to the assembly in the COM client application.
3 You plan to develop a customer information application CustomEX that uses a Microsoft SQLServer database. CustomEX will be used frequently by a large number of users. Your applicationcode must obtain the fastest possible performance when accessing the database and retrievinglarge amounts of data. You must accomplish this goal with the minimum amount of code.How should you design CustomEX?A. Use classes in the System.Data.OleDb namespace.B. Use classes in the System.Data.SqlClient namespace.C. Use remoting to connect to the SQL Server computer.D. Use interoperability to include legacy COM-based data access components.
4 Suppose As a developer at XYZ you develop a new sales analysis application that reuses existing dataaccess components. One of these components returns a DataSet object that contains the data forall customer orders for the previous year.You want your application to display orders for individual product numbers. Users will specify theappropriate product numbers at run time..What should you do?A. Use the DataSet.Reset method.B. Set the RowFilter property of the DataSet object by using a filter expression.C. Create a DataView object and set the RowFilter property by using a filter expression.D. Create a DataView object and set the RowStateFilter property by using a filter expression.
5 You develop a Windows-based application XYZ. XYZ uses a DataSet object that contains twoDataTable objects. XYZ will display data from two data tables. One table contains customerinformation, which must be displayed in a data-bound ListBox control. The other table containsorder information, which must be displayed in a DataGrid control.You need to modify XYZ to enable the list box functionality.What should you do?A. Use the DataSet.Merge method.B. Define primary keys for the Data Table objects.C. Create a foreign key constraint on the DataSet object.D. Add a DataRelation object to the Relations collection of the DataSet object.
6 Suppose As a programmer at XYZ inc, you use Visual Studio .NET to create several applications that willbe deployed commercially over the Internet. You must ensure that customers can verify theauthenticity of your software.Which action or actions should you take? (Choose all that apply.)A. Sign your portable executables by using Signcode.exe.B. Generate an X.509 certificate by using Makecert.exe.C. Purchase an X.509 certificate from a certificate authority.D. Purchase a Software Publisher Certificate from a certificate authority.E. Convert your certificate to a Software Publisher Certificate by using Cert2spc.exe.
7 You execute a query on your external Oracle database named XYZSalesDate by using anOleDbCommand object. The query uses the Average function to return a single value thatrepresents the average price of products in the inventory table. You want to optimize performancewhen you execute this query.To execute this query from your ADO.NET code, you need to use a method of theOleDbCommand object. Which method should you use?A. ExecuteNonQueryB. ExecuteScalarC. ToStringD. ExecuteReader
8 Suppose You use Visual Studio .NET to create a Windows-based application that will track camera sales.The applications main object is named Camera. The Camera class is created by the followingdefinition:public class Camera {}You write code that sets properties for the Camera class. This code must be executed as soon asan instance of the Camera class is created. Now you need to create a procedure in which youcan place your code. Which code segment should you use?A. public Camera()B. public void Camera()C. public bool Camera()D. public New()E. public Camera New()F. public Camera Camera()
9 Suppose You use Visual Studio .NET to create a Windows-based application. The application includes aform named XYZProcedures (EXP). EXP allows users to enter very lengthy text into a database.When users click the Print button located on EXP, this text must be printed by the default printer.You implement the printing functionality by using the native .NET System Class Libraries with alldefault settings.Users report that only the first page of the text is being printed.How should you correct this problem?A. In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True.B. In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.C. In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object toTrue.D. In the QueryPageSettings event, set the HasMorePages property of theQueryPageSettingEventArgs object to True.
10 You use Visual .NET to develop a Windows-based application whose project name is XYZMgmt.You create an application configuration file that will be installed on the client computer along withXYZMgmt.You must ensure that the settings in the application configuration file are applied whenXYZMgmt is executed.What should you do?A. Name the configuration file XYZMgmt.exe.confing and copy it to the WindowsSystem32folder.B. Name the configuration file XYZMgmt.config and copy it to the WindowsSystem32 folder.C. Name the configuration file XYZMgmt.exe.config and copy it to the application folder.D. Name the configuration file XYZMgmt.config and copy it to the application folder.E. Name the configuration file XYZMgmt.exe.config and copy it to the global assembly cache.
11 You are a developer for a XYZ Inc that provides free software over the Internet. You aredeveloping en e-mail application that users all over the world can download.The application displays text strings in the user interface. At run time, these text strings mustappear in the language that is appropriate to the locale setting of the computer running theapplication.You have resources to develop versions of the application for only four different cultures. Youmust ensure that your application will also be usable by people of other cultures.How should you prepare the application for deployment?A. Package a different assembly for each culture.B. Package a different executable file for each culture.C. Package a main assembly for source code and the default culture.Package satellite assemblies for the other cultures.D. Package a main assembly for source code.Package satellite assemblies for each culture.
12 Suppose You use Visual Studio .NET to create a control that will be used on several forms in yourapplication.It is a custom label control that retrieves and displays your company?s current stock price.The control will be displayed on many forms that have different backgrounds. You want thecontrol to show as much of the underlying form as possible. You want to ensure that only thestock price is visible. The rectangular control itself should not be visible.You need to add code to the Load event of the control to fulfill these requirements. Which twocode segments should you use? (Each correct answer presents part of the solution. Choose two)A. this.BackColor = Color.Transparent;B. this.ForeColor = Color.Transparent;C. this.BackImage = null;D. this.SetStyle(ControlStyles.UserPaint, false);E. this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
13 Suppose You develop a Windows-based application by using Visual Studio .NET. The application includesnumerous method calls at startup. After optimizing your application code, you test the applicationon a variety of client computers. However, the startup time is too slow.You must ensure that your application starts as quickly as possible the first time it runs. Whatshould you do?A. Precompile your application by using the Native Image Generator (Ngen.exe):Install the precompiled application on the client computers.B. Install your application on the client computers.Precompile your application by using the Native Image Generator (Ngen.exe).C. Precompile your application by using the JIT compiler.Install the precompiled application on the client computers.D. Install your application on the client computers.Precompile your application by using the JIT compiler.
14 You use Visual Studio .NET to create a Windows-based application. The application includes aform named XYZForm, which displays statistical date in graph format. You use a customgraphing control that does not support resizing.You must ensure that users cannot resize, minimize, or maximize XYZForm. Which three actionsshould you take? (Each answer presents part of the solution. Choose three)A. Set XYZForm.MinimizeBox to False.B. Set XYZForm.MaximizeBox to False.C. Set XYZForm.ControlBox to False.D. Set XYZForm.ImeMode to Disabled.E. Set XYZForm.WindowState to Maximized.F. Set XYZForm.FormBorderStyle to one of the Fixed Styles.G. Set XYZForm.GridSize to the appropriate size.
15 Tell me You work as software developer at XYZ inc. You need to develop a Windows form that providesonline help for users. You want the help functionality to be available when users press the F1 key.Help text will be displayed in a pop-up window for the text box that has focus.To implement this functionality, you need to call a method of the HelpProvider control and passthe text box and the help text.What should you do?A. SetShowHelpB. SetHelpStringC. SetHelpKeywordD. ToString

2012-03-28 06:16:43

Advertisement
Ads By Google

Re: MCSD.NET - 70-316 Exam Interview Questions And Answers



\n
The following user say "Thank You" for this post:Guest

Board footer