70-536 exam
Posted by 328203147 | Filed under Certinside, Microsoft
Today, nothing matters more than authentic, universally recognized certifications, that give an added value to the professionals as well as the organizations. This is why set ups look for such professionals with alacrity so that they too can benefit from the value of the Microsoft certification name and market worth. This has caused a stiff tiff amongst professionals. Competition is becoming tougher and this is true for 70-536 too. This examination can turn anyone’s professional life into an everlasting golden phase. This examination does not just authenticate your skills and expertise, but vouches for you on an international basis as well. Preparation with certinside can give you that much-needed universal acclaim and recognition. This is possible only if you give certinside a trial. With certinside behind your back, passing test will become a piece of cake.
1. You are creating a class to compare a specially-formatted string.The default collation comparisons do not apply.
You need to implement the IComparable<string> interface.Which code segment should you use?
A. public class Person : IComparable<string>{
public int CompareTo(string other){
…
}
}
B. public class Person : IComparable<string>{
public int CompareTo(object other){
…
}
}
C. public class Person : IComparable<string>{
public bool CompareTo(string other){
…
}
}
D. public class Person : IComparable<string>{
public bool CompareTo(object other){
…
}
}
Answer: A
9. You are creating a class to compare a specially-formatted string.The default collation comparisons do not apply.
You need to implement the IComparable<string> interface.Which code segment should you use?
A. public ref class Person : public IComparable<String^>{
public : virtual Int32 CompareTo(String^ other){
…
}
}
B. public ref class Person : public IComparable<String^>{
public : virtual Int32 CompareTo(Object^ other){
…
}
}
C. public ref class Person : public IComparable<String^>{
public : virtual Boolean CompareTo(String^ other){
…
}
}
D. public ref class Person : public IComparable<String^>{
public : virtual Boolean CompareTo(Object^ other){
…
}
}
Answer: A
2. You are creating a class to compare a specially-formatted string.
The default collation comparisons do not apply.
You need to implement the IComparable(Of String) interface.Which code segment should you use?
A. Public Class Person
Implements IComparable(Of String)
Public Function CompareTo(ByVal other As String) As _
Integer Implements IComparable(Of String).CompareTo
…
End Function
End Class
B. Public Class Person
Implements IComparable(Of String)
Public Function CompareTo(ByVal other As Object) As _
Integer Implements IComparable(Of String).CompareTo
…
End Function
End Class
C. Public Class Person
Implements IComparable(Of String)
Public Function CompareTo(ByVal other As String) _
As Boolean Implements IComparable(Of String).CompareTo
…
End Function
End Class
D. Public Class Person
Implements IComparable(Of String)
Public Function CompareTo(ByVal other As Object) _
As Boolean Implements IComparable(Of String).CompareTo
…
End Function
End Class
Answer: A
3. You are writing a custom dictionary. The custom-dictionary class is named MyDictionary.
You need to ensure that the dictionary is type safe.Which code segment should you use?
A. class MyDictionary : Dictionary<string, string>
B. class MyDictionary : HashTable
C. class MyDictionary : IDictionary
D. class MyDictionary
{
…
}
Dictionary<string, string> t =
new Dictionary<string, string>();
MyDictionary dictionary = (MyDictionary)t;
Answer: A
4. You are writing a custom dictionary. The custom-dictionary class is named MyDictionary.
You need to ensure that the dictionary is type safe.Which code segment should you use
A. public ref class MyDictionary : public Dictionary<String^, String^>{};
B. public ref class MyDictionary : public Hashtable{};
C. public ref class MyDictionary : public IDictionary{};
D. public ref class MyDictionary{};
Dictionary<String^, String^> t = gcnew Dictionary<String^, String^>()
MyDictionary dictionary = (MyDictionary)t;
Answer: A
Tags: 70-536, 70-536 exam