Interview Questions Answers.ORG
Interviewer And Interviewee Guide
CCIE CertificationCCSP CertificationAFMCSun CertificationCCDA Certification Interviews Quizzes

Accounts

AccountingAccounts PayableAuditJunior AccountantSenior Accountant

Analysis

Data AnalystFinancial AnalystGISGIS AnalysisStatistics

Banking

ICICI Bank LtdLoan OfficerRecovery OfficerTreasuryUnderwriter

Basic Job

BehavioralBusiness intelligenceFreshers GraduatePuzzlesTargeted Selection

Best Engineering

Automobile EngineeringChemical EngineeringCivil EngineeringElectrical EngineeringMechanical Engineering

Best Multimedia

3D AnimationCoreldrawDesign EngineerGraphics DesignerInterior Design

Community

Cable OperatorFirefighter SpecialistFuneral DirectorSpeech PathologistTranslator

New Artist

Art DirectorAstrologistInternational RelationshipSociologyVisual Arts

9th Class

9th Class Biology9th Class Chemistry9th Class Computer Studies9th Class Pakistan StudiesEnglish Grammar Section 9th Class

Accounting

Accounting ManagementBank Probationary Officer (PO)Financial Accounting Exam MCQsManagerial Accounting Exam MCQs

Civil Engineering

Building ConstructionRailwaysRCC Structures DesignSoil Mechanics and Foundation EngineeringSurveying

Engineering

Electrical EngineeringElectronic DevicesElectronics EngineeringEngineering MechanicsSoftware Engineering

General Knowledge (GK)

General Knowledge (GK)IQ (Intelligence Quotient)Permutation And CombinationPhysical CommunicationVocabulary

Information Technology (IT)

Basics of ComputerComputer KnowledgeComputer OrganizationFundamentals Of ComputerWireless Communication

Networking

Advanced NetworkingBasic NetworkingComputer Networks TestNetwork SecurityNetworking

Soft Skills Quizzes MCQs

Communication Skills Exam MCQsCorporate Communication Exam MCQsLeadership Skills Exam MCQsNegotiation Skills Exam MCQsTime Management Exam MCQs

Certifications Interviews

AFMC IQAIIMS Exam IQCCDA Certification IQCCIE Certification IQCCIP Certification IQCCSP Certification IQCertifications IQCheck Point Certification IQCISCO Certification IQCIW Certification IQEngineering Entrance Exams IQEntrance Exams IQGATE Exam IQIBM Certification IQICET Exam IQIIT JEE IQISTQB Certification IQManagement Entrance Exams IQMAT IQMCDBA Certification IQMCSD.NET - 70-089 IQMCSD.NET - 70-300 IQMCSD.NET - 70-306 Exam IQMCSD.NET - 70-310 Exam IQMCSD.NET - 70-315 Exam IQMCSD.NET - 70-316 Exam IQMCSD.NET - 70-320 Exam IQMCSD.NET - 70-330 Exam IQMCSD.NET - 70-340 Exam IQMCTS .Net Certification IQMedical Science Entrance Exams IQMicrosoft Certification IQMSCE 2003 Certification IQNovell Certification IQNovell CLE 9 Certification IQNovell CLP Certification IQNovell CNA Certification IQNovell CNE Certification IQNovell MCNE Certification IQOCP 9i DBA Certification IQOPENMAT Exam IQOracle Application Developer IQOracle Certification IQPMI Certification IQPost Graduation Entrance Exams IQRed Hat Certification IQS/W Quality Assurance IQSun Certification IQSybase Certification IQTesting Certification IQ

Top MCSD.NET - 70-316 Exam Interview Questions & Answers:

1. Tell me You work as software developer at XYZ inc. You need to develop a Windows form that provides
online 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 pass
the text box and the help text.
What should you do?
A. SetShowHelp
B. SetHelpString
C. SetHelpKeyword
D. ToString

B. SetHelpString

2. You use Visual Studio .NET to create a Windows-based application. The application includes a
form named XYZForm, which displays statistical date in graph format. You use a custom
graphing control that does not support resizing.
You must ensure that users cannot resize, minimize, or maximize XYZForm. Which three actions
should 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.

A. Set XYZForm.MinimizeBox to False.
B. Set XYZForm.MaximizeBox to False.
F. Set XYZForm.FormBorderStyle to one of the Fixed Styles.

3. Suppose You develop a Windows-based application by using Visual Studio .NET. The application includes
numerous method calls at startup. After optimizing your application code, you test the application
on 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. What
should 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.

B. Install your application on the client computers.
Precompile your application by using the Native Image Generator (Ngen.exe).

4. Suppose You use Visual Studio .NET to create a control that will be used on several forms in your
application.
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 the
control to show as much of the underlying form as possible. You want to ensure that only the
stock 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 two
code 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);

A. this.BackColor = Color.Transparent;
E.this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);

5. You are a developer for a XYZ Inc that provides free software over the Internet. You are
developing 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 must
appear in the language that is appropriate to the locale setting of the computer running the
application.
You have resources to develop versions of the application for only four different cultures. You
must 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.

C. Package a main assembly for source code and the default culture.
Package satellite assemblies for the other cultures.

6. 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 with
XYZMgmt.
You must ensure that the settings in the application configuration file are applied when
XYZMgmt is executed.
What should you do?
A. Name the configuration file XYZMgmt.exe.confing and copy it to the WindowsSystem32
folder.
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.

C. Name the configuration file XYZMgmt.exe.config and copy it to the application folder.

7. Suppose You use Visual Studio .NET to create a Windows-based application. The application includes a
form 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 all
default 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 to
True.
D. In the QueryPageSettings event, set the HasMorePages property of the
QueryPageSettingEventArgs object to True.

C. In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to
True.

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 following
definition:
public class Camera {
}
You write code that sets properties for the Camera class. This code must be executed as soon as
an instance of the Camera class is created. Now you need to create a procedure in which you
can 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()

A. public Camera()

9. You execute a query on your external Oracle database named XYZSalesDate by using an
OleDbCommand object. The query uses the Average function to return a single value that
represents the average price of products in the inventory table. You want to optimize performance
when you execute this query.
To execute this query from your ADO.NET code, you need to use a method of the
OleDbCommand object. Which method should you use?
A. ExecuteNonQuery
B. ExecuteScalar
C. ToString
D. ExecuteReader

D. ExecuteReader

10. Suppose As a programmer at XYZ inc, you use Visual Studio .NET to create several applications that will
be deployed commercially over the Internet. You must ensure that customers can verify the
authenticity 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.

A. Sign your portable executables by using Signcode.exe.
D. Purchase a Software Publisher Certificate from a certificate authority.

11. You develop a Windows-based application XYZ. XYZ uses a DataSet object that contains two
DataTable objects. XYZ will display data from two data tables. One table contains customer
information, which must be displayed in a data-bound ListBox control. The other table contains
order 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.

D. Add a DataRelation object to the Relations collection of the DataSet object.

12. Suppose As a developer at XYZ you develop a new sales analysis application that reuses existing data
access components. One of these components returns a DataSet object that contains the data for
all customer orders for the previous year.
You want your application to display orders for individual product numbers. Users will specify the
appropriate 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.

C. Create a DataView object and set the RowFilter property by using a filter expression.

13. You plan to develop a customer information application CustomEX that uses a Microsoft SQL
Server database. CustomEX will be used frequently by a large number of users. Your application
code must obtain the fastest possible performance when accessing the database and retrieving
large 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.

B. Use classes in the System.Data.SqlClient namespace.

14. You use Visual Studio .NET to create an assembly, called XYZAssembly, that will be used by
other applications, including a standard COM client application.
You must deploy your assembly on the COM application to a client computer. You must ensure
that 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.

B. Generate a registry file for the assembly by using the Assembly Registration tool
(Regasm.exe)
Register the file on the client computer.

15. Suppose You develop a Windows-based application by using Visual Studio .NET. The application includes
a form named XYZForm and a class named Contact. XYZForm includes a button named
cmdCreateContact. You must ensure that your application creates an instance of Contact when a
user 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;

B. Contact contact = new Contact;



SHARE




FORUM
PRIVACY
TERMS & CONDITIONS
FEED BACK

Submit Your Feedback:


×

Thank You For Your Feedback!

Your message has been sent successfully.

Disclaimer
Interview Questions Answers .ORG is responsive and optimized web portal for individuals to get preparation for their job interviews, learning and training. Content at Interview Questions Answers .ORG might be simplified to improve our users experience. We constantly review our content to avoid errors and copyright violations, but we cannot warrant full correctness of all the content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.

Interview Questions Answers .ORG
Face Book Twitter Linkedin