____ is a subset of the CTS.
CLI 0.0%
cLS 66.0%
CLR 0.0%
None of these 33.0%
__________ assembly can be used to deploy language-specific resources for an application.
Shared 0.0%
Private 0.0%
Satellite 77.0%
Public 22.0%
__________ is used to generate the assembly from modules.
soapsuds.exe 0.0%
lldasm.exe 0.0%
al.exe 80.0%
PerfMon.exe 20.0%
SN.exe 0.0%
___________ class grants the permission to manipulate files located in the code assemblies, to code assemblies that match the membership condition.
FileCodeGroup 100.0%
FirstMatchCodeGroup 0.0%
CodeFileGroup 0.0%
CodeGroup 0.0%
___________ namespace is not defined in the base class library.
System 0.0%
System.CodeDom 50.0%
System.IO 0.0%
System.Threading 50.0%
System.Text 0.0%
____________ class defines the set of information that constitutes input to security policy decisions in System.Security.Policy namespace.
FileCodeGroup 0.0%
ApplicationTrust 0.0%
Evidence 100.0%
PolicyLevel 0.0%
PolicyStatement 0.0%
_____________ helped overcome the DLL conflict (faced by the versions prior to .NET).
Strong-named assemblies 0.0%
Version-aware code storage 0.0%
Components executing in isolation 0.0%
All of the above 100.0%
.Net assembly stores both data and IL code. A tool is available along with the .NET framework to view within the PE. Which of the following is that tool?
ildasm.exe 100.0%
disasm.exe 0.0%
deassmbler.exe 0.0%
deasm.exe 0.0%
.NET components are accessed from COM via a?
RCW 0.0%
CCA 0.0%
CWA 0.0%
CCW 100.0%
.NET provides a distributed process framework. Which of the following technologies are used for similar function?
Java Remote Method Invocation 0.0%
Microsoft Distributed Component Object Model 16.0%
Common Object Request Broker Architecture 16.0%
Remote Procedure Calls 66.0%
A hashtable is serialized by using:
XmlSerializer or SoapFormatter 16.0%
XmlSerializer 0.0%
SoapFormatter 83.0%
XmlSerializer and SoapFormatter 0.0%
A manifest includes the following data about the assembly
File list 46.0%
None 7.0%
Referenced assemblies 46.0%
MSIL information 0.0%
A standard Windows PE file is divided into a number of sections. Which of the following are not valid native image sections?
.textdata 45.0%
.data 0.0%
.rpdata 45.0%
.rsrc 9.0%
A user application-domain can be created:
Automatically 16.0%
By using a static method "CreateAppDomain" 0.0%
By using a static method "CreateDomain" 83.0%
By using a non static method "CreateAppDomain" 0.0%
An application can have any number of modules and files. Which of the following is used to link them together into a single assembly?
al.exe 100.0%
ac.exe 0.0%
bl.exe 0.0%
ad.exe 0.0%
Application domains are created by runtime host and the runtime host include:
Windows shell 33.0%
ASP.NET 33.0%
Internet Explorer (IE) 33.0%
None of the above 0.0%
Application domains are created by:
Windows shell 33.0%
ASP.Net 33.0%
IE 33.0%
None of the above 0.0%
Because .NET treats all languages as equal, a class written in C# should be equivalent to a class written in VB.NET, and an interface defined in Managed C++ should be exactly the same as one that i...
CLS 0.0%
CTS 16.0%
MSIL 0.0%
CLI 83.0%
C# has a keyword called int. Which .NET type does this map to?
System.Int16 0.0%
System.Int32 83.0%
System.Int64 16.0%
System.Int128 0.0%
Code Manager is a the part of:
CTS 0.0%
CLI 0.0%
CLS 0.0%
CLR 100.0%
Compilers of CLS compliant language generate:
MSIL code and Metadata 100.0%
MSIL code 0.0%
Metadata 0.0%
Machine code 0.0%
Consider the following two statements and choose the most appropriate option: Statement 1: Value types are allocated on a stack Statement 2: Reference types are allocated on a managed CLR Heap
Statement 1 is true and statement 2 is false 0.0%
Statement 2 is true and statement 1 is false 0.0%
Both statements 1 and 2 are true 100.0%
Both statements 1 and 2 are false 0.0%
Consider the method given below: void GC.Collect(Int32 Generation) Which of the following statements would be correct, if you pass 2 as argument (in the above method)?
GC will collect generation 2 0.0%
GC will collect generation 1 and 2 0.0%
GC will collect generation 0,1 and 2 100.0%
GC will collect generation 0 0.0%
Delay signing allows a shared assembly to be signed with:
Private key at the initial stage 0.0%
Private and Public key at the initial stage 0.0%
Private key at a later stage 100.0%
Public key at a later stage 0.0%
Dot Net Framework consists of :
Common language runtime 0.0%
Set of class libraries 0.0%
Common language runtime and set of class libraries 100.0%
Common language runtime, set of class Libraries, and ADO.NET 0.0%
For MSIL code to be executed in PE file, it is necessary to have:
Assembly manifest 100.0%
Modules 0.0%
Files 0.0%
Types 0.0%
How does CLR allow multiple applications to be run in a single process?
By running them in a special application domain 40.0%
By making sub process for each process 0.0%
By loading them in separate application domains 60.0%
None of the above 0.0%
How many application domains can exist inside a Win32 process?
1 0.0%
2 0.0%
Any number 100.0%
4 0.0%
How many bits does the int datatype use in .NET?
16 bits 0.0%
32 bits 100.0%
64 bits 0.0%
None of the above 0.0%
How many classes can a single .NET DLL contain?
10 0.0%
20 0.0%
Unlimited 100.0%
5 0.0%
How will you prevent concurrent access to your data?
By using System.Threading.ThreadStart 0.0%
By using System.Threading.Monitor.Enter/Exit methods 100.0%
By using System.Threading.Monitor.start/End methods 0.0%
By using System.Threading.ThreadEnter 0.0%
How will you use the thread pool?
By calling the ThreadPool.UserQueueWorkItem() method directly 0.0%
By passing an instance of WaitCallback delegate to the ThreadPool.QueueUserWorkItem() method 100.0%
By passing an instance of WaitCallback delegate to the ThreadPool.UserQueueWorkItem() method 0.0%
By passing an instance of StayCallback delegate to the ThreadPool.QueueUserWorkItem() method 0.0%
In .NET framework, Reflection is used to:
Create metadata of the modules/assemblies 0.0%
Get metadata of the modules/assemblies 100.0%
Reengineer the corrupted assemblies 0.0%
Destroy the corrupted assemblies 0.0%
In .NET framework, what are the options available for packaging?
CAB 0.0%
EXE 0.0%
MSI 0.0%
All of the above 100.0%
In which file can you define the "Process Model" attribute?
Web.config 0.0%
Machine.config 100.0%
In both files 0.0%
In neither file 0.0%
In.NET generics, the type parameter:
Needs to be constrained in container classes 0.0%
Needs to be constrained in all the classes 0.0%
Cannot be constrained in container classes 100.0%
Cannot be constrained in any class 0.0%
Lapsed listener problem:
Is caused in memory destruction 0.0%
Is due to leaks in .Net application 0.0%
Is caused due to wrong coding 100.0%
Is caused due to object being destroyed 0.0%
Microsoft .NET supports value types for performance reasons, but everything in .NET is ultimately an object. Value types are allocated on the stack by default, but they can always be converted into...
Conving 0.0%
Boxing 100.0%
TypeModification 0.0%
None of the above 0.0%
Since .NET assemblies contain IL code, your proprietary algorithms can be seen by anyone. Which of the following tools protects your intellectual properties?
Obfuscator 100.0%
Befprotector 0.0%
Obadministrator 0.0%
Befmanager 0.0%
The _________________ methods are primarily meant for COM Interoperability use.
System.AppDomain.ApplyPolicy 0.0%
System.AppDomain.CreateComInstanceFrom 100.0%
System.AppDomain.Load 0.0%
System.AppDomain.GetAssemblies 0.0%
The .NET framework comes with a few CLR hosts. Which of the following is a CLR host?
ASP.NET 0.0%
IE 0.0%
Shell Executables 0.0%
All of the above 100.0%
The code written to target common language runtime services is called :
Generated Code 0.0%
Managed Code 100.0%
Unmanaged Code 0.0%
CLR Code 0.0%
Service Code 0.0%
The global assembly cache:
Can store two dll files with the same name 0.0%
Can store two dll files with the same name, but different version 100.0%
Can store two dll files with the same name and same version 0.0%
Can not store dll files with the same name 0.0%
The IL to native code compilation is done by:
Code Manager 0.0%
CTS 0.0%
JIT 100.0%
CLS 0.0%
The primary building block of the .NET framework is
ado.NET 0.0%
assembly 100.0%
JIT 0.0%
manifest 0.0%
The Process of automatic memory management involves the following tasks:
Allocating memory 50.0%
Registering memory 0.0%
Implementing finalizers 50.0%
Using destroy 0.0%
The runtime is started automatically by ______________ when the .exe is run.
mscore.dll 0.0%
mscoree.dll 100.0%
mscor.dll 0.0%
mscoren.dll 0.0%
The XML web services of .NET framework are built on :
SOAP 0%
XML 0%
WSDL 0%
All of the above 0%
What are the core components of .NET framework data provider model?
DataAdapter and DataReader 0.0%
Connection and Command 0.0%
DataAdapter, Connection, and Command 0.0%
DataAdapter , DataReader, Connection, and Command 100.0%
What does Managed Data refer to?
The data stored by CLR 0.0%
The data allocated by CLR GC 0.0%
The data de-allocated by CLR GC 0.0%
The data allocated and de-allocated by CLR GC 100.0%
What happens when enough memory is not available to be allocated to an object?
MemoryFull exception is thrown 0.0%
Garbage collector is automatically run to free up memory 0.0%
OutOfMemory exception is thrown 100.0%
The .Net worker process is restarted 0.0%
What is the command "caspol -lg" used for?
To see the private assemblies 0.0%
To see the assemblies in GAC 0.0%
To see the code groups defined on your system 100.0%
To see the metadata information 0.0%
When are AssemblyHash values used?
They are used throughout the common language runtime to detect a change in assembly contents 100.0%
They are used in the Common type system for type safety 0.0%
They are used to change the metadata information in assemblies 0.0%
Where is the application domain created?
Outside a Process 0.0%
Inside a Process 100.0%
Can be created in both the places 0.0%
None of the above 0.0%
Where is the Shared assembly generally stored?
Application's directory 0.0%
Global assembly cache 75.0%
C drive 25.0%
None of the above 0.0%
Which base class do all web forms inherit from?
System.Web.UI.Page 100.0%
System.Web.UI.HtmlControls 0.0%
System.Web.UI.WebControls 0.0%
None of the above 0.0%
Which of the following are correct about delegates?
A delegate is an object that refers to a subroutine, function or other method 33.0%
A delegate variable acts as a pointer to a subroutine or function 33.0%
A delegate can not hold the address of a class's shared method 0.0%
Delegate variables are sometimes called type-safe function pointers 33.0%
Which of the following are included in a Static assembly?
Modules 28.0%
Type metadata 28.0%
MSIL code 28.0%
Assembly manifest 14.0%
Which of the following are public methods of System.Object?
GetHashCode() 0.0%
GetType() 0.0%
Equals() 0.0%
All of the above 100.0%
Which of the following are the main goals behind ADO .NET?
To provide seamless support for XML 33.0%
To support COM directly 0.0%
To provide an expandable and scalable data access architecture for the revolutionary n-tier programming model 33.0%
To extend the current capabilities of ADO 33.0%
Which of the following are used in combination to create the identity of an assembly?
Assembly name 0.0%
Version 0.0%
Culture 0.0%
Public key 0.0%
All of the above 100.0%
Which of the following can not be used with files?
FileClose 0.0%
FileInput 100.0%
LineInput 0.0%
LOF 0.0%
PrintLine 0.0%
Which of the following can you use to resolve assemblies, types, and resources?
System.AppDomain.CreateDomain 100.0%
System.AppDomainSetup.ApplicationBase 0.0%
System.AppDomainSetup.CreateComInstanceFrom 0.0%
System.AppDomain.ApplyPolicy 0.0%
which of the following class Serializes and deserializes an object, or an entire graph of connected objects?
XmlSerializer 0%
SoapFormatter 0%
None of the above 0%
Which of the following code is not 'managed' by default in .NET framework?
Visual Basic 0.0%
C# 0.0%
C++ 75.0%
Jscript 25.0%
Which of the following does not use metadata?
CLR 0.0%
CTS 100.0%
JIT compilers 0.0%
Class loader 0.0%
None of the above 0.0%
Which of the following files is used to implement application and session level events?
Global.asax 100.0%
Web.config 0.0%
Machine.config 0.0%
None of the above 0.0%
Which of the following functionalities does System.Diagnostics class provide?
Reflection 0.0%
Trace 100.0%
Manage code 0.0%
Remoting 0.0%
Which of the following helps Assemblies become self describing?:
JIT 0.0%
Manifest 100.0%
CTS 0.0%
Application Domain 0.0%
Which of the following helps expose COM components to the .NET framework?
RCW 0.0%
CCA 0.0%
CWA 0.0%
CCW 100.0%
Which of the following is a must for a private assembly?
Cryptographically strong name 0.0%
Unique name 100.0%
Cryptographically Light name 0.0%
Global assembly cache 0.0%
Which of the following is correct for CTS?
It establishes a framework that helps enable cross-language integration, type safety, and high performance code execution 0.0%
It provides an object-oriented model that supports the complete implementation of many programming languages 0.0%
It defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other 0.0%
All of the above 100.0%
Which of the following is correct for value and reference types in .NET?
Value types directly contain their data 50.0%
Reference types store a reference to the value's memory address 50.0%
Value types can be built-in but can't be user-defined 0.0%
All of the above 0.0%
Which of the following is incorrect about Structures?
Structures are value types 0.0%
A structure can provide a constructor 0.0%
Structures can implement inheritance 100.0%
Structures support events 0.0%
Which of the following is not a feature of .NET 2.0?
Partial classes 0.0%
Generics 0.0%
Multiple Inheritance 100.0%
Partial Methods 0.0%
Which of the following is not a member of the Exception class?
StackTraceID 100.0%
Message 0.0%
InnerException 0.0%
TargetSite 0.0%
Which of the following is not a valid inheritance_mode?
Overloads 0.0%
Overrides 0.0%
Overridable 0.0%
MustOverridable 100.0%
None of the above 0.0%
Which of the following is not correct about parameter arrays?
A subroutine can have any numbers of parameter arrays 0.0%
A parameter array must come last in the parameter list 0.0%
All parameter lists are declared as ByVal 100.0%
Parameter array values are implicitly optional 0.0%
Which of the following is not correct with regard to shared assembly?
Its version can be controlled by the author only 0.0%
It can be shared by many applications 0.0%
It must get registered with the machine registry 100.0%
It is installed in the global assembly cache 0.0%
Which of the following is used as a Serializer for the web services?
XmlSerializer 100.0%
SoapSerializer 0.0%
BinaryFormatter 0.0%
SoapFormatter 0.0%
Which of the following is used to do garbage collection?
gc.Collect 100.0%
gc.KeepAlive 0.0%
gc.SuppressFinalize 0.0%
Which of the following is used to notify all waiting threads of a change in the object's state?
The system.Threading.Monitor.ReferenceEquals method 0.0%
The system.Threading.Monitor.Enter method 0.0%
The system.Threading.Monitor.PulseAll method 100.0%
The system.Threading.Monitor.TryEnter method 0.0%
Which of the following is valid and is included in the type definition?
Any attribute that is defined in the type 0.0%
The name of the type 0.0%
The visibility of the type 0.0%
The base types of the type 0.0%
All of the above 100.0%
None of the above 0.0%
Which of the following manages the code during execution?
Coding Manager 0.0%
JIT 100.0%
COde Manager 0.0%
Coder Manager 0.0%
Which of the following methods are used to stop a thread?
Thread.Interrupt() 40.0%
Thread.Suspend() 0.0%
Thread.Sleep() 20.0%
Thread.Abort() 40.0%
Which of the following protocols can be used for .Net Remoting?
TCP 50.0%
HTTP 25.0%
SMTP 0.0%
All of the above 25.0%
Which of the following protocols can be used for ASP.Net Web Services?
TCP 0.0%
HTTP 100.0%
SMTP 0.0%
All of the above 0.0%
Which of the following run In-Process?
EXE file 50.0%
Resx file 0.0%
DLL file 50.0%
OCX file 0.0%
Which of the following services are provided by CLR?
Application memory isolation 0.0%
Code Management 0.0%
Verification of type safety 0.0%
Conversion of IL to native code 0.0%
All of the above 100.0%
Which of the following should you use to serialize instances of a class?
XMlSerializer 0.0%
It depends on the situtaion 66.0%
SoapFormatter 0.0%
BinaryFormatter 33.0%
Which of the following statements is correct with regard to .NET framework managed web pages?
They interact directly with the runtime 0.0%
They do not execute in the native code language 0.0%
They are interpreted and scripted 0.0%
All of the above 100.0%
Which of the following statements is correct with regard to Windows process memory allocation?
Each process (instance of an application) gets its own RAM and prevents the OS from crashing when the process crashes 100.0%
RAM is shared between the processes and saves OS crash with the process crash 0.0%
Each process gets its own RAM and causes OS to crash with the process crash 0.0%
RAM is shared between the processes and causes OS to crash with the process crash 0.0%
Which of the following statements is correct?
For in-process communication between contexts within a single application domain, Serialization is used as an interception mechanism. 0.0%
For in-process communication between contexts within a single application domain, Marshaling is used as an interception mechanism. 0.0%
For in-process communication between contexts within a single application domain, Proxies are used as an interception mechanism. 100.0%
All of the above 0.0%
Which of the following statements is correct. (a)A Try block must include Catch or Finally sections. (b)Using an empty Finally section is illegal.
Only (a) is true 100.0%
Only (b) is true 0.0%
Both (a) and (b) are false 0.0%
Both (a) and (b) are true 0.0%
Which of the following statements is not correct with regard to .NET assemblies?
Static assemblies can include classes, JPEG files, resource files etc. 0.0%
Static assemblies are stored on disk in PE files. 0.0%
The .NET Framework can create dynamic assemblies 0.0%
Dynamic assemblies are automatically saved to disk before execution 100.0%
Which of the following statements is true?
You can access managed data from managed code 50.0%
You can access managed data from managed and unmanaged code 0.0%
Managed code can access both managed and unmanaged data 50.0%
Managed code cannot access both managed and unmanaged data 0.0%
Which of the following tools assists Assembly Signing?
CASPol.exe 0.0%
PerfMon.exe 0.0%
SN.exe 100.0%
soapsuds.exe 0.0%
Which of the following tools can be used to configure assemblies located in the GAC?
Soapsuds.exe 0.0%
Lldasm.exe 0.0%
CASPol.exe 0.0%
Mscorcfg.msc 100.0%
SN.exe 0.0%
Which of the following tools can be used to get the metadata information about the assembly and view IL code?
soapsuds.exe 0.0%
lldasm.exe 100.0%
al.exe 0.0%
PerfMon.exe 0.0%
SN.exe 0.0%
Which of the following tools can be used to modify and grant permissions to code groups?
Soapsuds.exe 0.0%
Lldasm.exe 0.0%
CASPol.exe 100.0%
PerfMon.exe 0.0%
SN.exe 0.0%
Which of the options is being referred to in the following statement: "All incoming requests are processed by a single server object"
SingleCall 0.0%
Client-activated object 0.0%
Singleton 100.0%
None of these 0.0%
Which of these are runtime hosts in .Net Framework?
CLR 0.0%
IE 50.0%
IIS 0.0%
ASP.NET 50.0%
Which of these Assemblies is used for doing Localization?
Private 0.0%
Public 0.0%
Satellite 100.0%
Both Public and Private 0.0%
Which of these classes are used for loading an assembly into an application domain?
System.Configuration.Assemblies 0.0%
system.componentModel 0.0%
System.Resources 0.0%
System.AppDomain 100.0%
Which of these files is used for debugging an application?
demo.dll 0.0%
demo.pdb 0.0%
demo.res 0.0%
Any of these can be used 100.0%
Which of these is used to allow managed code to interoperate with unmanaged code?
COM 0.0%
COM Marshaler 100.0%
XML 0.0%
SOAP 0.0%
Which Portable Executable (PE) file does not contain the assembly manifest?
Executable 0.0%
DLL 0.0%
Module 100.0%
ALL 0.0%
Which tool can you use to register managed types with the Windows registry?
SN.exe 0.0%
Regasm.exe 100.0%
lldasm.exe 0.0%
none 0.0%
Which transport protocol is generally used to call an ASP.NET Web Service?
SOAP 0%
REST 0%
WSCL 0%
ALL 0%
Which transport protocol is used to call a Web Service?
SOAP 0.0%
HTTP 100.0%
SMTP 0.0%
ALL 0.0%
Which type of parameter is passed in subroutines by default?
Why doesn't .Net runtime offer deterministic destruction?
Due to CTS 0.0%
Due to Finalize class 0.0%
Due to garbage collection algorithm 50.0%
Due to the JIT 50.0%
Xcopy method is not sufficient for deployment:
When application relies on shared assemblies 100.0%
When application is downloaded on demand 0.0%
When the number of assemblies is too large 0.0%
None of the above 0.0%
You assigned the version number - 5.3.1.0 to your assembly. The four digits stand for:
Revision, Built, Major Version, and Minor version 0.0%
Revision, Built, Minor Version, and Major version 0.0%
Built, Major version, Minor Version, and Revision 0.0%
Major version, Minor Version, Built, and Revision 100.0%
You can create the remote application domain using:
AppDomain.BuldDomain 0.0%
AppDomain.MakeDomain 0.0%
AppDomain.CreateDomain 100.0%
AppDomain.GenerateDomain 0.0%