Read without ads and support Scribd by becoming a Scribd Premium Reader.
Practice Questions for Exam 70-536
This document contains practice questions that will help you prepare for exam 70-
536.
Contents

.........................................................................................................................1
Practice Questions for Exam 70-536................................................................ 1
Contents.......................................................................................................... 1
Developing Applications That Use System Types and Collections............. 1
Implementing Service Processes, Threading, and Application Domains in

a .NET Framework Application................................................................... 4
Embedding Configuration, Diagnostic, Management, and Installation
Features into a .NET Framework Application............................................. 6
Implementing Serialization and Input/Output Functionality in a .NET
Framework Application.............................................................................. 8
Improving the Security of .NET Framework Applications by Using the .NET
Framework 2.0 Security Features............................................................ 11
Implementing Interoperability, Reflection, and Mailing Functionality in a
.NET Framework Application.................................................................... 15
Implementing Globalization, Drawing, and Text Manipulation Functionality
in a .NET Framework Application............................................................. 20
Developing Applications That Use System Types and
Collections
This section contains three practice questions that help prepare you to develop
applications that include system types and collections.
\u2022
Question 1
\u2022
Question 2
\u2022
Question 3
QUESTION 1

You are creating a custom class that allocates large blocks of memory. Instead of waiting for the runtime to automatically free the resources, you want developers who use your class to be able to free resources on demand when an instance of the class is no longer needed. Which interface should you implement?

a) IComparable
b) ICloneable
c) IEquatable
d) IFormattable
e) IDisposable
f) INullableValue
g) IConvertible
ANSWER 1
e) IDisposable
QUESTION 2
What is the purpose of a delegate?

a) To spawn an additional thread to provide parallel processing
b) To copy member methods and properties from an existing class
c) To enable an assembly to respond to an event that occurs within a class
d) To provide identical member methods and properties from multiple related

classes
ANSWER 2
c) To enable an assembly to respond to an event that occurs within a class
QUESTION 3
Which of the following code samples is a valid interface declaration?
a)
' VB
Interface IAsset
Function SampleMethod() As Integer
Dim i As Integer = 5
Return i
End Function
End Interface

// C#
interface ISampleInterface
{

int SampleMethod()

{
int i = 5;
return i;

}
}
b)
' VB
Interface IAsset
Function SampleMethod() as Integer
End Interface

// C#
interface ISampleInterface
{

int SampleMethod();
}
c) ' VB

Interface IAsset
Private j As Integer = 5
Function SampleMethod() as Integer

End Interface

// C#
interface ISampleInterface
{

private int j = 5;
int SampleMethod();
}
d)
' VB
Interface IAsset(j as Integer)
Function SampleMethod() as Integer
End Interface

// C#
interface ISampleInterface(int j)
{

Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more