"); document.write("
"); document.write("Quiz results : " + "\n"); document.write("
\n"); document.write("You scored "+finalscore+" out of "+Total +""); if(output != "") document.write("

The ones you got wrong were ...
" + output) ; document.write("



Go Home!

\n"); document.write("
Hosted by www.Geocities.ws

\n"); } function checkAnswers() { doReview(Total,strAnswers); } function initQuestions(){ Total=10; strQuestions[0]="What are a set of classes that provide useful functionality to CLR (Common Language Runtime) programmers?" ; strSolutionA[0]="GAC (Global Assembly Cache)" ; strSolutionB[0]="BCL (Base Class Library)" ; strSolutionC[0]="Cookies Folder" ; strSolutionD[0]="XML Class" ; strAnswers[0]="b"; strQuestions[1]="What kind of process can turn IL (Intermediate Language) code into executable code?" ; strSolutionA[1]="Interpretation" ; strSolutionB[1]="Linking" ; strSolutionC[1]="JIT (Just in Time) Compilation" ; strSolutionD[1]="Execution" ; strAnswers[1]="c"; strQuestions[2]="What are the 4 components of the .NET platform?" ; strSolutionA[2]="Foundation Services, .NET Framework, Java Virtual Machine, Enterprise Servers" ; strSolutionB[2]="Foundation Services, .NET Framework, Development Tools, Execution Tools" ; strSolutionC[2]="Foundation Services, .NET Framework, Enterprise Servers, Development Tools" ; strSolutionD[2]=".NET Framework, Enterprise Servers, Development Tools, Execution Tools" ; strAnswers[2]="c"; strQuestions[3]="Which of these is a proper description of SOAP (Simple Object Access Protocol)" ; strSolutionA[3]="XML-based file transfer protocol, allows you to send Office documents over the internet" ; strSolutionB[3]="XML-based messaging protocol, encodes info of Web service requests and responses" ; strSolutionC[3]="XML-based messaging protocol, allows computers to share Base Class Libraries (BCL)" ; strSolutionD[3]="Performs encryption on passwords for Windows XP login screens" ; strAnswers[3]="b"; strQuestions[4]="What is the default version of an assembly?" ; strSolutionA[4]="1:0:0:0" ; strSolutionB[4]="1:0:1:0" ; strSolutionC[4]="1:0:0:1" ; strSolutionD[4]="0:0:0:1" ; strAnswers[4]="a"; strQuestions[5]="How can you get the C# compiler to produce XML documents?" ; strSolutionA[5]="csc /xml:Test.xml Test.cs" ; strSolutionB[5]="csc /doc-xml:Test.xml Test.cs" ; strSolutionC[5]="csc -xml Test.xml Test.cs" ; strSolutionD[5]="csc /doc:Test.xml Test.cs" ; strAnswers[5]="d"; strQuestions[6]="Which of the following is NOT a method of System.Object?" ; strSolutionA[6]="Equals" ; strSolutionB[6]="GetType" ; strSolutionC[6]="ToString" ; strSolutionD[6]="Clone" ; strAnswers[6]="d"; strQuestions[7]="How would you override the ToString function when creating a new Class in C#?" ; strSolutionA[7]="public string ToString()" ; strSolutionB[7]="public override string ToString()" ; strSolutionC[7]="public ToString() As String" ; strSolutionD[7]="public override function ToString() As String" ; strAnswers[7]="b"; strQuestions[8]="What is the syntax to make comments for XML-based documentation in a C# program? " ; strSolutionA[8]="//" ; strSolutionB[8]="///" ; strSolutionC[8]="/* */" ; strSolutionD[8]="<-- -->" ; strAnswers[8]="b"; strQuestions[9]="What is the exception that is thrown when there is an attempt to dynamically access a method that does not exist?" ; strSolutionA[9]="System.NoMethodException" ; strSolutionB[9]="System.MethodNotFoundException" ; strSolutionC[9]="System.MissingMethodException" ; strSolutionD[9]="System.MethodDoesNotExistException" ; strAnswers[9]="c"; }
                   

Microsoft .NET Quiz


Quiz 3

.NET Basics

Created by neonprimetime

Please select the answer.

 

Go Home

Hosted by www.Geocities.ws

1