.NET Quiz Results

Here are the results of the quiz. Correctly answered questions are in green. Incorrectly answered questions are in red.

Questions Correct: 9 Grade: 45.00 %
Total Questions: 20

 

1. What is the full version number of .NET RTM?
Your answer: A.  1.0.3700
Correct answer: B.  1.0.3705

2. What is the default value for the Char type?

Your answer: B.  ''
Correct answer: C.  '\0'

3. Which type of class can you develop to alter SOAP messages sent to and from an XML Web service and client?

Your answer: D.  SOAP Extensions
Correct answer: D.  SOAP Extensions

4. Which of the following is a value type, and not a reference type?

Your answer: C.  enum
Correct answer: C.  enum

5. To modify a SOAP message in a SOAP extension, what method must your override?

Your answer: C.  ProcessMessage
Correct answer: A.  ChainStream

6. Pick the command line that would result in the C# compiler generating an XML documentation file:

Your answer: C.  csc /doc /out:HelloWorld.xml HelloWorld.cs
Correct answer: A.  csc /doc:HelloWorld.xml HelloWorld.cs

7. In C#, what character is used to indicate a verbatim string literal?

Your answer: A.  @
Correct answer: A.  @

8. Which of the following operators has the highest precedence?

Your answer: B.  Shift bits left: <<
Correct answer: D.  Post Increment (x++)

9. C# was developed by a small team led by which two Microsoft distinguished engineers?

Your answer: A.  Anders Hejlsberg and Scott Wiltamuth
Correct answer: A.  Anders Hejlsberg and Scott Wiltamuth

10. Which of the following is not a method of System.Object?

Your answer: A.  GetType
Correct answer: D.  Clone

11. Which of the following languages is NOT included in the default .NET Framework installation?

Your answer: C.  JScript.NET
Correct answer: D.  VBScript.NET

12. Which of the following is not a valid value in the SoapMessageStage enumeration?

Your answer: D.  EndSerialize
Correct answer: D.  EndSerialize

13. All types derive from a single base type called:

Your answer: D.  System.Type
Correct answer: B.  System.Object

14. Which interface allows a collection to be navigated using the foreach statement?

Your answer: C.  IEnumerator
Correct answer: D.  IEnumerable

15. Which of the following is the correct way to disable session state in an ASP.NET page?

Your answer: C.  <%@ Page DisableSessionState="true" %>
Correct answer: D.  <%@ Page EnableSessionState="false" %>

16. In C#, which of the following is not a valid C# jump statement?

Your answer: A.  jump
Correct answer: A.  jump

17. What does the acronym CLS stand for?

Your answer: B.  Common Language Specification
Correct answer: B.  Common Language Specification

18. When an integral literal is valid for several possible integral types, the default type chosen goes in which order?

Your answer: D.  int, uint, long, ulong
Correct answer: D.  int, uint, long, ulong

19. Which C# statement is actually a shortcut for calling the Enter and Exit methods of the Monitor class?

Your answer: B.  lock
Correct answer: B.  lock

20. What is the exception that is thrown when there is an attempt to dynamically access a method that does not exist?

Your answer: D.  MethodAccessException
Correct answer: A.  MissingMethodException

posted @ 2007-12-04 16:54  许晓光  阅读(334)  评论(2)    收藏  举报