1. Which are true about delegates?
2. Elements in a System.Collections.Specialized.OrderedDictionary are:
3. Which System.Runtime.Remoting class is used to store all relevant information required to generate a proxy in order to communicate with a remote object?
4. Which types are derived from System.Reflection.MemberInfo?
5. Which one is true about exceptions?
6. Parameterized Properties in C# are__________.
7. Which one is a primary characteristic of System.Xml.XmlDataDocument?
8. Which are true about statements?
9. Which are true about enums?
10. Which operations can NOT be performed inside a catch block?
11. Which one is an effect of marking resources in satellite assemblies?
12. Which are true about pointers?
13. Which one is not a valid value for DataRowState?
14. Which one can an interface NOT contain?
15. Which code sample will cause a compilation error?
16. Which one applies to interface inheritance?
17. Which one is NOT part of an assembly?
18. Which are true about operator precedence?
19. Which are defined as a 'token'?
20. Which one is NOT a valid C# preprocessor directive?
21. Which of the listed characteristics is found in the following code sample? [DllImport('msvcrt.dll')] public static extern int puts([MarshalAs(UnmanagedType.LPStr)] string m);
22. Which are true about namespaces and assemblies?
23. Which conditions are true regarding System.Diagnostics.Trace?
24. Which encodings are NOT supported by classes in the System.Text namespace?
25. Which are true about event handling?
26. Which one is false regarding arrays?
27. Which are true about using the System.Messaging.MessageQueue class?
28. Transactions initiated in which of the following are supported by System.Transactions infrastructure?
29. Which are true when comparing built in types for equality?
30. Which one is NOT a requirement for an application to be certified in the 'Certified for Windows Program'?
31. Which are true for parameters?
32. Which one is not a standard service behavior supported by the System.ServiceProcess.ServiceController class members?
33. Which characteristics are found in an iterator?
34. Which are valid as the underlying type for an enumeration?
35. Which are typical steps in creating a managed COM server component?
36. Which characteristic is found in The DateTime type?
37. Which one does NOT apply to XCOPY deployment?
38. The term Encapsulation is most commonly used to mean:
39. When developing a managed client to be used with an existing COM Component, __________.
40. If two assemblies contain the same fully qualified class, which of the following will be true?
41. Which one can Interface contain?
42. Which properties are found in Static Constructors?
43. Which one is not a valid attribute for impacting serialization?
44. Which one is not an application entry point?
45. Which one can one perform to create a System.Type instance for a given specialization of a generic?
46. What output will be generated by the following code? StringBuilder sb = new StringBuilder(10); sb.AppendFormat('1234567890123'); Console.WriteLine(sb.Capacity);
47. Which one will be executed without error? Public Class Fruit End Class Public Class Apple Inherits Fruit End Class
48. Given the following code, which calls will be valid ways to add the elements of a string array to a List(Of String)? Dim values() As String = {'1', '2', '3', '4'} Dim valueList As New List(Of String)
49. What is the value of b3 after the following code is executed? Dim b1 As Boolean? = True Dim b2 As Boolean? = Nothing Dim b3 As Boolean? = IIf(b1 AndAlso b2, b1, b2)
50. Which are valid means of reading all data from a file into a string?
51. Which method calls will compile the following? Private Sub Sample(ByVal number As Integer, Optional ByVal bool As Boolean = True) End Sub
52. Which mechanisms are not suitable for returning a single row from a DataTable containing a large number of records?
53. What does the OrElse operator do?
54. Which are true of the System.Text.StringBuilder class?
55. What does the AndAlso operator do?
56. Which characteristic is found in overloaded methods?
57. With which class is the task of mapping a specific point in time into units, such as weeks, months, and years accomplished?
58. Which can be used to preserve application state information?
59. Which required to be true by objects which are going to be used as keys in a System.Collections.HashTable?
60. Advantages of Lambda Expressions over Anonymous methods include?
61. Custom non-fatal exceptions should be derived from?
62. Which is true regarding System.Web.Mail and System.Net.Mail namespaces?
63. Which is true about C# generics?
64. Which access limitation is found in a class member declared protected internal?
65. In which type of applications can Windows Workflow Foundation be used?
66. While using the capabilities supplied by the System.Messaging classes, which is true?
67. Which operator can be overloaded?
68. Of which elements does Generics allow parameterization by type?
69. Which is not supported by remoting object types?
70. Which is true with respect to the standard implementation of Garbage Collection?
71. Which features that are not supported in the System.TimeZone class does the System.TimeZoneInfo class provide?
72. Which characteristic is present in the DateTime Type?
73. Which is characteristics of the System.Threading.Timer class?
74. The output generated by the following code will be: string t = 'This Is a Test'; t.Replace('T', '?'); Console.WriteLine(t);
75. When using the Demand method of System.Security.IPermissiaon, which will occur?
76. When using version 3.5 of the framework in applications which emit a dynamic code, which is true?
77. Which is static method of the System.Reflection Activator class?
78. Which code samples show a valid static constructaor?
79. Which does the System.IO.Pipes namespace provide?
80. Which statement do Expression Trees fit best?
81. Which is true about declarative attributes?
82. Which advantages does System.Collections.IDictionaryEnumerator provide over System.Collections.IEnumerator?
83. Within Windows Workflow Foundation, Compensating Actions are used for?
84. Which can System.IO.IsolatedStorage not be scoped?
85. Which regarding the System.DateTimeOffset structure are true?
86. For which scenarios does Reflection.Emit provide support?
87. Which is true about using ADO.NET DataSets and DataTables?
88. When Windows Communication Foundation is used to develop a Web Service, which are supported?
89. Given the code below, which item will cause a compilation error? static void F1(params int [] y) { } static void Sample() { int [] j = new Int32[3]; List k = new List(); // ANSWER GOES HERE }
90. Which scenarios are applicable to Window Workflow Foundation?
91. Which is statement apply to developing .NET code, using .NET utilities that are available with the SDK or Visual Studio?
92. Which is true about System.GC under version 3.5 of the Framework?
93. The framework provides three different timer classes. Select the answer that properly matches the class with the listed characteristic.
94. When using a DataReader to access the results of a Database operation, which is true?
95. Which is true about Nullable types?
96. Which is true regarding System.Threading.ReaderWriterLockSlim?
97. When Deleting a DataRow from the DataRowCollection of a DataTable, you can:
98. Which are true regarding the System.Collections.Generic.HashSet class?
99. Which is true about System.Security.Cryptography under version 3.5 of the framework
100. Determining the availability of sufficient memory for an operation can be accomplished by:
101. Which characteristics are found in a query expression?
102. The default number of threads per processor in the System.Threading.ThreadPool class under version 3.5 of the Framework is:
103. What impact will using implicitly typed local variables as in the following example have? var sample = 'Hello World';
104. class Sample { public Sample(int x) { } } In the above code, which of the following other class constructors can directly access the provided constructor?
105. Which is not an unboxing conversion?
106. To which of the following do automatic properties refer?
107. When using an implicitly typed array, which is most appropriate?
108. Which goals of Windows Communication Foundation?
109. Which item is recommended when using XML comments to generate documentation?
110. Which is true regarding event declaration in the code below? class Sample { event MyEventHandlerType MyEvent; }
111. Which does using Initializer Syntax with a collection as shown below require? CollectionClass numbers = new CollectionClass{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
112. To which contract is the SessionMode property to disallow, require, or permit applied when Windows Communication Foundation is used?
113. When using an automatic property, which of the following statements is true?
114. Which characteristics do classes in the System.Drawing namespace such as Brush, Font, Pen, and Icon Share?
115. Which is true regarding multiple versions of an assembly?
116. In which way do structs differ from class?
117. Which is true about Extension method?
118. Which statement is applicable to LINQ to SQL?
119. Which is true about anonymous types?
120. When Implementing System.EnterpriseServices.ServicedComponent derived classes, which statement is true?
121. Which is true when comparing ADO.NET with Microsoft DNA (Distributed interNet Applications)?
122. Which type guarantee atomic reads and writes?