"); 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]="When placing items in the Page_Load method, what variables allows you to have items only execute the first load of the page?" ; strSolutionA[0]="System.Page.IsPostBack" ; strSolutionB[0]="Page.IsPostBack" ; strSolutionC[0]="System.Page.IsRefresh" ; strSolutionD[0]="Page.IsRefresh" ; strAnswers[0]="b"; strQuestions[1]="Where is the Global Assembly Cache (GAC) typically located on a machine?" ; strSolutionA[1]="C:\Windows\assembly" ; strSolutionB[1]="C:\Windows\gac" ; strSolutionC[1]="C:\gac" ; strSolutionD[1]="C:\.NET\assembly" ; strAnswers[1]="a"; strQuestions[2]="Why do we need Namespaces?" ; strSolutionA[2]="To write secure code" ; strSolutionB[2]="To avoid naming collisions" ; strSolutionC[2]="To combine old Microsoft Code with .Net" ; strSolutionD[2]="To save files to a remote computer" ; strAnswers[2]="b"; strQuestions[3]="What namespace is the most important that almost every program in .NET will use?" ; strSolutionA[3]="System" ; strSolutionB[3]="Page" ; strSolutionC[3]="XML" ; strSolutionD[3]="SqlClient" ; strAnswers[3]="a"; strQuestions[4]="How would you override the ToString function when creating a new Class in VB.Net?" ; strSolutionA[4]="Public Overrides Function String ToString()" ; strSolutionB[4]="Public Overrides Function ToString() As String" ; strSolutionC[4]="Public Function ToString() As String" ; strSolutionD[4]="public override string ToString()" ; strAnswers[4]="b"; strQuestions[5]="When a C# Class Library project is created, what is the name of the extra file that .NET creates containing general info about the assembly?" ; strSolutionA[5]="Assembly.cs" ; strSolutionB[5]="GenInfo.cs" ; strSolutionC[5]="AssemblyInfo.cs" ; strSolutionD[5]="http://www.geocities.com/neonprimetime.geo/tech/WebForm.asx" ; strAnswers[5]="c"; strQuestions[6]="The CLR uses which format for assembly version numbers?" ; strSolutionA[6]="Build:Revision:Major:Minor" ; strSolutionB[6]="Major:Minor:Revision:Build" ; strSolutionC[6]="Minor:Major:Build:Revision" ; strSolutionD[6]="Major:Minor:Build:Revision" ; strAnswers[6]="d"; strQuestions[7]="Which of the following groups contains ALL real Base Class Libraries (BCL)?" ; strSolutionA[7]="System.Collections, System.Threading, System.Reflection, System.IO" ; strSolutionB[7]="System.CodeDOM, System.Security, System.ASP, System.Threading" ; strSolutionC[7]="System.Reflection, System.Security, System.Debugging, System. Collections" ; strSolutionD[7]="System.Collections, System.Reflection, System.InternetConnections, System.CodeDOM" ; strAnswers[7]="a"; strQuestions[8]="What are the steps of a request for an ASP.NET webpage for the first time?" ; strSolutionA[8]="Request page, compile page into C# file, run the C# file to get a response" ; strSolutionB[8]="Request page, compile page into EXE, execute to get response" ; strSolutionC[8]="Request page, interpret page producing the response" ; strSolutionD[8]="Request page, compile page into DLL, instantiate DLL to get response" ; strAnswers[8]="d"; strQuestions[9]="Which is true?" ; strSolutionA[9]="ASP.NET and ASP cannot run side-by-side on the same machine" ; strSolutionB[9]="Assemblies are also known as DLLs" ; strSolutionC[9]="In C#, release important resources in the Descructor only" ; strSolutionD[9]="The .NET IL is language dependent" ; strAnswers[9]="b"; }
                   

Microsoft .NET Quiz


Quiz 1

.NET Basics

Created by neonprimetime

Please select the answer.

 

Go Home

Hosted by www.Geocities.ws

1